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

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

Issue 2798773002: Create ChromeEarlGrey waitForWebViewContainingText. (Closed)
Patch Set: more cleanup Created 3 years, 6 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_earl_grey.h
diff --git a/ios/web/shell/test/earl_grey/shell_earl_grey.h b/ios/web/shell/test/earl_grey/shell_earl_grey.h
index cc88f85ab5c18a6224f9ce487405160689cdf3c0..a1f7a4b1635baf71dc2f56f5a7bb9fa6ee85d594 100644
--- a/ios/web/shell/test/earl_grey/shell_earl_grey.h
+++ b/ios/web/shell/test/earl_grey/shell_earl_grey.h
@@ -19,6 +19,10 @@
// a timeout.
+ (void)loadURL:(const GURL&)URL;
+// Waits for the current web view to contain |text|. If the condition is not met
+// within a timeout, a GREYAssert is induced.
++ (void)waitForWebViewContainingText:(const std::string)text;
+
@end
#endif // IOS_WEB_SHELL_TEST_EARL_GREY_SHELL_EARL_GREY_H_

Powered by Google App Engine
This is Rietveld 408576698