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