| 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 a1f92005ca99e1ed612891692bc847f28b4c08ce..ccebfa9fc3ab10c6842c205fc9e7d3e0479131ad 100644
|
| --- a/ios/web/shell/test/meta_tags_egtest.mm
|
| +++ b/ios/web/shell/test/meta_tags_egtest.mm
|
| @@ -5,6 +5,7 @@
|
| #include <map>
|
|
|
| #include "base/strings/stringprintf.h"
|
| +#include "base/strings/sys_string_conversions.h"
|
| #import "base/test/ios/wait_util.h"
|
| #import "ios/web/public/test/http_server.h"
|
| #include "ios/web/public/test/http_server_util.h"
|
| @@ -35,7 +36,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 +75,8 @@ using web::WebViewContainingText;
|
| // Verify that redirect happened.
|
| [[EarlGrey selectElementWithMatcher:AddressFieldText(destinationURL.spec())]
|
| assertWithMatcher:grey_notNil()];
|
| - [[EarlGrey selectElementWithMatcher:WebViewContainingText(kDestinationPage)]
|
| - assertWithMatcher:grey_notNil()];
|
| + [ShellEarlGrey
|
| + waitForWebViewContainingText:base::SysUTF8ToNSString(kDestinationPage)];
|
| }
|
|
|
| @end
|
|
|