Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Issue 621153002: A Sign in to GAIA test utility. (Closed)

Created:
6 years, 2 months ago by shadi
Modified:
6 years, 1 month ago
CC:
chromium-reviews, tim+watch_chromium.org, pvalenzuela+watch_chromium.org, haitaol+watch_chromium.org, zea+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

A Sign in to GAIA test utility. The purpose of this CL is to provide a test utility that signs in a GAIA user using recommended sign in process. Signing in opens chrome://chrome-signin URL and populates the user name and password via JS injections and blocks until a success or failed signing notification occurs. BUG=431366 Committed: https://crrev.com/1a4f9fb332adbb177a02b50676f7db9637389406 Cr-Commit-Position: refs/heads/master@{#305085}

Patch Set 1 : Sign in with chrome://chrome-signin #

Total comments: 20

Patch Set 2 : fixing comments #

Total comments: 10

Patch Set 3 : Abstract common JS code for signin in tests #

Total comments: 6

Patch Set 4 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -38 lines) Patch
M chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc View 1 2 3 7 chunks +8 lines, -38 lines 0 comments Download
A chrome/browser/ui/webui/signin/login_ui_test_utils.h View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/signin/login_ui_test_utils.cc View 1 2 3 1 chunk +146 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
shadi
PTAL
6 years, 1 month ago (2014-11-07 18:23:20 UTC) #6
pval...(no longer on Chromium)
https://codereview.chromium.org/621153002/diff/60001/chrome/browser/sync/test/integration/signin_test_utils.cc File chrome/browser/sync/test/integration/signin_test_utils.cc (right): https://codereview.chromium.org/621153002/diff/60001/chrome/browser/sync/test/integration/signin_test_utils.cc#newcode20 chrome/browser/sync/test/integration/signin_test_utils.cc:20: class SignInWaiter : public SigninManagerBase::Observer { I believe this ...
6 years, 1 month ago (2014-11-07 23:54:14 UTC) #7
Nicolas Zea
Some quick comments. That said, it's a bit odd that we're landing this without any ...
6 years, 1 month ago (2014-11-07 23:55:49 UTC) #8
shadi
Thanks for quick review. It is hard to test this sign in without testing against ...
6 years, 1 month ago (2014-11-08 01:37:57 UTC) #9
Roger Tawa OOO till Jul 10th
Looking good Shadi. A few comments below. https://codereview.chromium.org/621153002/diff/80001/chrome/browser/sync/test/integration/signin_helper.cc File chrome/browser/sync/test/integration/signin_helper.cc (right): https://codereview.chromium.org/621153002/diff/80001/chrome/browser/sync/test/integration/signin_helper.cc#newcode25 chrome/browser/sync/test/integration/signin_helper.cc:25: class SignInWaiter ...
6 years, 1 month ago (2014-11-10 16:33:49 UTC) #10
shadi
PTAL. I put the JS code to sign in into GAIA iframe in common utils ...
6 years, 1 month ago (2014-11-11 22:08:18 UTC) #11
Roger Tawa OOO till Jul 10th
lgtm with some comments below. https://codereview.chromium.org/621153002/diff/100001/chrome/browser/ui/webui/signin/login_ui_test_utils.cc File chrome/browser/ui/webui/signin/login_ui_test_utils.cc (right): https://codereview.chromium.org/621153002/diff/100001/chrome/browser/ui/webui/signin/login_ui_test_utils.cc#newcode110 chrome/browser/ui/webui/signin/login_ui_test_utils.cc:110: const std::string& password) { ...
6 years, 1 month ago (2014-11-13 15:12:59 UTC) #12
pval...(no longer on Chromium)
I like the extra effort to extract the signin logic to a common location. LGTM ...
6 years, 1 month ago (2014-11-13 21:17:02 UTC) #13
shadi
Thanks for reviews. https://codereview.chromium.org/621153002/diff/100001/chrome/browser/ui/webui/signin/login_ui_test_utils.cc File chrome/browser/ui/webui/signin/login_ui_test_utils.cc (right): https://codereview.chromium.org/621153002/diff/100001/chrome/browser/ui/webui/signin/login_ui_test_utils.cc#newcode110 chrome/browser/ui/webui/signin/login_ui_test_utils.cc:110: const std::string& password) { On 2014/11/13 ...
6 years, 1 month ago (2014-11-14 00:17:37 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/621153002/120001
6 years, 1 month ago (2014-11-20 20:36:29 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:120001)
6 years, 1 month ago (2014-11-20 22:13:45 UTC) #18
commit-bot: I haz the power
6 years, 1 month ago (2014-11-20 22:14:28 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1a4f9fb332adbb177a02b50676f7db9637389406
Cr-Commit-Position: refs/heads/master@{#305085}

Powered by Google App Engine
This is Rietveld 408576698