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

Issue 10152004: Add tests for one-click sign in infobar. (Closed)

Created:
8 years, 8 months ago by dyu1
Modified:
8 years, 8 months ago
CC:
chromium-reviews, dennis_jeffrey, anantha
Visibility:
Public.

Description

Add tests for one-click sign in infobar. Triaged the bugs for one-click sign in and automated what was available. Current set of automated tests do not include scenarios where sync is accepted as there may be a UI change down the road related to those tests. -testDisplayOneClickInfobar -testNoOneClickInfobarAfterCancel -testDisplayOneClickInfobarAfterDismiss -testDisplayOneClickInfobarPerProfile -testNoSameIDSigninForTwoProfiles -testNoOneClickInfobarWhenCookiesBlocked -testOneClickInfobarShownWhenWinLoseFocus TESTS=none BUG=124326 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=133718

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 42

Patch Set 3 : #

Total comments: 19

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 26

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -0 lines) Patch
M chrome/test/functional/infobars.py View 1 2 3 4 5 1 chunk +175 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
dyu1
@rogerta: Please check test coverage and suggest additional tests if needed. I didn't write any ...
8 years, 8 months ago (2012-04-19 23:27:24 UTC) #1
Nirnimesh
What do these tests have to do with sync? (since you've put it in sync.py ...
8 years, 8 months ago (2012-04-20 00:43:13 UTC) #2
dyu1
Well, one-click sign in infobar is a sync feature. If you want it under infobars.py ...
8 years, 8 months ago (2012-04-20 00:45:39 UTC) #3
Nirnimesh
On 2012/04/20 00:45:39, dyu1 wrote: > Well, one-click sign in infobar is a sync feature. ...
8 years, 8 months ago (2012-04-20 00:47:31 UTC) #4
dyu1
I disabled one test since the fix was just checked in today. http://codereview.chromium.org/10152004/diff/1/chrome/test/functional/sync.py File chrome/test/functional/sync.py ...
8 years, 8 months ago (2012-04-20 01:44:14 UTC) #5
Roger Tawa OOO till Jul 10th
lgtm These are awesome tests David! Thanks for writing them. The one case missing is ...
8 years, 8 months ago (2012-04-20 13:35:54 UTC) #6
dennis_jeffrey
http://codereview.chromium.org/10152004/diff/5005/chrome/test/functional/PYAUTO_TESTS File chrome/test/functional/PYAUTO_TESTS (right): http://codereview.chromium.org/10152004/diff/5005/chrome/test/functional/PYAUTO_TESTS#newcode101 chrome/test/functional/PYAUTO_TESTS:101: '-infobars.OneClickInfobarTest.testNoSameIDSigninForTwoProfiles', It looks like this issue was marked as ...
8 years, 8 months ago (2012-04-20 17:35:04 UTC) #7
Nirnimesh
Great tests! http://codereview.chromium.org/10152004/diff/5005/chrome/test/functional/infobars.py File chrome/test/functional/infobars.py (right): http://codereview.chromium.org/10152004/diff/5005/chrome/test/functional/infobars.py#newcode206 chrome/test/functional/infobars.py:206: test_utils.ClearPasswords(self) Each test begins with a clean ...
8 years, 8 months ago (2012-04-20 18:12:04 UTC) #8
dyu1
addressed all the comments and added a test to verify one-click infobar does not appear ...
8 years, 8 months ago (2012-04-23 21:46:10 UTC) #9
dennis_jeffrey
http://codereview.chromium.org/10152004/diff/14001/chrome/test/functional/infobars.py File chrome/test/functional/infobars.py (right): http://codereview.chromium.org/10152004/diff/14001/chrome/test/functional/infobars.py#newcode248 chrome/test/functional/infobars.py:248: self.testDisplayOneClickInfobar need parens? Also, this is not a big ...
8 years, 8 months ago (2012-04-23 21:59:51 UTC) #10
Nirnimesh
http://codereview.chromium.org/10152004/diff/14001/chrome/test/functional/infobars.py File chrome/test/functional/infobars.py (right): http://codereview.chromium.org/10152004/diff/14001/chrome/test/functional/infobars.py#newcode212 chrome/test/functional/infobars.py:212: self.WaitUntil( Suggestion: Craig recently (actually, 2 hours ago - ...
8 years, 8 months ago (2012-04-23 22:07:45 UTC) #11
dyu1
http://codereview.chromium.org/10152004/diff/14001/chrome/test/functional/infobars.py File chrome/test/functional/infobars.py (right): http://codereview.chromium.org/10152004/diff/14001/chrome/test/functional/infobars.py#newcode212 chrome/test/functional/infobars.py:212: self.WaitUntil( On 2012/04/23 22:07:45, Nirnimesh wrote: > Suggestion: > ...
8 years, 8 months ago (2012-04-23 22:53:09 UTC) #12
dennis_jeffrey
LGTM with 1 nit. http://codereview.chromium.org/10152004/diff/14001/chrome/test/functional/infobars.py File chrome/test/functional/infobars.py (right): http://codereview.chromium.org/10152004/diff/14001/chrome/test/functional/infobars.py#newcode248 chrome/test/functional/infobars.py:248: self.testDisplayOneClickInfobar On 2012/04/23 22:53:09, dyu1 ...
8 years, 8 months ago (2012-04-23 23:19:32 UTC) #13
dyu1
I created a private function for _DisplayOneClickInfobar() instead of calling testDisplayOneClickInfobar(). http://codereview.chromium.org/10152004/diff/14003/chrome/test/functional/infobars.py File chrome/test/functional/infobars.py (right): ...
8 years, 8 months ago (2012-04-24 00:09:00 UTC) #14
Nirnimesh
http://codereview.chromium.org/10152004/diff/23001/chrome/test/functional/infobars.py File chrome/test/functional/infobars.py (right): http://codereview.chromium.org/10152004/diff/23001/chrome/test/functional/infobars.py#newcode211 chrome/test/functional/infobars.py:211: # Wait until page completes loading. Remove redundant comment ...
8 years, 8 months ago (2012-04-24 00:32:13 UTC) #15
dyu1
http://codereview.chromium.org/10152004/diff/23001/chrome/test/functional/infobars.py File chrome/test/functional/infobars.py (right): http://codereview.chromium.org/10152004/diff/23001/chrome/test/functional/infobars.py#newcode211 chrome/test/functional/infobars.py:211: # Wait until page completes loading. On 2012/04/24 00:32:14, ...
8 years, 8 months ago (2012-04-24 03:06:15 UTC) #16
Nirnimesh
8 years, 8 months ago (2012-04-24 07:36:49 UTC) #17
LGTM

Powered by Google App Engine
This is Rietveld 408576698