Chromium Code Reviews| 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..6d284974555e170cb5c6ef8feceaf418d59a6e3f 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:(NSString*)text; |
|
Eugene But (OOO till 7-30)
2017/04/21 18:49:21
Is there a reason why this takes NSString and not
baxley
2017/04/21 20:09:01
I went back and forth on this. All the methods in
Eugene But (OOO till 7-30)
2017/04/21 21:37:45
|loadURL:| takes GURL, instead of NSURL, so using
baxley
2017/04/21 22:41:58
I'll look at it a little more and think about it.
|
| @end |
| #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_H_ |