-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(config): failOnFlakyTests option #34741
base: main
Are you sure you want to change the base?
feat(config): failOnFlakyTests option #34741
Conversation
This patch adds a configuration option to make the test runner exit with a non-zero status when any test is flaky. The config option does not take precedence over the CLI flag. Fixes microsoft#34397
@microsoft-github-policy-service agree |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you! There's one little thing i'd like changed, happy to merge after that.
Test results for "tests 1"5 failed 17 flaky38556 passed, 794 skipped Merge workflow run. |
Looks like there's some failing tests - there's a piece of code writing on the removed parameter. |
This patch adds a configuration option to make the test runner exit with a non-zero status when any test is flaky. The config option does not take precedence over the CLI flag.
This is my first time submitting a change to playwright, so any and all guidance is welcome. If approved, I can also update the example configurations in the create-playwright repo too. If any documentation needs to be updated, please point me to what I've missed. Thanks!
Fixes #34397