Trace is not available for this test case
If you see the message “Trace is not available for this test case” in the Stably reporter view, it means that Playwright traces were not captured for your test run.Problem
By default, when you follow Playwright’s official installation instructions, they automatically set the trace configuration to"on-first-retry"
. This means traces are only captured when a test fails and is retried, not on the first run or for passing tests.
Solution
Update yourplaywright.config.ts
file to change the trace setting to capture traces for all test runs:
Verifying Your Configuration
After updating your configuration:- Run your tests locally:
npx playwright test
- Check that traces are being generated in your test results
- View the traces in the Stably reporter to confirm they’re available