Skip to content

Test Report Analyzer

CI is red and the report is 4,000 lines. Drop it here: failures grouped by cause, flaky and slow tests, and a summary ready for Slack.

Drop report files or a ZIP of CI artifactsXML, JSON or ZIP · up to 60 MB per report · several files are merged
Parsed in your browser. Nothing is uploaded.
  • example-results.json34 KB · Playwright JSON · 20 tests
Where do I get the report?
Playwright
npx playwright test --reporter=json > results.json, or reporter: [['json', { outputFile: 'results.json' }]] in the config. The junit reporter works too.
Maven / Gradle
target/surefire-reports/TEST-*.xml · build/test-results/test/*.xml
pytest
pytest --junitxml=report.xml
Jest / Vitest
jest --json --outputFile=results.json · vitest run --reporter=json --outputFile=results.json
Cypress, .NET, Go, others
Any JUnit XML: mocha-junit-reporter, JunitXml.TestLogger, go-junit-report.
In CI
Download the job's artifacts (GitHub Actions, GitLab, Jenkins) and drop the ZIP as is: the reports inside are found and merged, screenshots and traces are skipped.

Example run. Drop your own report above to replace it.

6 tests failed from 3 different causes.

20 tests · pass rate 68% · 1m 44s · Playwright JSON

Fix first: Error: expect(locator).toBeVisible() failed getByRole('button', { name: 'Place order' }) (3 tests in checkout/checkout.spec.ts)

Export
  • 11 passed
  • 6 failed
  • 2 flaky
  • 1 skipped

Pass rate 68% = (11 passed + 2 flaky) ÷ 19 that ran. 1 skipped test is not counted. Flaky tests passed on a retry, so they count as passed.

Failure causes

6 failed tests → 3 causes

Time

Where 1m 44s went

Wall clock
1m 44s
Test time
3m 45s
Parallelism
2.2×
Retry tax
1m 36s43% of test time

Workers

4 workers · idle 45% of the time · longest: Profile › uploads an avatar (30s)

The timeline needs a wider screen. Turn the phone or open this page on a laptop.

  • passed
  • failed
  • failed, then retried

6 failed tests grouped by error. Fix the top group first: it is the most tests for one change.

  1. 3testsError: expect(locator).toBeVisible() failedgetByRole('button', { name: 'Place order' })checkout/checkout.spec.ts50%
    • Checkout › pays with a saved cardchromium2 attempts17s
    • Checkout › pays with PayPalchromium2 attempts17s
    • Checkout › applies a discount codechromium2 attempts16s
    Full error (first test)
    Error: expect(locator).toBeVisible() failed
    
    Locator: getByRole('button', { name: 'Place order' })
    Expected: visible
    Received: <element(s) not found>
    Timeout: 5000ms
        at /work/shop/tests/checkout/checkout.spec.ts:16:31
  2. 2testsError: expect(received).toBe(expected) // Object.is equalitycart/cart.spec.ts33%
    • Cart › updates the badge countchromium2 attempts4.4s
    • Cart › keeps items after sign-inchromium2 attempts6.0s
    Full error (first test)
    Error: expect(received).toBe(expected) // Object.is equality
    
    Expected: 3
    Received: 2
        at /work/shop/tests/cart/cart.spec.ts:22:31
  3. 1testTimeoutError: page.goto: Timeout 30000ms exceeded.profile/profile.spec.ts17%
    • Profile › uploads an avatarchromium2 attempts1m
    Full error
    TimeoutError: page.goto: Timeout 30000ms exceeded.
        at /work/shop/tests/profile/profile.spec.ts:13:16

What the analyzer shows

A red CI build hands you hundreds of lines of XML or JSON. This tool turns that report into four answers:

How to get a report out of your test runner

RunnerCommand or settingFormat
Playwrightnpx playwright test --reporter=json > results.jsonPlaywright JSON
Playwright (CI)reporter: [['junit', { outputFile: 'results.xml' }]]JUnit XML
Maventarget/surefire-reports/TEST-*.xmlJUnit XML
Gradlebuild/test-results/test/*.xmlJUnit XML
pytestpytest --junitxml=report.xmlJUnit XML
Jestjest --json --outputFile=results.jsonJest JSON
Vitestvitest run --reporter=json --outputFile=results.jsonVitest JSON
Cypressmocha-junit-reporterJUnit XML

In CI, download the report from the job's artifacts and drop the files onto the analyzer. Several files at once are merged: shards become one run, and repeated runs of the same suite expose flaky tests.

Flaky tests: why retries matter

A single run without retries can only say pass or fail. To see flakiness the report needs a second attempt: Playwright with retries: 2 in CI marks a test that failed and then passed as flaky; Maven Surefire with rerunFailingTestsCount writes flakyFailure elements. Retries keep the build green, which is exactly why flaky tests go unnoticed and keep costing minutes on every run. For the usual causes and fixes, see how to fix flaky Playwright tests.

Frequently asked questions

Which report formats does it read?

JUnit XML from any tool that writes it (Maven Surefire, Gradle, pytest --junitxml, jest-junit, Vitest, Cypress, the Playwright junit reporter, .NET and Go converters), the Playwright JSON reporter, and Jest or Vitest JSON (--json). The format is detected automatically.

Is my report uploaded anywhere?

No. The file is read and parsed by JavaScript in your browser tab. Nothing is sent to a server, so test names, internal URLs and stack traces stay on your machine.

How does it find flaky tests?

Two ways. Inside one report it uses retries: a Playwright test with status flaky, or a JUnit test case with flakyFailure or rerunFailure elements, passed only after failing. Across several reports of the same suite, a test that passed in one run and failed in another is flaky. Without retries and with a single run there is nothing to compare, and the tool says so.

How are failures grouped?

By the first line of the error, reduced to its shape: numbers, IDs, timestamps, URLs, file paths and quoted values are masked. Thirty tests failing on 'Timeout 5000ms exceeded' for different locators become one group, so you see three causes instead of thirty red lines.

Can I analyze sharded CI runs?

Yes. Drop all shard files at once. Tests are merged by file and name, the wall-clock time is the slowest shard, and the summary covers the whole run.