-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[BUG] Serial + Retry : Failed test is marked as flaky even if it never passes #27455
Labels
Comments
❤️ |
Germandrummer92
pushed a commit
to OctoMind-dev/playwright
that referenced
this issue
Oct 27, 2023
1 task
This was referenced Apr 24, 2024
dgozman
added a commit
that referenced
this issue
Apr 25, 2024
There are plenty of edge cases in this area: - interrupted test run; - did not run because of serial mode failure; - failed before `test.skip()` call (e.g. in `beforeEach`) in one of the retries; - and more... Related issues: #28322, #28321, #27455, #17652. Prior changes: #27762, #26385, #28360, probably more. There is still some duplication between `outcome()` and similar logic in `base.ts`, which might be deduped in a follow-up. Fixes #28322.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System info
Source code
Description
The second test is marked as flaky if tests are in describe.serial block with "retries: 1" settled in tests config file.
Steps
Execute the test until:
Expected
Actual
If the second test is executed at least once and the first test failed on the last retry:
If the second test is executed on the last retry:
The text was updated successfully, but these errors were encountered: