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

Unified Diff: ios/chrome/browser/ui/history/history_ui_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
Index: ios/chrome/browser/ui/history/history_ui_egtest.mm
diff --git a/ios/chrome/browser/ui/history/history_ui_egtest.mm b/ios/chrome/browser/ui/history/history_ui_egtest.mm
index dc7e7d062ef7edf9a084932b26fc33a30389b6d9..c0752fa48de591d1621950e106a2e773651516b1 100644
--- a/ios/chrome/browser/ui/history/history_ui_egtest.mm
+++ b/ios/chrome/browser/ui/history/history_ui_egtest.mm
@@ -43,7 +43,7 @@
using chrome_test_util::ButtonWithAccessibilityLabelId;
using chrome_test_util::NavigationBarDoneButton;
-using chrome_test_util::OpenLinkInNewTabMenuItem;
+using chrome_test_util::OpenLinkInNewTabButton;
using chrome_test_util::WebViewContainingText;
namespace {
@@ -424,7 +424,7 @@ void MockSignIn() {
// Select "Open in New Tab" and confirm that new tab is opened with selected
// URL.
- [[EarlGrey selectElementWithMatcher:OpenLinkInNewTabMenuItem()]
+ [[EarlGrey selectElementWithMatcher:OpenLinkInNewTabButton()]
performAction:grey_tap()];
[[EarlGrey selectElementWithMatcher:chrome_test_util::OmniboxText(
_URL1.GetContent())]
« no previous file with comments | « ios/chrome/browser/metrics/tab_usage_recorder_egtest.mm ('k') | ios/chrome/test/earl_grey/chrome_matchers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698