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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_ 5 #ifndef IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_
6 #define IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_ 6 #define IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 // Test methods that perform actions on Chrome. These methods only affect Chrome 10 // Test methods that perform actions on Chrome. These methods only affect Chrome
(...skipping 11 matching lines...) Expand all
22 // Open a new incognito tab via the tools menu. 22 // Open a new incognito tab via the tools menu.
23 + (void)openNewIncognitoTab; 23 + (void)openNewIncognitoTab;
24 24
25 // Reloads the page. Does not wait until reload finishes. 25 // Reloads the page. Does not wait until reload finishes.
26 + (void)reload; 26 + (void)reload;
27 27
28 // Opens the share menu by tapping on the share button. 28 // Opens the share menu by tapping on the share button.
29 // Requires having a tab opened. 29 // Requires having a tab opened.
30 + (void)openShareMenu; 30 + (void)openShareMenu;
31 31
32 // Waits for toolbar to become visible if |isVisible| is YES, or waits for it
33 // to disappear if |isVisible| is NO. Returns YES if this condition is met,
34 // and returns NO if it times out.
35 + (BOOL)waitForToolbarVisible:(BOOL)isVisible;
baxley 2017/03/14 22:22:03 I made this method wait since in at least one case
36
32 @end 37 @end
33 38
34 #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_ 39 #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698