| Index: ios/chrome/browser/ui/history/history_ui_egtest.mm
|
| diff --git a/ios/chrome/browser/ui/history/history_ui_egtest.mm b/ios/chrome/browser/ui/history/history_ui_egtest.mm
|
| index 789923a87d8c4509e37650db4f6c7d855a378c30..1614bd249da6d84c35fd507ee592cc267c596002 100644
|
| --- a/ios/chrome/browser/ui/history/history_ui_egtest.mm
|
| +++ b/ios/chrome/browser/ui/history/history_ui_egtest.mm
|
| @@ -218,6 +218,14 @@ void MockSignIn() {
|
|
|
| // Tests that no history is shown if there has been no navigation.
|
| - (void)testDisplayNoHistory {
|
| + // 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];
|
| +
|
| [self openHistoryPanel];
|
| [self assertNoHistoryShown];
|
| }
|
| @@ -443,6 +451,14 @@ void MockSignIn() {
|
|
|
| // Navigates to history and checks elements for accessibility.
|
| - (void)testAccessibilityOnHistory {
|
| + // 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];
|
| +
|
| [self openHistoryPanel];
|
| chrome_test_util::VerifyAccessibilityForCurrentScreen();
|
| // Close history.
|
|
|