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

Issue 2906313004: Making the gradient click-through in ChromeSigninViewController (Closed)

Created:
3 years, 6 months ago by jlebel
Modified:
3 years, 6 months ago
Reviewers:
baxley, sdefresne, msarda
CC:
chromium-reviews, marq+watch_chromium.org, ios-reviews+chrome_chromium.org, noyau+watch_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Making the gradient click-through in ChromeSigninViewController "Settings" button is partially below the gradient while using small screen like iPhone SE. This is probably the reason why testSignInOpenSettings and testSignInAndTapSettingsLink can be flaky. Also, updating those 2 tests to make it more robust to animation by adding calls to WaitForMatcher(), to wait for "Settings" to be displayed. BUG=718023 Review-Url: https://codereview.chromium.org/2906313004 Cr-Commit-Position: refs/heads/master@{#476691} Committed: https://chromium.googlesource.com/chromium/src/+/b87d80f6485276511b3c543e90cde926eed2838d

Patch Set 1 #

Total comments: 5

Patch Set 2 : Adding WaitForMatcher() #

Total comments: 2

Patch Set 3 : Adding FLAKY prefix #

Total comments: 12

Patch Set 4 : Cleanup #

Patch Set 5 : Fixing the test for iPhone SE #

Patch Set 6 : Enabling the tests #

Patch Set 7 : Fixing dependencies ( Merge) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -5 lines) Patch
M ios/chrome/browser/ui/authentication/chrome_signin_view_controller.mm View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm View 1 2 3 4 5 2 chunks +5 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/first_run/BUILD.gn View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/first_run/first_run_egtest.mm View 1 2 3 4 5 5 chunks +17 lines, -2 lines 0 comments Download

Messages

Total messages: 46 (26 generated)
jlebel
Helo Sylvain, Can you review this patch? Thanks,
3 years, 6 months ago (2017-05-31 14:49:35 UTC) #9
sdefresne
I'm not a fan of delay in tests. Adding Mike so that he can comment ...
3 years, 6 months ago (2017-05-31 14:53:01 UTC) #11
jlebel
On 2017/05/31 14:53:01, sdefresne wrote: > I'm not a fan of delay in tests. Adding ...
3 years, 6 months ago (2017-05-31 14:56:52 UTC) #12
sdefresne
On 2017/05/31 14:56:52, jlebel wrote: > On 2017/05/31 14:53:01, sdefresne wrote: > > I'm not ...
3 years, 6 months ago (2017-05-31 15:00:53 UTC) #13
baxley
I agree with Sylvain's concern with a delay. We can typically avoid it by waiting ...
3 years, 6 months ago (2017-05-31 15:51:29 UTC) #14
jlebel
Thanks for your input https://codereview.chromium.org/2906313004/diff/20001/ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm File ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm (right): https://codereview.chromium.org/2906313004/diff/20001/ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm#newcode374 ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm:374: base::test::ios::SpinRunLoopWithMaxDelay(base::TimeDelta::FromSecondsD(0.5)); On 2017/05/31 15:51:29, baxley ...
3 years, 6 months ago (2017-05-31 16:16:40 UTC) #15
baxley
https://codereview.chromium.org/2906313004/diff/20001/ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm File ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm (right): https://codereview.chromium.org/2906313004/diff/20001/ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm#newcode374 ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm:374: base::test::ios::SpinRunLoopWithMaxDelay(base::TimeDelta::FromSecondsD(0.5)); On 2017/05/31 16:16:40, jlebel wrote: > On 2017/05/31 ...
3 years, 6 months ago (2017-05-31 16:29:39 UTC) #16
jlebel
https://codereview.chromium.org/2906313004/diff/20001/ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm File ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm (right): https://codereview.chromium.org/2906313004/diff/20001/ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm#newcode374 ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm:374: base::test::ios::SpinRunLoopWithMaxDelay(base::TimeDelta::FromSecondsD(0.5)); On 2017/05/31 16:29:39, baxley wrote: > On 2017/05/31 ...
3 years, 6 months ago (2017-06-01 15:01:45 UTC) #17
baxley
https://codereview.chromium.org/2906313004/diff/40001/ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm File ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm (left): https://codereview.chromium.org/2906313004/diff/40001/ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm#oldcode366 ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm:366: - (void)DISABLED_testSignInOpenSettings { If you prefix it with FLAKY_ ...
3 years, 6 months ago (2017-06-01 15:36:21 UTC) #18
jlebel
3 years, 6 months ago (2017-06-01 15:43:05 UTC) #19
baxley
Thanks for your patience. A few more questions. https://codereview.chromium.org/2906313004/diff/60001/ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm File ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm (left): https://codereview.chromium.org/2906313004/diff/60001/ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm#oldcode364 ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm:364: // ...
3 years, 6 months ago (2017-06-01 17:16:25 UTC) #20
jlebel
Thanks for your help https://codereview.chromium.org/2906313004/diff/40001/ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm File ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm (left): https://codereview.chromium.org/2906313004/diff/40001/ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm#oldcode366 ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm:366: - (void)DISABLED_testSignInOpenSettings { On 2017/06/01 ...
3 years, 6 months ago (2017-06-02 09:28:26 UTC) #22
jlebel
Hello Mihai, Can you review this patch about fixing the flaky tests? Thanks,
3 years, 6 months ago (2017-06-02 11:19:47 UTC) #25
jlebel
Hello Mihai, Can you review this patch about fixing the flaky tests? Thanks,
3 years, 6 months ago (2017-06-02 11:19:52 UTC) #26
msarda
lgtm
3 years, 6 months ago (2017-06-02 12:04:54 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2906313004/140001
3 years, 6 months ago (2017-06-02 12:05:18 UTC) #29
baxley
lgtm
3 years, 6 months ago (2017-06-02 14:18:02 UTC) #38
sdefresne
lgtm
3 years, 6 months ago (2017-06-02 14:20:18 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2906313004/180001
3 years, 6 months ago (2017-06-02 15:41:03 UTC) #43
commit-bot: I haz the power
3 years, 6 months ago (2017-06-02 16:41:00 UTC) #46
Message was sent while issue was closed.
Committed patchset #7 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/b87d80f6485276511b3c543e90cd...

Powered by Google App Engine
This is Rietveld 408576698