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

Unified Diff: ios/web/public/test/earl_grey/web_view_matchers.h

Issue 2546193002: [ios] Matcher for a generic interstitial page. (Closed)
Patch Set: Self review Created 4 years 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 | « no previous file | ios/web/public/test/earl_grey/web_view_matchers.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/earl_grey/web_view_matchers.h
diff --git a/ios/web/public/test/earl_grey/web_view_matchers.h b/ios/web/public/test/earl_grey/web_view_matchers.h
index a7b0bcd46e05f621bc36e6b40b3b286aae96ac22..e446d6cf09264ed110c79a4f7031568a96da4e1f 100644
--- a/ios/web/public/test/earl_grey/web_view_matchers.h
+++ b/ios/web/public/test/earl_grey/web_view_matchers.h
@@ -37,7 +37,11 @@ id<GREYMatcher> webViewCssSelector(std::string selector, WebState* web_state);
// Matcher for WKWebView's scroll view.
id<GREYMatcher> webViewScrollView(WebState* web_state);
-// Matcher for interstitial page containing |text|.
+// Matcher for an interstitial page. Does not wait if the page is not displayed.
+id<GREYMatcher> interstitial(WebState* web_state);
+
+// Matcher for interstitial page containing |text|. Waits until the text is
+// displayed or timed out.
id<GREYMatcher> interstitialContainingText(NSString* text, WebState* web_state);
} // namespace web
« no previous file with comments | « no previous file | ios/web/public/test/earl_grey/web_view_matchers.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698