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

Unified Diff: ios/web/shell/test/earl_grey/shell_matchers.h

Issue 1961063002: Add web shell matcher for address field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: ios/web/shell/test/earl_grey/shell_matchers.h
diff --git a/ios/web/shell/test/earl_grey/shell_matchers.h b/ios/web/shell/test/earl_grey/shell_matchers.h
index 2cd70a9616a35c4bb7c161d4f438ba7e023cbeb0..56c3d02f266a49604edf5d89de2a00c4b37c6b72 100644
--- a/ios/web/shell/test/earl_grey/shell_matchers.h
+++ b/ios/web/shell/test/earl_grey/shell_matchers.h
@@ -9,6 +9,9 @@ namespace web {
// Shorthand for GREYMatchers::matcherForWebViewContainingText.
id<GREYMatcher> webViewContainingText(NSString* text);
+// Shorthand for GREYMatchers::matcherForAddressFieldTextEqualTo.
+id<GREYMatcher> addressFieldText(NSString* text);
+
// Shorthand for GREYMatchers::matcherForBackButton.
id<GREYMatcher> backButton();
@@ -25,6 +28,9 @@ id<GREYMatcher> addressField();
// Matcher for WKWebView containing |text|.
+ (id<GREYMatcher>)matcherForWebViewContainingText:(NSString*)text;
+// Matcher for web shell address field text property equal to |text|.
++ (id<GREYMatcher>)matcherForAddressFieldTextEqualTo:(NSString*)text;
Eugene But (OOO till 7-30) 2016/05/09 15:59:08 s/matcherForAddressFieldTextEqualTo/matcherForAddr
baxley 2016/05/09 17:11:43 I changed to matcherForAddressFieldEqualToText to
+
// Matcher for back button in web shell.
+ (id<GREYMatcher>)matcherForWebShellBackButton;

Powered by Google App Engine
This is Rietveld 408576698