# Run a smoke set of browser tests relevant to CfT (crbug.com/1421409)
# TODO(crbug.com/469533286): reenable ChromeForTestingInfoBarTest
# ChromeForTestingInfoBarTest.*
ClientHintsBrowserTest.*
RecordLanguagesMetricsBrowserTest.*
CrSettingsAboutPageTest.AboutPage*

# DevTools browser tests
GlobalConfirmInfoBarTest.*
DevToolsProtocolTest.*
ExtensionProtocolTest.*
PrintToPdfProtocolTest.*
AutofillFormDevtoolsProtocolTest.*
WebUIJSErrorReportingTest.*

# FileSystem access
ChromeFileSystemAccessPermissionContextPrerenderingBrowserTest.*
FileSystemAccessTabHelperPrerenderingBrowserTest.*
HeadlessModeDevToolsClientNavigationTest.*

RedirectTest.*
HistoryBrowserTest.*
ImageDecoderBrowserTest.*
InfoBarsTest.*
InfoBarUiTest.*
ChromeMojoProxyResolverWinBrowserTest.*
ChromeAcceptEncodingHeaderTest.*
ExplicitlyAllowedNetworkPortsBackgroundFetchBrowserTest.*
NotificationUIManagerBrowserTest.*
NotificationPermissionBrowserTest.*

# Browser UI
JavaScriptDialogTest.*
JavaScriptDialogOriginTest.*
JavaScriptDialogForPrerenderTest.*
BrowserNavigatorTest.*
MAYBE_BrowserNavigatorTestWithMockScreen.*
OmniboxViewTest.*

# Browser web UI
InspectUITest.*
InspectUIFencedFrameTest.*
ChromeWebUIControllerFactoryBrowserTest.*
ChromeWebUINavigationBrowserTest.*
ConstrainedWebDialogBrowserTest.*
WebUIWebViewBrowserTest.*

# Browser UI views browser/ui/views
JavaScriptTabModalDialogViewViewsBrowserTest.*
WebDialogBrowserTest.*
BrowserFrameTest.*
BrowserViewTest.*
BrowserRootViewBrowserTest.*

# Filter out failing infobar tests from Chrome for Testing trybots

# Chrome for Testing (CfT) adds a global info bar.
# As a side effect, this fails tests that explicitly assert:
#   - the infobar count
#   - the number of ax::mojom::Role::kAlert fired events
#   - height of DOM elements and viewport size
#   - fullscreen mode and desktop web app custom title bar styling
#   - default focused elements or focusable elements count

# Since those tests are already covered by non-cft trybots, we just disable
# them for cft trybots.

# https://ci.chromium.org/ui/p/chromium/builders/try/linux-rel/1222923
# https://ci.chromium.org/ui/p/chromium/builders/ci/win-rel-cft/1705
-*JavaScriptTests.testElementRegionTest
-All/GetDisplayMediaChangeSourceBrowserTest.*
-All/PageSpecificSiteDataDialogBrowserTest.*
-All/TabSharingUIViewsBrowserTest.*
-BackForwardCachePageLoadMetricsObserverBrowserTest.CumulativeLayoutShiftAfterBackForwardCacheRestore
-BackForwardCachePageLoadMetricsObserverBrowserTest.LayoutShiftNormalization_AfterBackForwardCacheRestore
-BreadcrumbManagerTabHelperSecurityStateBrowserTest.BrokenAuthentication
-BrowserTest.GetSizeForNewRenderView
-CollectedCookiesViewsTest.ChangeAndCloseDialog
-CollectedCookiesViewsTest.ChangeAndNavigateAway
-CollectedCookiesViewsTest.CloseDialog
-DebuggerApiTest.InfoBar
-DebuggerApiTest.InfoBarIsNotRemovedIfAttachAgainBeforeFiveSeconds
-DebuggerApiTest.InfoBarIsRemovedAfterFiveSeconds
-DevToolsProtocolTest.AutomationOverrideAddsOneInfoBarOnly
-DevToolsProtocolTest.AutomationOverrideShowsAndRemovesInfoBar
-ExtensionInstallUIBrowserTest.TestThemeInstallUndoResetsToPreviousTheme
-FindInPageControllerTest.FindMovesWhenObscuring
-GlobalConfirmInfoBarTest.CreateAndCloseInfobar
-GlobalConfirmInfoBarTest.UserInteraction
-GlobalConfirmInfoBarTest.VerifyInfobarNonDefaultProperties
-HighEfficiencyDiscardPolicyInteractiveTest.TabWithFormNotDiscarded
-InfoBarsTest.TestInfoBarsCloseOnNewTheme
-InteractionTestUtilBrowserTest.CompareScreenshot_WebPage
-KnownInterceptionDisclosureInfobarTest.CooldownResetsOnBrowserRestartDesktop
-KnownInterceptionDisclosureInfobarTest.OnlyShowDisclosureOncePerSession
-LayoutInstabilityTest.*
-MultipleTabSharingUIViewsBrowserTest.CloseTabs
-MultipleTabSharingUIViewsBrowserTest.StopSharing
-MultipleTabSharingUIViewsBrowserTest.VerifyUi
-NewTabPageTest.LandingPagePixelTest
-SaveCardBubbleViewsFullFormBrowserTest.AlertAccessibleEvent
-SessionRestoreTest.RestoredTabsHaveCorrectInitialSize
-TabSharingUIViewsPreferCurrentTabBrowserTest.VerifyUiWhenCapturingAnotherTab
-TabSharingUIViewsPreferCurrentTabBrowserTest.VerifyUiWhenSelfCapturing
-WebAppFrameToolbarBrowserTest_WindowControlsOverlay.*
-WebAppGlassBrowserFrameViewWindowControlsOverlayTest.*
-WebAppBrowserFrameViewWinWindowControlsOverlayTest.*
-WebAppIntegration.*
-WebContentsInteractionTestUtilInteractiveUiTest.*
-WebRtcDesktopCaptureBrowserTest.CloseAndReopenNonSharedTab
-WebRtcDesktopCaptureBrowserTest.SwitchSharedTabBackAndForth
-WebRtcDesktopCaptureBrowserTest.TabCaptureProvides0HzWith0MinFpsConstraintAndStaticContent

# Gardener: disable failing tests.
# TODO (crbug.com/417895560): fix test and re-enable
-ChromeForTestingInfoBarTest.*
-EnableDisableSingleClientTest.*
-LocalSyncTest.*
-MigrationSingleClientTest.*
-MigrationTwoClientTest.*
-PasswordManagerSyncTest.*
-SelectTypeAndMigrateLocalDataItemsWhenActiveTest.*
-SelectTypeAndMigrateLocalDataItemsWhenActiveTestWithPolicy.*
-SelectTypeAndMigrateLocalDataItemsWhenActiveWithManagedAccountTest.*
-SingleClientBookmarksSyncTest.*
-SingleClientBookmarksSyncTestWithEnabledReuploadBookmarks.*
-SingleClientBookmarksWithAccountStorageSyncTest.*
-SingleClientCommonSyncTest.*
-SingleClientContactInfoPassphraseSyncTest.*
-SingleClientContactInfoSyncTest.*
-SingleClientCustomPassphraseSyncTest.*
-SingleClientDecouplePriorityPreferencesSyncTest.*
-SingleClientDeviceInfoSyncTest.*
-SingleClientExtensionAppsSyncTest.*
-SingleClientExtensionsSyncTest.*
-SingleClientFeatureListEarlyAccessTest.*
-SingleClientHistoryNonGmailSyncTest.*
-SingleClientHistorySyncTest.*
-SingleClientIncomingPasswordSharingInvitationTest.*
-SingleClientNigoriCrossUserSharingPublicPrivateKeyPairSyncTest.*
-SingleClientNigoriCrossUserSharingPublicPrivateKeyPairSyncTestNoIpProt.*
-SingleClientNigoriSyncTest.*
-SingleClientNigoriWithWebApiTest.*
-SingleClientOfferSyncTest.*
-SingleClientPasswordsSyncTest.*
-SingleClientPasswordsSyncTestWithVerifier.*
-SingleClientPasswordsWithAccountStorageSyncTest.*
-SingleClientPlusAddressManagedAccountTest.*
-SingleClientPlusAddressSettingSyncTest.*
-SingleClientPlusAddressSyncTest.*
-SingleClientPollingSyncTest.*
-SingleClientPollingSyncTestNoIpProt.*
-SingleClientPreferencesWithAccountStorageMergeSyncTest.*
-SingleClientPreferencesWithAccountStorageSyncTest.*
-SingleClientReadingListSyncTest.*
-SingleClientSavedTabGroupsSyncTest.*
-SingleClientSearchEnginesSyncTest.*
-SingleClientSearchEnginesSyncTestWithSeparateLocalAndAccountSearchEnginesEnabled.*
-SingleClientSecondaryAccountSyncTest.*
-SingleClientSendTabToSelfSyncTest.*
-SingleClientSessionsSyncTest.*
-SingleClientSessionsSyncTestWithFaviconTestServer.*
-SingleClientSharedTabGroupDataSyncTest.*
-SingleClientStandaloneTransportReplaceSyncWithSigninMigrationSyncTest.*
-SingleClientStandaloneTransportSyncTest.*
-SingleClientStandaloneTransportWithoutReplaceSyncWithSigninSyncTest.*
-SingleClientStandaloneTransportWithReplaceSyncWithSigninSyncTest.*
-SingleClientSyncInvalidationsTest.*
-SingleClientThemesSyncTest.*
-SingleClientThemesSyncTestWithAccountThemesSeparation.*
-SingleClientThemesSyncTestWithAccountThemesSeparationInSigninPendingState.*
-SingleClientTrackedPreferencesSyncTest.*
-SingleClientTrackedPreferencesSyncTestWithAttack.*
-SingleClientUserConsentsSyncTest.*
-SingleClientUserEventsSyncTest.*
-SingleClientValuablesSyncTest.*
-SingleClientWalletCredentialSyncTest.*
-SingleClientWalletSecondaryAccountSyncTest.*
-SingleClientWalletSyncTest.*
-SingleClientWebAppsSyncTest.*
-SingleClientWebAuthnCredentialsSyncTest.*
-SingleClientWebAuthnCredentialsSyncTestExplicitParamTest.*
-SyncAuthTest.*
-SyncErrorTest.*
-SyncExponentialBackoffTest.*
-TwoClientAppSettingsSyncTest.*
-TwoClientAutocompleteSyncTest.*
-TwoClientAutofillProfileSyncTest.*
-TwoClientBookmarksSyncTest.*
-TwoClientContactInfoSyncTest.*
-TwoClientCustomPassphraseSyncTest.*
-TwoClientDictionarySyncTest.*
-TwoClientExtensionAppsSyncTest.*
-TwoClientExtensionSettingsSyncTest.*
-TwoClientExtensionsSyncTest.*
-TwoClientGeneratedIconFixSyncTest.*
-TwoClientPasswordsSyncTest.*
-TwoClientPasswordsSyncTestWithVerifier.*
-TwoClientPreferencesSyncTest.*
-TwoClientSearchEnginesSyncTest.*
-TwoClientSendTabToSelfSyncTest.*
-TwoClientSessionsSyncTest.*
-TwoClientSharedTabGroupDataSyncTest.*
-TwoClientThemesSyncTest.*
-TwoClientWalletSyncTest.*
-WebAppIntegration.*
