| 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 4eab5b9679826d4ad6e2fb3b9c74e080b1b32590..264628d88691811f65cbad85768770a385426eb5 100644
|
| --- a/ios/chrome/test/earl_grey/chrome_earl_grey.h
|
| +++ b/ios/chrome/test/earl_grey/chrome_earl_grey.h
|
| @@ -79,6 +79,10 @@ id ExecuteJavaScript(NSString* javascript,
|
| // Waits for a Chrome error page. If it is not found within a timeout, a
|
| // GREYAssert is induced.
|
| + (void)waitForErrorPage;
|
| +
|
| +// Waits for the current web view to contain |text|. If the condition is not met
|
| +// within a timeout, a GREYAssert is induced.
|
| ++ (void)waitForWebViewContainingText:(std::string)text;
|
| @end
|
|
|
| #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_H_
|
|
|