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

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

Issue 2343453002: [ios] Use +[ShellEarlGrey loadURL:] for page loading in EG tests. (Closed)
Patch Set: Rebased Created 4 years, 3 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/context_menu_egtest.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 a23968f0a81d412f5769e58f0a2accaf061e39cb..ae3b926cc6bde65ec6b8e22b5a54abaa043f1816 100644
--- a/ios/web/shell/test/meta_tags_egtest.mm
+++ b/ios/web/shell/test/meta_tags_egtest.mm
@@ -8,8 +8,8 @@
#include "base/test/ios/wait_util.h"
#import "ios/web/public/test/http_server.h"
#include "ios/web/public/test/http_server_util.h"
-#include "ios/web/shell/test/app/navigation_test_util.h"
#import "ios/web/shell/test/earl_grey/shell_base_test_case.h"
+#import "ios/web/shell/test/earl_grey/shell_earl_grey.h"
#import "ios/web/shell/test/earl_grey/shell_matchers.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
@@ -66,7 +66,7 @@ using web::webViewContainingText;
responses[destinationURL] = kDestinationPage;
web::test::SetUpSimpleHttpServer(responses);
- web::shell_test_util::LoadUrl(originURL);
+ [ShellEarlGrey loadURL:originURL];
// Wait for redirect.
base::test::ios::SpinRunLoopWithMinDelay(
« no previous file with comments | « ios/web/shell/test/context_menu_egtest.mm ('k') | ios/web/shell/test/navigation_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698