-
Notifications
You must be signed in to change notification settings - Fork 0
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
Monitor flaky tests #21
Comments
We could get a history starting by saving some |
Use the python package flaky-tests-detection to analyse all JUnit reports in the directory. note: This is just a bare-bones proof of concept for now. See issue #21
On the branch is a small script to download all previous artifacts. It needs
You have to generate a personal access token first and use it. The branch name is optional and defaults to After that you can The script was copied and adapted from here: https://github.com/WithSecureOpenSource/flaky-test-ci/blob/main/download_artifacts.py |
Perhaps using another solution for visual comparisons helps? Options like As I understand it |
Use the python package flaky-tests-detection to analyse all JUnit reports in the directory. note: This is just a bare-bones proof of concept for now. See issue #21
I would like some kind of continous monitoring. There is no flakiness in the last 7 days apparently, but with a window of 14 days there is:
|
What's the goal of this issue? When can we close it? |
Current status with 14 day history and 3 day windows
|
The "real" flakiness is pretty much masked by our usage of the See this issue: microsoft/playwright#29446 |
website/tests/support-us.spec.ts Line 8 in f3504d1
I think this line is an often cause for retries. Maybe using forceLoadImages instead could be a solution? |
That could be. When I look at the failures it seems that the found element isn't attached to the DOM (yet). |
With this port the
playwright
tests seem to have gotten somewhat flaky. We have added theretries: 3
config toplaywright.config.ts
to hide some of the flakiness. One goal of this issue would be to remove that config and make the tests stable again.We should make sure to monitor this as flaky tests suck. See this action for example: https://github.com/WithSecureOpenSource/flaky-test-ci
The text was updated successfully, but these errors were encountered: