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

Side by Side Diff: ios/web/shell/test/navigation_egtest.mm

Issue 2898733003: Split up ios/web:test_support. (Closed)
Patch Set: don't break downstream clients 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 unified diff | Download patch
« no previous file with comments | « ios/web/shell/test/meta_tags_egtest.mm ('k') | ios/web/shell/test/page_state_egtest.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import <UIKit/UIKit.h> 5 #import <UIKit/UIKit.h>
6 #import <WebKit/WebKit.h> 6 #import <WebKit/WebKit.h>
7 #import <XCTest/XCTest.h> 7 #import <XCTest/XCTest.h>
8 8
9 #import <EarlGrey/EarlGrey.h> 9 #import <EarlGrey/EarlGrey.h>
10 10
11 #include "base/strings/sys_string_conversions.h" 11 #include "base/strings/sys_string_conversions.h"
12 #import "ios/web/public/test/http_server.h" 12 #import "ios/web/public/test/http_server/http_server.h"
13 #include "ios/web/public/test/http_server_util.h" 13 #include "ios/web/public/test/http_server/http_server_util.h"
14 #include "ios/web/shell/test/app/web_view_interaction_test_util.h" 14 #include "ios/web/shell/test/app/web_view_interaction_test_util.h"
15 #import "ios/web/shell/test/earl_grey/shell_earl_grey.h" 15 #import "ios/web/shell/test/earl_grey/shell_earl_grey.h"
16 #import "ios/web/shell/test/earl_grey/shell_matchers.h" 16 #import "ios/web/shell/test/earl_grey/shell_matchers.h"
17 #import "ios/web/shell/test/earl_grey/web_shell_test_case.h" 17 #import "ios/web/shell/test/earl_grey/web_shell_test_case.h"
18 18
19 #if !defined(__has_feature) || !__has_feature(objc_arc) 19 #if !defined(__has_feature) || !__has_feature(objc_arc)
20 #error "This file requires ARC support." 20 #error "This file requires ARC support."
21 #endif 21 #endif
22 22
23 // Navigation test cases for the web shell. These are Earl Grey integration 23 // Navigation test cases for the web shell. These are Earl Grey integration
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 web::shell_test_util::TapWebViewElementWithId("link"); 174 web::shell_test_util::TapWebViewElementWithId("link");
175 175
176 [[EarlGrey selectElementWithMatcher:web::AddressFieldText(URL.spec())] 176 [[EarlGrey selectElementWithMatcher:web::AddressFieldText(URL.spec())]
177 assertWithMatcher:grey_notNil()]; 177 assertWithMatcher:grey_notNil()];
178 [[EarlGrey 178 [[EarlGrey
179 selectElementWithMatcher:web::WebViewContainingText("No navigation!")] 179 selectElementWithMatcher:web::WebViewContainingText("No navigation!")]
180 assertWithMatcher:grey_notNil()]; 180 assertWithMatcher:grey_notNil()];
181 } 181 }
182 182
183 @end 183 @end
OLDNEW
« no previous file with comments | « ios/web/shell/test/meta_tags_egtest.mm ('k') | ios/web/shell/test/page_state_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698