| Index: ios/chrome/browser/ui/print/print_controller_egtest.mm
|
| diff --git a/ios/chrome/browser/ui/print/print_controller_egtest.mm b/ios/chrome/browser/ui/print/print_controller_egtest.mm
|
| index 066babc1d99c431b7e69cfc4356c0c419c3d61e3..f27925f99fefce01c5d2f2ba3fff52e937e9c58e 100644
|
| --- a/ios/chrome/browser/ui/print/print_controller_egtest.mm
|
| +++ b/ios/chrome/browser/ui/print/print_controller_egtest.mm
|
| @@ -9,6 +9,7 @@
|
| #import "ios/chrome/browser/ui/uikit_ui_util.h"
|
| #include "ios/chrome/grit/ios_strings.h"
|
| #include "ios/chrome/test/app/navigation_test_util.h"
|
| +#import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
|
| #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
|
| #import "ios/chrome/test/earl_grey/chrome_matchers.h"
|
| #import "ios/chrome/test/earl_grey/chrome_test_case.h"
|
| @@ -51,10 +52,7 @@ const char kHTMLURL[] = "http://test";
|
| web::test::SetUpSimpleHttpServer(responses);
|
|
|
| chrome_test_util::LoadUrl(url);
|
| - id<GREYMatcher> response1Matcher =
|
| - chrome_test_util::WebViewContainingText(response);
|
| - [[EarlGrey selectElementWithMatcher:response1Matcher]
|
| - assertWithMatcher:grey_notNil()];
|
| + [ChromeEarlGrey waitForWebViewContainingText:response];
|
|
|
| [self printCurrentPage];
|
| }
|
|
|