| Index: ios/chrome/browser/context_menu/context_menu_egtest.mm
|
| diff --git a/ios/chrome/browser/context_menu/context_menu_egtest.mm b/ios/chrome/browser/context_menu/context_menu_egtest.mm
|
| index 923a41ed8126b9f97ce4a1d10439a39cdcad8989..993ebfbae2b35c0dc0e76b5e720c5149b3380eb5 100644
|
| --- a/ios/chrome/browser/context_menu/context_menu_egtest.mm
|
| +++ b/ios/chrome/browser/context_menu/context_menu_egtest.mm
|
| @@ -16,9 +16,9 @@
|
| #import "ios/chrome/test/earl_grey/chrome_actions.h"
|
| #import "ios/chrome/test/earl_grey/chrome_assertions.h"
|
| #import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
|
| +#import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
|
| #import "ios/chrome/test/earl_grey/chrome_matchers.h"
|
| #import "ios/chrome/test/earl_grey/chrome_test_case.h"
|
| -#include "ios/chrome/test/earl_grey/chrome_util.h"
|
| #import "ios/testing/wait_util.h"
|
| #import "ios/web/public/test/earl_grey/web_view_matchers.h"
|
| #import "ios/web/public/test/http_server.h"
|
| @@ -241,7 +241,7 @@ void SelectTabAtIndexInCurrentMode(NSUInteger index) {
|
| selectElementWithMatcher:WebViewScrollView(
|
| chrome_test_util::GetCurrentWebState())]
|
| performAction:grey_swipeFastInDirection(kGREYDirectionDown)];
|
| - chrome_test_util::AssertToolbarVisible();
|
| + [ChromeEarlGreyUI waitForToolbarVisible:YES];
|
|
|
| SelectTabAtIndexInCurrentMode(1U);
|
|
|
|
|