[ios] Disable LegacyFirstRunTestCase
Bug: 1329202
Change-Id: Ia8f4d83de9390f45dcf234de5a13fbfb6d2d20ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3668585
Owners-Override: Chris Lu <thegreenfrog@google.com>
Reviewed-by: Ginny Huang <ginnyhuang@chromium.org>
Commit-Queue: Chris Lu <thegreenfrog@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1007447}
diff --git a/ios/chrome/browser/ui/first_run/legacy_first_run_egtest.mm b/ios/chrome/browser/ui/first_run/legacy_first_run_egtest.mm
index 0aa8ffd..0ddb7fd 100644
--- a/ios/chrome/browser/ui/first_run/legacy_first_run_egtest.mm
+++ b/ios/chrome/browser/ui/first_run/legacy_first_run_egtest.mm
@@ -84,7 +84,8 @@
}
// Navigates to the terms of service and back.
-- (void)testTermsAndConditions {
+// TODO(crbug.com/1329202): Failing on builders
+- (void)DISABLED_testTermsAndConditions {
id<GREYMatcher> termsOfServiceLink =
grey_accessibilityLabel(@"Terms of Service");
[[EarlGrey selectElementWithMatcher:termsOfServiceLink]
@@ -115,7 +116,8 @@
}
// Toggle the UMA checkbox.
-- (void)testToggleMetricsOn {
+// TODO(crbug.com/1329202): Failing on builders
+- (void)DISABLED_testToggleMetricsOn {
id<GREYMatcher> metrics =
grey_accessibilityID(first_run::kUMAMetricsButtonAccessibilityIdentifier);
[[EarlGrey selectElementWithMatcher:metrics] performAction:grey_tap()];
@@ -134,7 +136,8 @@
}
// Dismisses the first run screens.
-- (void)testDismissFirstRun {
+// TODO(crbug.com/1329202): Failing on builders
+- (void)DISABLE_testDismissFirstRun {
[[EarlGrey selectElementWithMatcher:FirstRunOptInAcceptButton()]
performAction:grey_tap()];
@@ -150,7 +153,8 @@
}
// Signs in to an account and then taps the Advanced link to go to settings.
-- (void)testSignInAndTapSettingsLink {
+// TODO(crbug.com/1329202): Failing on builders
+- (void)DISABLED_testSignInAndTapSettingsLink {
FakeChromeIdentity* fakeIdentity = [FakeChromeIdentity fakeIdentity1];
[SigninEarlGrey addFakeIdentity:fakeIdentity];
@@ -186,7 +190,8 @@
// Checks that the sync screen doesn't appear when the SyncDisabled policy is
// enabled.
-- (void)testSyncDisabled {
+// TODO(crbug.com/1329202): Failing on builders
+- (void)DISABLED_testSyncDisabled {
policy_test_utils::SetPolicy(true, policy::key::kSyncDisabled);
// Launch First Run and accept tems of services.
@@ -199,7 +204,8 @@
}
// Checks FRE shows in only one window.
-- (void)testFirstRunInMultiWindow {
+// TODO(crbug.com/1329202): Failing on builders
+- (void)DISABLED_testFirstRunInMultiWindow {
if (![ChromeEarlGrey areMultipleWindowsSupported])
EARL_GREY_TEST_DISABLED(@"Multiple windows can't be opened.");