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

Issue 2751523004: Move EarlGrey helper to check toolbar visibility into ChromeEarlGreyUI. (Closed)

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

Description

Move EarlGrey helper to check toolbar visibility into ChromeEarlGreyUI. Delete chrome_util.h/mm, since it was a temporary location for utility methods. Change the method from one that waits and asserts to one that waits and returns YES on success, and NO on failure. BUG=660491 Review-Url: https://codereview.chromium.org/2751523004 Cr-Commit-Position: refs/heads/master@{#456929} Committed: https://chromium.googlesource.com/chromium/src/+/a1a5ce8907afdad37a43b5fafc266be318aa491a

Patch Set 1 #

Patch Set 2 : remove chrome_util.* #

Total comments: 3

Patch Set 3 : return void #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -108 lines) Patch
M ios/chrome/browser/context_menu/context_menu_egtest.mm View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/fullscreen_egtest.mm View 1 2 13 chunks +25 lines, -25 lines 0 comments Download
M ios/chrome/browser/web/progress_indicator_egtest.mm View 1 2 3 chunks +3 lines, -5 lines 0 comments Download
M ios/chrome/test/earl_grey/BUILD.gn View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ios/chrome/test/earl_grey/chrome_earl_grey_ui.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M ios/chrome/test/earl_grey/chrome_earl_grey_ui.mm View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
D ios/chrome/test/earl_grey/chrome_util.h View 1 1 chunk +0 lines, -18 lines 0 comments Download
D ios/chrome/test/earl_grey/chrome_util.mm View 1 1 chunk +0 lines, -56 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
baxley
review suggestion - look at the changes to chrome_earl_grey_ui.mm first. Thanks! https://codereview.chromium.org/2751523004/diff/20001/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h File ios/chrome/test/earl_grey/chrome_earl_grey_ui.h (right): ...
3 years, 9 months ago (2017-03-14 22:22:04 UTC) #2
Eugene But (OOO till 7-30)
lgtm but we should make sure that all WaitFor methods are consistent and either return ...
3 years, 9 months ago (2017-03-14 22:37:47 UTC) #3
baxley
Opted to return void and assert. This will prevent users from forgetting to assert in ...
3 years, 9 months ago (2017-03-14 23:16:33 UTC) #4
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/2751523004/40001
3 years, 9 months ago (2017-03-14 23:18:06 UTC) #7
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 01:01:15 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/a1a5ce8907afdad37a43b5fafc26...

Powered by Google App Engine
This is Rietveld 408576698