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

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

Issue 2784943002: Remove matcher to wait for static HTML view. (Closed)
Patch Set: typo 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/test/earl_grey/chrome_earl_grey.h
diff --git a/ios/chrome/test/earl_grey/chrome_earl_grey.h b/ios/chrome/test/earl_grey/chrome_earl_grey.h
index 16897431cf2753c7a8da55d4bf6d5dcc372eadee..45e4d91689809ed6337a0d96c4236b4d3914db70 100644
--- a/ios/chrome/test/earl_grey/chrome_earl_grey.h
+++ b/ios/chrome/test/earl_grey/chrome_earl_grey.h
@@ -54,6 +54,17 @@ id ExecuteJavaScript(NSString* javascript,
// Taps html element with |elementID| in the current web view.
+ (void)tapWebViewElementWithID:(NSString*)elementID;
+// Waits for a static html view containing |text|. If the condition is not met
+// before a timeout, there is a GREYAssert.
++ (void)waitForStaticHTMLViewContainingText:(NSString*)text;
+
+// Waits for there to be no static html view, or a static html view that does
+// not contain |text|. If the condition is not met before a timeout, there is a
+// GREYAssert.
++ (void)waitForStaticHTMLViewNotContainingText:(NSString*)text;
+
+// Waits for a Chrome error page. If it is not found, a GREYAssert is induced.
++ (void)waitForErrorPage;
@end
#endif // IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_H_

Powered by Google App Engine
This is Rietveld 408576698