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

Side by Side Diff: ios/chrome/browser/ui/authentication/signin_interaction_controller_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 <EarlGrey/EarlGrey.h> 5 #import <EarlGrey/EarlGrey.h>
6 #import <XCTest/XCTest.h> 6 #import <XCTest/XCTest.h>
7 7
8 #include "base/strings/sys_string_conversions.h" 8 #include "base/strings/sys_string_conversions.h"
9 #import "base/test/ios/wait_util.h" 9 #import "base/test/ios/wait_util.h"
10 #include "components/signin/core/browser/signin_manager.h" 10 #include "components/signin/core/browser/signin_manager.h"
11 #include "ios/chrome/browser/experimental_flags.h" 11 #include "ios/chrome/browser/experimental_flags.h"
12 #include "ios/chrome/browser/signin/signin_manager_factory.h" 12 #include "ios/chrome/browser/signin/signin_manager_factory.h"
13 #import "ios/chrome/browser/ui/commands/open_url_command.h" 13 #import "ios/chrome/browser/ui/commands/open_url_command.h"
14 #import "ios/chrome/browser/ui/settings/accounts_collection_view_controller.h" 14 #import "ios/chrome/browser/ui/settings/accounts_collection_view_controller.h"
15 #import "ios/chrome/browser/ui/settings/import_data_collection_view_controller.h " 15 #import "ios/chrome/browser/ui/settings/import_data_collection_view_controller.h "
16 #import "ios/chrome/browser/ui/settings/settings_collection_view_controller.h" 16 #import "ios/chrome/browser/ui/settings/settings_collection_view_controller.h"
17 #include "ios/chrome/browser/ui/tools_menu/tools_menu_constants.h" 17 #include "ios/chrome/browser/ui/tools_menu/tools_menu_constants.h"
18 #import "ios/chrome/browser/ui/tools_menu/tools_popup_controller.h" 18 #import "ios/chrome/browser/ui/tools_menu/tools_popup_controller.h"
19 #include "ios/chrome/browser/ui/ui_util.h" 19 #include "ios/chrome/browser/ui/ui_util.h"
20 #include "ios/chrome/grit/ios_strings.h" 20 #include "ios/chrome/grit/ios_strings.h"
21 #import "ios/chrome/test/app/chrome_test_util.h" 21 #import "ios/chrome/test/app/chrome_test_util.h"
22 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h" 22 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
23 #import "ios/chrome/test/earl_grey/chrome_matchers.h" 23 #import "ios/chrome/test/earl_grey/chrome_matchers.h"
24 #import "ios/chrome/test/earl_grey/chrome_test_case.h" 24 #import "ios/chrome/test/earl_grey/chrome_test_case.h"
25 #import "ios/public/provider/chrome/browser/signin/fake_chrome_identity.h" 25 #import "ios/public/provider/chrome/browser/signin/fake_chrome_identity.h"
26 #import "ios/public/provider/chrome/browser/signin/fake_chrome_identity_service. h" 26 #import "ios/public/provider/chrome/browser/signin/fake_chrome_identity_service. h"
27 #import "ios/testing/earl_grey/disabled_test_macros.h"
28 #import "ios/testing/wait_util.h" 27 #import "ios/testing/wait_util.h"
29 28
30 #if !defined(__has_feature) || !__has_feature(objc_arc) 29 #if !defined(__has_feature) || !__has_feature(objc_arc)
31 #error "This file requires ARC support." 30 #error "This file requires ARC support."
32 #endif 31 #endif
33 32
34 namespace { 33 namespace {
35 34
36 // Returns a fake identity. 35 // Returns a fake identity.
37 ChromeIdentity* GetFakeIdentity1() { 36 ChromeIdentity* GetFakeIdentity1() {
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 assertWithMatcher:grey_sufficientlyVisible()]; 591 assertWithMatcher:grey_sufficientlyVisible()];
593 592
594 // Close sign-in screen and Bookmarks. 593 // Close sign-in screen and Bookmarks.
595 TapButtonWithLabelId(IDS_IOS_ACCOUNT_CONSISTENCY_SETUP_SKIP_BUTTON); 594 TapButtonWithLabelId(IDS_IOS_ACCOUNT_CONSISTENCY_SETUP_SKIP_BUTTON);
596 if (!IsIPadIdiom()) { 595 if (!IsIPadIdiom()) {
597 TapButtonWithLabelId(IDS_IOS_NAVIGATION_BAR_DONE_BUTTON); 596 TapButtonWithLabelId(IDS_IOS_NAVIGATION_BAR_DONE_BUTTON);
598 } 597 }
599 } 598 }
600 599
601 @end 600 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698