Skip to content

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

Merged
dgozman merged 1 commit intomicrosoft:mainfrom
dgozman:test-outcome-serial-mode-fix
Apr 25, 2024
Merged

fix(reporters): properly determine flaky status for serial mode#30529
dgozman merged 1 commit intomicrosoft:mainfrom
dgozman:test-outcome-serial-mode-fix

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.

@github-actions

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
@github-actions

This comment has been minimized.

@github-actions
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
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