| Index: ios/web/shell/test/meta_tags_egtest.mm
|
| diff --git a/ios/web/shell/test/meta_tags_egtest.mm b/ios/web/shell/test/meta_tags_egtest.mm
|
| index fbe44b7be49ff85382a4e4475a432acb73c8fc9e..442b1e2bdb005cc7874fea4ea2fab0cfc213d208 100644
|
| --- a/ios/web/shell/test/meta_tags_egtest.mm
|
| +++ b/ios/web/shell/test/meta_tags_egtest.mm
|
| @@ -35,7 +35,6 @@ const char kRefreshMetaPageTemplate[] =
|
|
|
| using web::test::HttpServer;
|
| using web::AddressFieldText;
|
| -using web::WebViewContainingText;
|
|
|
| // META tag test cases for the web shell.
|
| @interface MetaTagsTestCase : WebShellTestCase
|
| @@ -75,8 +74,7 @@ using web::WebViewContainingText;
|
| // Verify that redirect happened.
|
| [[EarlGrey selectElementWithMatcher:AddressFieldText(destinationURL.spec())]
|
| assertWithMatcher:grey_notNil()];
|
| - [[EarlGrey selectElementWithMatcher:WebViewContainingText(kDestinationPage)]
|
| - assertWithMatcher:grey_notNil()];
|
| + [ShellEarlGrey waitForWebViewContainingText:kDestinationPage];
|
| }
|
|
|
| @end
|
|
|