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

Side by Side Diff: ios/chrome/browser/web/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
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/ios/ios_util.h" 7 #include "base/ios/ios_util.h"
8 #include "components/strings/grit/components_strings.h" 8 #include "components/strings/grit/components_strings.h"
9 #include "ios/chrome/test/app/web_view_interaction_test_util.h" 9 #include "ios/chrome/test/app/web_view_interaction_test_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_matchers.h" 11 #import "ios/chrome/test/earl_grey/chrome_matchers.h"
12 #import "ios/chrome/test/earl_grey/chrome_test_case.h" 12 #import "ios/chrome/test/earl_grey/chrome_test_case.h"
13 #import "ios/testing/earl_grey/disabled_test_macros.h"
14 #import "ios/web/public/test/http_server.h" 13 #import "ios/web/public/test/http_server.h"
15 #include "ios/web/public/test/http_server_util.h" 14 #include "ios/web/public/test/http_server_util.h"
16 #include "ios/web/public/test/response_providers/data_response_provider.h" 15 #include "ios/web/public/test/response_providers/data_response_provider.h"
17 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
18 17
19 using chrome_test_util::BackButton; 18 using chrome_test_util::BackButton;
20 using chrome_test_util::ForwardButton; 19 using chrome_test_util::ForwardButton;
21 using chrome_test_util::TapWebViewElementWithId; 20 using chrome_test_util::TapWebViewElementWithId;
22 using chrome_test_util::WebViewContainingText; 21 using chrome_test_util::WebViewContainingText;
23 22
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 // Navigate forward and assert the the resulting page is the proper 685 // Navigate forward and assert the the resulting page is the proper
687 // destination. 686 // destination.
688 [[EarlGrey selectElementWithMatcher:ForwardButton()] 687 [[EarlGrey selectElementWithMatcher:ForwardButton()]
689 performAction:grey_tap()]; 688 performAction:grey_tap()];
690 [[EarlGrey selectElementWithMatcher:chrome_test_util::OmniboxText( 689 [[EarlGrey selectElementWithMatcher:chrome_test_util::OmniboxText(
691 destinationURL.GetContent())] 690 destinationURL.GetContent())]
692 assertWithMatcher:grey_notNil()]; 691 assertWithMatcher:grey_notNil()];
693 } 692 }
694 693
695 @end 694 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/web/http_auth_egtest.mm ('k') | ios/chrome/browser/web/progress_indicator_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698