Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Unified Diff: ios/chrome/browser/context_menu/context_menu_egtest.mm

Issue 2739833003: Rename matcher OpenLinkInNewTabMenuItem as OpenLinkInNewTabButton. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/chrome/browser/metrics/tab_usage_recorder_egtest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f3182369de66dedd3f75104e5fa019c1e9cd7be0..923a41ed8126b9f97ce4a1d10439a39cdcad8989 100644
--- a/ios/chrome/browser/context_menu/context_menu_egtest.mm
+++ b/ios/chrome/browser/context_menu/context_menu_egtest.mm
@@ -30,6 +30,7 @@
#endif
using chrome_test_util::ButtonWithAccessibilityLabelId;
+using chrome_test_util::OpenLinkInNewTabButton;
namespace {
const char kUrlChromiumLogoPage[] =
@@ -174,8 +175,7 @@ void SelectTabAtIndexInCurrentMode(NSUInteger index) {
[ChromeEarlGrey loadURL:initialURL];
chrome_test_util::AssertMainTabCount(1U);
- LongPressElementAndTapOnButton(kDestinationLinkID,
- chrome_test_util::OpenLinkInNewTabMenuItem());
+ LongPressElementAndTapOnButton(kDestinationLinkID, OpenLinkInNewTabButton());
SelectTabAtIndexInCurrentMode(1U);
@@ -217,8 +217,7 @@ void SelectTabAtIndexInCurrentMode(NSUInteger index) {
kDestinationLinkID)]
assertWithMatcher:grey_notNil()];
- LongPressElementAndTapOnButton(kDestinationLinkID,
- chrome_test_util::OpenLinkInNewTabMenuItem());
+ LongPressElementAndTapOnButton(kDestinationLinkID, OpenLinkInNewTabButton());
// Earl Grey cannot preperly synchronize some animations, so adding a
// WaitUntilCondition to wait for the new tab opening animation to finish
« no previous file with comments | « no previous file | ios/chrome/browser/metrics/tab_usage_recorder_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698