| 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 a81e4e507760f74291a8605bf8022b79b0c85dc4..8b957c61aa133ba2c4a7a039217ae9fd4bee9374 100644
|
| --- a/ios/chrome/browser/context_menu/context_menu_egtest.mm
|
| +++ b/ios/chrome/browser/context_menu/context_menu_egtest.mm
|
| @@ -6,7 +6,6 @@
|
| #import <UIKit/UIKit.h>
|
| #import <XCTest/XCTest.h>
|
|
|
| -#include "base/strings/sys_string_conversions.h"
|
| #include "ios/chrome/browser/ui/ui_util.h"
|
| #include "ios/chrome/grit/ios_strings.h"
|
| #import "ios/chrome/test/app/chrome_test_util.h"
|
| @@ -224,9 +223,7 @@ void SelectTabAtIndexInCurrentMode(NSUInteger index) {
|
| chrome_test_util::GetCurrentWebState())]
|
| performAction:grey_scrollToContentEdge(kGREYContentEdgeBottom)];
|
|
|
| - [[EarlGrey selectElementWithMatcher:chrome_test_util::WebViewContainingText(
|
| - kDestinationLinkID)]
|
| - assertWithMatcher:grey_notNil()];
|
| + [ChromeEarlGrey waitForWebViewContainingText:kDestinationLinkID];
|
|
|
| LongPressElementAndTapOnButton(kDestinationLinkID, OpenLinkInNewTabButton());
|
|
|
|
|