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

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

Issue 2798773002: Create ChromeEarlGrey waitForWebViewContainingText. (Closed)
Patch Set: review comments Created 3 years, 6 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/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());
« no previous file with comments | « ios/chrome/browser/autofill/form_input_egtest.mm ('k') | ios/chrome/browser/metrics/tab_usage_recorder_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698