| 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 5de3cd5a817374574b9fe27a55846b516bc9af61..9d12bd7b5a2187983113e7004e479e0b3db7358e 100644
|
| --- a/ios/chrome/browser/context_menu/context_menu_egtest.mm
|
| +++ b/ios/chrome/browser/context_menu/context_menu_egtest.mm
|
| @@ -224,9 +224,8 @@ void SelectTabAtIndexInCurrentMode(NSUInteger index) {
|
| chrome_test_util::GetCurrentWebState())]
|
| performAction:grey_scrollToContentEdge(kGREYContentEdgeBottom)];
|
|
|
| - [[EarlGrey selectElementWithMatcher:chrome_test_util::WebViewContainingText(
|
| - kDestinationLinkID)]
|
| - assertWithMatcher:grey_notNil()];
|
| + [ChromeEarlGrey
|
| + waitForWebViewContainingText:base::SysUTF8ToNSString(kDestinationLinkID)];
|
|
|
| LongPressElementAndTapOnButton(kDestinationLinkID, OpenLinkInNewTabButton());
|
|
|
|
|