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

Unified Diff: ios/web/shell/test/meta_tags_egtest.mm

Issue 2798773002: Create ChromeEarlGrey waitForWebViewContainingText. (Closed)
Patch Set: review comments Created 3 years, 6 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
« no previous file with comments | « ios/web/shell/test/earl_grey/web_shell_test_case.mm ('k') | ios/web/shell/test/navigation_egtest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ios/web/shell/test/earl_grey/web_shell_test_case.mm ('k') | ios/web/shell/test/navigation_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698