Getting the files from Playwright
For the report, run your tests with the JSON reporter: npx playwright test --reporter=json > results.json. For the evidence, zip the test-results folder Playwright writes (it holds each failed test’s trace.zip, screenshots and video). Add results.json as the tester’s report, and the zip in the test results box that appears.
What Distill takes from them
- Every failed or timed-out test becomes an issue: “Test failed: <test name>”, with the first line of the error as the description and the full error and stack as the test log.
- From each trace: failed network calls (status 400 and above), console errors and warnings, page errors, failed steps, the app’s other API calls and the last eight steps before it broke.
- Screenshots saved by the test are kept as evidence, and the text in them is read on your computer, so “500 Internal Server Error” on a screenshot becomes searchable.
Matching automation with people
Playwright errors are full of noise: stack lines, expect(locator).toHaveText(…), getByTestId('cart-line-price'). Before matching, Distill reads them the way a person would say them (“have text … cart line price”), so a failed assertion and a tester’s “the cart shows the wrong price” can be recognised as the same bug.
Spotting one cause behind several failures
Different bugs often share a root cause: two failures that both hit a failing /api/orders call, the same error code, the same exception. Distill picks these fingerprints out of the reports and traces and flags the groups that share one, for you to confirm as one cause or mark as not related.
Questions
Do traces or screenshots get uploaded?
No. Distill opens the zip on your computer and nothing is sent anywhere. It works with no internet connection.
What about Cypress or JUnit XML?
Not yet: Distill reads Playwright’s JSON report and traces today. If you need another runner, email us; it helps us decide what comes next.
Do I need the trace, or is the JSON report enough?
The JSON report is enough for grouping. The traces add the evidence: network failures, console errors and the last steps.
