Closed Zanzibarbarian closed 6 months ago
I updated PW and it did not resolve the issue:
npx playwright --version
Version 1.43.0
4 flaky
[firefox] › ***.spec.ts:14:7 › *** › ***
[firefox] › ***.spec.ts:212:7 › *** › ***
[firefox] › ***.spec.ts:297:7 › *** › ***
[webkit] › ***.spec.ts:13:7 › *** › ***
115 passed (31.4m)
⏩ Slack reporter - no failures found
This issue is not following the bug template. Please re-file and provide a self-contained reproduction, which we can run locally to reproduce your issue. Thanks for your understanding!
Playwright will return exit code 0 if tests are marked as flaky, was not able to reproduce it locally.
Have you tried disabling playwright-slack-report
?
Last Good Version
unknown
First Bad Version
1.42.1
Steps to reproduce
Expected behavior
When I have two flaky tests and zero failures, I expect that test run to be considered a pass by Playwright.
Actual behavior
When I have two flaky tests and zero failures, Playwright is reporting that run as a failure.
Additional context
No response
Environment