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

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

Issue 2867553002: Make settings_egtest.mm work in landscape on small phones. (Closed)
Patch Set: revert extra history_ui_egtest change Created 3 years, 7 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
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ea7dd86a46c3ba03897d187ac3537215f3c5f347..09dabe5a4464bf8ad669dcc505815954d8c2463a 100644
--- a/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h
+++ b/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h
@@ -5,6 +5,7 @@
#ifndef IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_
#define IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_
+#import <EarlGrey/EarlGrey.h>
#import <Foundation/Foundation.h>
// Test methods that perform actions on Chrome. These methods only affect Chrome
@@ -21,6 +22,22 @@
// calling this method.
+ (void)openSettingsMenu;
+// Scrolls to find the button in the Settings menu with the corresponding
+// |buttonMatcher|, and then taps it. If |buttonMatcher| is not found, or
+// the Settings menu is not open when this is called there will be a GREYAssert.
++ (void)tapSettingsMenuButton:(id<GREYMatcher>)buttonMatcher;
+
+// Scrolls to find the button in the Privacy menu with the corresponding
+// |buttonMatcher|, and then taps it. If |buttonMatcher| is not found, or
+// the Privacy menu is not open when this is called there will be a GREYAssert.
++ (void)tapPrivacyMenuButton:(id<GREYMatcher>)buttonMatcher;
+
+// Scrolls to find the button in the Clear Browsing Data menu with the
+// corresponding |buttonMatcher|, and then taps it. If |buttonMatcher| is
+// not found, or the Clear Browsing Data menu is not open when this is called
+// there will be a GREYAssert.
++ (void)tapClearBrowsingDataMenuButton:(id<GREYMatcher>)buttonMatcher;
+
// Open a new tab via the tools menu.
+ (void)openNewTab;
« 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