How it fits together
- CI runs Playwright with the JSON reporter.
- A CI step uploads the report to your backend with the branch, commit, author and trigger from the CI environment.
- Your backend saves one
Runand updates eachTestCase's history and rates. - Tripwire's runs, tests and flaky screens read them from your API.
Statuses
Playwright gives each test an outcome of expected, unexpected, flaky or skipped, and each attempt a result status such as passed, failed or timedOut. Map the test outcome to the kit's statuses and use the attempts to build the history strip, so a test that only passes on retry stands out.
Run-level status
Set Run.status to failed if unexpected is above zero, flaky if only flaky is, and passed otherwise. Use running while you're still receiving results.