| 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_
|
|
|