forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add (heavily-filtered) pixel test cq job for interactive_ui_tests
Currently, there are a number of tests which cannot be run as part of browser_tests because they flake or fail to run on some platforms and must be run as part of interactive_ui_tests. These include, e.g. a number of IPH tests, but also a number of manual tests we intend to automate as part of an ongoing test automation project. If a test for a secondary UI surface will not reliably run in browser_tests, it is currently not possible to do Skia Gold visual regression testing on that surface, as currently only browser_tests is ever run with Skia Gold support. This is done as pixel_browser_tests, in which the browser_tests suite is re-run with a very restrictive filter (basically, only tests that actually take screenshots) so that only the bare minimum of time and resources are consumed. There was no equivalent for interactive_ui_tests, even though it should be fairly straightforward to create one. This CL adds a similar variation on interactive_ui_tests called pixel_interactive_ui_tests, which invokes interactive_ui_tests with Skia Gold support. It mimics pixel_browser_tests in the following ways: - Shares the same filter, so that all pixel tests can be listed in the same place and no non-pixel tests are run - Runs on a limited set of platforms - Does not retry failed tests Note that any tests included in pixel_interactive_ui_tests will still run in interactive_ui_tests with screenshotting as a no-op, just as with pixel_browser_tests and browser_tests. This ensures that any behavioral regressions on other platforms are still caught by CQ. Initially, this only has the effect of re-enabling the IPH pixel test suite, which was moved to interactive_ui_tests because it would not run reliably in browser_tests (due to its sensitivity to window focus/activation.) Bug: 1319632 Change-Id: I4fc44b404ca66fa1c82ea0873d80fedceac97fc5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3606835 Reviewed-by: Erik Staab <estaab@chromium.org> Commit-Queue: Dana Fried <dfried@chromium.org> Cr-Commit-Position: refs/heads/main@{#996361}
- Loading branch information
Dana Fried
authored and
Chromium LUCI CQ
committed
Apr 26, 2022
1 parent
b710cef
commit 86d6e51
Showing
6 changed files
with
204 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
146 changes: 79 additions & 67 deletions
146
...ildbot/filters/pixel_browser_tests.filter → testing/buildbot/filters/pixel_tests.filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,79 @@ | ||
# This is the filter for browser_tests that supports pixel tests. | ||
AccuracyTipBubbleViewDialogBrowserTest.* | ||
AppInfoDialogBrowserTest.* | ||
AskGoogleForSuggestionsDialogTest.* | ||
BookmarkBubbleViewBrowserTest.* | ||
BookmarkEditorViewBrowserTest.* | ||
ChromeLabsUiTest.* | ||
ConfirmBubbleTest.* | ||
ContentAnalysysDialogUiTest.* | ||
ContentSettingBubbleDialogTest.* | ||
CookieControlsBubbleViewTest.* | ||
CryptoModulePasswordDialogTest.* | ||
DeepScanningFailureModalDialogTest.* | ||
*DiceWebSigninInterceptionBubblePixelTest.InvokeUi_* | ||
*DiceWebSigninInterceptionBubbleSyncPromoPixelTest.InvokeUi_* | ||
ExtensionInstallDialogViewInteractiveBrowserTest.* | ||
ExtensionUninstallDialogViewInteractiveBrowserTest.* | ||
*EyeDropperBrowserTest.* | ||
FeaturePromoDialogTest.* | ||
FileSystemAccessUsageBubbleViewTest.* | ||
FirstRunDialogTest.* | ||
GlobalErrorBubbleTest.* | ||
HatsBubbleTest.* | ||
HungRendererDialogViewBrowserTest.* | ||
ImportLockDialogViewBrowserTest.* | ||
InlineLoginHelperBrowserTest.InvokeUi_* | ||
LocalCardMigrationBrowserUiTest.* | ||
NewTabPageTest.* | ||
OneTimePermissionPromptBubbleViewBrowserTest.* | ||
OutdatedUpgradeBubbleTest.* | ||
PageInfoBubbleViewAboutThisSiteDialogBrowserTest.* | ||
PageInfoBubbleViewDialogBrowserTest.* | ||
PageInfoBubbleViewPrivacySandboxDialogBrowserTest.* | ||
PageInfoBubbleViewHistoryDialogBrowserTest.* | ||
*PasswordBubbleBrowserTest.* | ||
PasswordReuseModalWarningTest.* | ||
PermissionRequestChipDialogBrowserTest.* | ||
*PermissionPromptBubbleViewBrowserTest.* | ||
PrivacySandboxDialogViewBrowserTest.* | ||
PromptForScanningModalDialogTest.* | ||
QRCodeGeneratorBubbleBrowserTest.* | ||
RelaunchRecommendedBubbleViewDialogTest.* | ||
RelaunchRequiredDialogViewDialogTest.* | ||
ReopenTabPromoControllerDialogBrowserTest.* | ||
SafetyTipPageInfoBubbleViewDialogTest.* | ||
ScreenCaptureNotificationUiBrowserTest.* | ||
SecurePaymentConfirmationDialogViewTest.InvokeUi_* | ||
*SendTabToSelfBubbleTest.* | ||
SessionCrashedBubbleViewTest.* | ||
TabGroupEditorBubbleViewDialogBrowserTest.* | ||
TabHoverCardBubbleViewBrowserTest.* | ||
UpdateRecommendedDialogTest.* | ||
WebAppConfirmViewBrowserTest.* | ||
ZoomBubbleDialogTest.* | ||
|
||
# This test uses random network port and shows it on ui. | ||
-ContentSettingBubbleDialogTest.InvokeUi_popups | ||
-OutdatedUpgradeBubbleTest.InvokeUi_Critical | ||
# TODO(crbug.com/1108988): Fix this flakiness test. | ||
-BookmarkBubbleViewBrowserTest.InvokeUi_bookmark_details_signed_in | ||
|
||
# TODO(crbug.com/2666206): Flaky | ||
-ContentSettingBubbleDialogTest.InvokeUi_mediastream_camera | ||
-ContentSettingBubbleDialogTest.InvokeUi_mediastream_mic_and_camera | ||
|
||
# TODO(crbug.com/1164574): Flaky | ||
-ContentSettingBubbleDialogTest.InvokeUi_mediastream_mic | ||
# This is the filter for browser_tests and interactive_ui_tests that support | ||
# pixel tests. In order for pixel tests to work, you *must* include your test | ||
# here. | ||
# | ||
# Since these tests will all run in both browser_tests (or interactive_ui_tests) | ||
# and pixel_browser_tests (or pixel_interactive_ui_tests), avoid including | ||
# non-pixel tests here. | ||
# | ||
# Prefer browser_tests to interactive_ui_tests, as they are less expensive to | ||
# run; only use interactive_ui_tests if running your test in browser_tests | ||
# causes flakes (due to widget activation, occlusion, etc.) | ||
|
||
AccuracyTipBubbleViewDialogBrowserTest.* | ||
AppInfoDialogBrowserTest.* | ||
AskGoogleForSuggestionsDialogTest.* | ||
BookmarkBubbleViewBrowserTest.* | ||
BookmarkEditorViewBrowserTest.* | ||
ChromeLabsUiTest.* | ||
ConfirmBubbleTest.* | ||
ContentAnalysysDialogUiTest.* | ||
ContentSettingBubbleDialogTest.* | ||
CookieControlsBubbleViewTest.* | ||
CryptoModulePasswordDialogTest.* | ||
DeepScanningFailureModalDialogTest.* | ||
*DiceWebSigninInterceptionBubblePixelTest.InvokeUi_* | ||
*DiceWebSigninInterceptionBubbleSyncPromoPixelTest.InvokeUi_* | ||
ExtensionInstallDialogViewInteractiveBrowserTest.* | ||
ExtensionUninstallDialogViewInteractiveBrowserTest.* | ||
*EyeDropperBrowserTest.* | ||
FeaturePromoDialogIntentChipTest.InvokeUi_* | ||
FeaturePromoDialogTest.InvokeUi_* | ||
FileSystemAccessUsageBubbleViewTest.* | ||
FirstRunDialogTest.* | ||
GlobalErrorBubbleTest.* | ||
HatsBubbleTest.* | ||
HungRendererDialogViewBrowserTest.* | ||
ImportLockDialogViewBrowserTest.* | ||
InlineLoginHelperBrowserTest.InvokeUi_* | ||
LocalCardMigrationBrowserUiTest.* | ||
NewTabPageTest.* | ||
OneTimePermissionPromptBubbleViewBrowserTest.* | ||
OutdatedUpgradeBubbleTest.* | ||
PageInfoBubbleViewAboutThisSiteDialogBrowserTest.* | ||
PageInfoBubbleViewDialogBrowserTest.* | ||
PageInfoBubbleViewPrivacySandboxDialogBrowserTest.* | ||
PageInfoBubbleViewHistoryDialogBrowserTest.* | ||
*PasswordBubbleBrowserTest.* | ||
PasswordReuseModalWarningTest.* | ||
PermissionRequestChipDialogBrowserTest.* | ||
*PermissionPromptBubbleViewBrowserTest.* | ||
PrivacySandboxDialogViewBrowserTest.* | ||
PromptForScanningModalDialogTest.* | ||
QRCodeGeneratorBubbleBrowserTest.* | ||
RelaunchRecommendedBubbleViewDialogTest.* | ||
RelaunchRequiredDialogViewDialogTest.* | ||
ReopenTabPromoControllerDialogBrowserTest.* | ||
SafetyTipPageInfoBubbleViewDialogTest.* | ||
ScreenCaptureNotificationUiBrowserTest.* | ||
SecurePaymentConfirmationDialogViewTest.InvokeUi_* | ||
*SendTabToSelfBubbleTest.* | ||
SessionCrashedBubbleViewTest.* | ||
TabGroupEditorBubbleViewDialogBrowserTest.* | ||
TabHoverCardBubbleViewBrowserTest.* | ||
UpdateRecommendedDialogTest.* | ||
WebAppConfirmViewBrowserTest.* | ||
ZoomBubbleDialogTest.* | ||
|
||
# This test uses random network port and shows it on ui. | ||
-ContentSettingBubbleDialogTest.InvokeUi_popups | ||
-OutdatedUpgradeBubbleTest.InvokeUi_Critical | ||
# TODO(crbug.com/1108988): Fix this flakiness test. | ||
-BookmarkBubbleViewBrowserTest.InvokeUi_bookmark_details_signed_in | ||
|
||
# TODO(crbug.com/2666206): Flaky | ||
-ContentSettingBubbleDialogTest.InvokeUi_mediastream_camera | ||
-ContentSettingBubbleDialogTest.InvokeUi_mediastream_mic_and_camera | ||
|
||
# TODO(crbug.com/1164574): Flaky | ||
-ContentSettingBubbleDialogTest.InvokeUi_mediastream_mic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters