| 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()];
|
|
|