| Index: ios/chrome/test/earl_grey/chrome_earl_grey_ui.mm
|
| diff --git a/ios/chrome/test/earl_grey/chrome_earl_grey_ui.mm b/ios/chrome/test/earl_grey/chrome_earl_grey_ui.mm
|
| index 7cfc95197435d42c64932bc6a4f0955b727495c9..835a55bb74c6e4b6fe48386ceb449f1063de8fcf 100644
|
| --- a/ios/chrome/test/earl_grey/chrome_earl_grey_ui.mm
|
| +++ b/ios/chrome/test/earl_grey/chrome_earl_grey_ui.mm
|
| @@ -19,6 +19,14 @@ using testing::kWaitForPageLoadTimeout;
|
| @implementation ChromeEarlGreyUI
|
|
|
| + (void)openToolsMenu {
|
| + // TODO(crbug.com/685570): Fix the tap instead of adding a delay.
|
| + GREYCondition* myCondition = [GREYCondition
|
| + conditionWithName:@"Delay to ensure the toolbar menu can be opened"
|
| + block:^BOOL {
|
| + return NO;
|
| + }];
|
| + [myCondition waitWithTimeout:0.5];
|
| +
|
| // TODO(crbug.com/639524): Add logic to ensure the app is in the correct
|
| // state, for example DCHECK if no tabs are displayed.
|
| [[[EarlGrey
|
|
|