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

Side by Side Diff: ios/chrome/browser/web/push_and_replace_state_navigation_egtest.mm

Issue 2761443005: Add disabled_test_macro import to EarlGrey base test cases. (Closed)
Patch Set: rebase Created 3 years, 9 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/chrome/browser/web/progress_indicator_egtest.mm ('k') | ios/chrome/test/earl_grey/BUILD.gn » ('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 <XCTest/XCTest.h> 5 #import <XCTest/XCTest.h>
6 6
7 #include "base/strings/sys_string_conversions.h" 7 #include "base/strings/sys_string_conversions.h"
8 #include "components/strings/grit/components_strings.h" 8 #include "components/strings/grit/components_strings.h"
9 #include "ios/chrome/browser/ui/ui_util.h" 9 #include "ios/chrome/browser/ui/ui_util.h"
10 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h" 10 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
11 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h" 11 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
12 #import "ios/chrome/test/earl_grey/chrome_matchers.h" 12 #import "ios/chrome/test/earl_grey/chrome_matchers.h"
13 #import "ios/chrome/test/earl_grey/chrome_test_case.h" 13 #import "ios/chrome/test/earl_grey/chrome_test_case.h"
14 #import "ios/testing/earl_grey/disabled_test_macros.h"
15 #import "ios/web/public/test/http_server.h" 14 #import "ios/web/public/test/http_server.h"
16 #include "ios/web/public/test/http_server_util.h" 15 #include "ios/web/public/test/http_server_util.h"
17 16
18 using chrome_test_util::BackButton; 17 using chrome_test_util::BackButton;
19 using chrome_test_util::ForwardButton; 18 using chrome_test_util::ForwardButton;
20 19
21 namespace { 20 namespace {
22 21
23 const char* kHistoryTestUrl = 22 const char* kHistoryTestUrl =
24 "http://ios/testing/data/http_server_files/history.html"; 23 "http://ios/testing/data/http_server_files/history.html";
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 base::SysNSStringToUTF8(statusLabel))] 339 base::SysNSStringToUTF8(statusLabel))]
341 assertWithMatcher:grey_notNil()]; 340 assertWithMatcher:grey_notNil()];
342 } 341 }
343 342
344 [[EarlGrey selectElementWithMatcher:chrome_test_util::OmniboxText( 343 [[EarlGrey selectElementWithMatcher:chrome_test_util::OmniboxText(
345 urlToVerify.GetContent())] 344 urlToVerify.GetContent())]
346 assertWithMatcher:grey_notNil()]; 345 assertWithMatcher:grey_notNil()];
347 } 346 }
348 347
349 @end 348 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/web/progress_indicator_egtest.mm ('k') | ios/chrome/test/earl_grey/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698