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

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: return void 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
« no previous file with comments | « ios/chrome/test/earl_grey/BUILD.gn ('k') | ios/chrome/test/earl_grey/chrome_earl_grey_ui.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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. Induces a GREYAssert if the condition is
34 // not met after a timeout.
35 + (void)waitForToolbarVisible:(BOOL)isVisible;
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
« no previous file with comments | « ios/chrome/test/earl_grey/BUILD.gn ('k') | ios/chrome/test/earl_grey/chrome_earl_grey_ui.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698