Skip to content
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

fix(reporters): properly determine flaky status for serial mode #30529

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Apr 24, 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.

This comment has been minimized.

@dgozman dgozman force-pushed the test-outcome-serial-mode-fix branch from 0fac21f to 6dffb48 Compare April 25, 2024 19:33
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...
@dgozman dgozman force-pushed the test-outcome-serial-mode-fix branch from 6dffb48 to c03cbb1 Compare April 25, 2024 19:54

This comment has been minimized.

Copy link
Contributor

Test results for "tests 1"

2 flaky ⚠️ [playwright-test] › ui-mode-test-watch.spec.ts:223:5 › should queue watches
⚠️ [webkit-library] › library/browsercontext-timezone-id.spec.ts:58:3 › should work for multiple pages sharing same process

27490 passed, 676 skipped
✔️✔️✔️

Merge workflow run.

@dgozman dgozman merged commit dc06652 into microsoft:main Apr 25, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Test mistakenly identified as flaky
2 participants