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

Unified Diff: ios/chrome/browser/ui/activity_services/activity_service_controller_egtest.mm

Issue 2784943002: Remove matcher to wait for static HTML view. (Closed)
Patch Set: typo 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/activity_services/activity_service_controller_egtest.mm
diff --git a/ios/chrome/browser/ui/activity_services/activity_service_controller_egtest.mm b/ios/chrome/browser/ui/activity_services/activity_service_controller_egtest.mm
index 9211cfff2d027798b84ebeb455e046164af3862b..52b3458ad43b6003da3327e2e51f1ba04884f4d1 100644
--- a/ios/chrome/browser/ui/activity_services/activity_service_controller_egtest.mm
+++ b/ios/chrome/browser/ui/activity_services/activity_service_controller_egtest.mm
@@ -73,11 +73,7 @@ id<GREYMatcher> PrintButton() {
// Open an error page.
[ChromeEarlGrey loadURL:ErrorPageResponseProvider::GetDnsFailureUrl()];
- NSString* const kError =
- l10n_util::GetNSString(IDS_ERRORPAGES_HEADING_NOT_AVAILABLE);
- [[EarlGrey
- selectElementWithMatcher:chrome_test_util::StaticHtmlViewContainingText(
- kError)] assertWithMatcher:grey_notNil()];
+ [ChromeEarlGrey waitForErrorPage];
// Execute the Print action.
[[EarlGrey selectElementWithMatcher:PrintButton()] performAction:grey_tap()];

Powered by Google App Engine
This is Rietveld 408576698