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

Unified Diff: ios/chrome/test/earl_grey/chrome_earl_grey_ui.h

Issue 2751523004: Move EarlGrey helper to check toolbar visibility into ChromeEarlGreyUI. (Closed)
Patch Set: remove chrome_util.* Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/test/earl_grey/chrome_earl_grey_ui.h
diff --git a/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h b/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h
index 792001a296045542e2b72992ec74ce3dfd50f454..96385b628fa10aef8efe5f4b681088ef9085fd5d 100644
--- a/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h
+++ b/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h
@@ -29,6 +29,11 @@
// Requires having a tab opened.
+ (void)openShareMenu;
+// Waits for toolbar to become visible if |isVisible| is YES, or waits for it
+// to disappear if |isVisible| is NO. Returns YES if this condition is met,
+// and returns NO if it times out.
++ (BOOL)waitForToolbarVisible:(BOOL)isVisible;
baxley 2017/03/14 22:22:03 I made this method wait since in at least one case
+
@end
#endif // IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_

Powered by Google App Engine
This is Rietveld 408576698