| Index: ios/web/shell/test/context_menu_egtest.mm
|
| diff --git a/ios/web/shell/test/context_menu_egtest.mm b/ios/web/shell/test/context_menu_egtest.mm
|
| index 04c3a3bf1fb5b0847f710329023db3b89a2643da..06c84caa1a3bd6ccd47975a086c3b25f3eaa4751 100644
|
| --- a/ios/web/shell/test/context_menu_egtest.mm
|
| +++ b/ios/web/shell/test/context_menu_egtest.mm
|
| @@ -56,7 +56,7 @@ using web::WebViewContainingText;
|
| assertWithMatcher:grey_notNil()];
|
|
|
| [[EarlGrey selectElementWithMatcher:web::WebView()]
|
| - performAction:web::longPressElementForContextMenu(
|
| + performAction:web::LongPressElementForContextMenu(
|
| linkID, true /* menu should appear */)];
|
|
|
| id<GREYMatcher> copyItem = ContextMenuItemWithText(@"Copy Link");
|
| @@ -96,7 +96,7 @@ using web::WebViewContainingText;
|
| assertWithMatcher:grey_notNil()];
|
|
|
| [[EarlGrey selectElementWithMatcher:web::WebView()]
|
| - performAction:web::longPressElementForContextMenu(
|
| + performAction:web::LongPressElementForContextMenu(
|
| linkID, false /* menu shouldn't appear */)];
|
|
|
| id<GREYMatcher> copyItem = ContextMenuItemWithText(@"Copy Link");
|
| @@ -130,7 +130,7 @@ using web::WebViewContainingText;
|
| assertWithMatcher:grey_notNil()];
|
|
|
| [[EarlGrey selectElementWithMatcher:web::WebView()]
|
| - performAction:web::longPressElementForContextMenu(
|
| + performAction:web::LongPressElementForContextMenu(
|
| linkID, false /* menu shouldn't appear */)];
|
|
|
| id<GREYMatcher> copyItem = ContextMenuItemWithText(@"Copy Link");
|
| @@ -165,7 +165,7 @@ using web::WebViewContainingText;
|
| assertWithMatcher:grey_notNil()];
|
|
|
| [[EarlGrey selectElementWithMatcher:web::WebView()]
|
| - performAction:web::longPressElementForContextMenu(
|
| + performAction:web::LongPressElementForContextMenu(
|
| linkID, true /* menu should appear */)];
|
|
|
| id<GREYMatcher> copyItem = ContextMenuItemWithText(@"Copy Link");
|
|
|