Chromium Code Reviews| Index: ios/chrome/test/earl_grey/chrome_earl_grey_ui.h |
| diff --git a/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h b/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h |
| index 792001a296045542e2b72992ec74ce3dfd50f454..96385b628fa10aef8efe5f4b681088ef9085fd5d 100644 |
| --- a/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h |
| +++ b/ios/chrome/test/earl_grey/chrome_earl_grey_ui.h |
| @@ -29,6 +29,11 @@ |
| // Requires having a tab opened. |
| + (void)openShareMenu; |
| +// Waits for toolbar to become visible if |isVisible| is YES, or waits for it |
| +// to disappear if |isVisible| is NO. Returns YES if this condition is met, |
| +// and returns NO if it times out. |
| ++ (BOOL)waitForToolbarVisible:(BOOL)isVisible; |
|
baxley
2017/03/14 22:22:03
I made this method wait since in at least one case
|
| + |
| @end |
| #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_EARL_GREY_UI_H_ |