Every time you execute a test suite, QA Flow automatically generates a full HTML report modeled after Playwright’s native report format. Reports capture every detail you need to understand what happened: which nodes passed or failed, any error messages, screenshots taken during the run, the duration of each step, and overall aggregate statistics. Reports are persisted across sessions so you can review, compare, and share them long after a run completes.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/davidG97/qa-flow/llms.txt
Use this file to discover all available pages before exploring further.
What a Report Contains
A QA Flow report is structured around two levels of data: the overall Test Run and the individual Test Results for each node that was executed.Test Run Summary
- Overall status (
pending/running/completed/failed) - Total tests, passed count, failed count
- Total suite duration
- Start and completion timestamps
- Project ID reference
Per-Node Results
- Node ID, type, and label
- Success / failure status
- Result message and full error text (on failure)
- Duration in milliseconds
- Screenshot (on failure or via Screenshot node)
Report data model
Accessing Reports
From the Editor
After a test run completes, a View Report button appears in the execution panel. Clicking it opens the full HTML report in a new browser tab, rendered directly from the server — no separate download required.Via the REST API
QA Flow exposes a complete report management API:- List & Fetch
- Delete
- Via Test Run
| Method | Endpoint | Description |
|---|---|---|
GET | /api/reports | List all stored reports (id, status, timestamps, test counts) |
GET | /api/reports/:id | Fetch the full report as JSON |
GET | /api/reports/:id/html | Serve the HTML report directly in the browser |
GET | /api/reports/:id/download | Trigger a file download of the HTML report |
Test Run History
QA Flow persists every test run to the database, giving you a full audit trail of your suite’s health over time.| Method | Endpoint | Description |
|---|---|---|
GET | /api/test-runs | Recent runs (defaults to 20; override with ?limit=N) |
GET | /api/test-runs/:id | Full run record including all per-node TestResult entries |
GET | /api/test-runs/project/:projectId | All runs for a specific project (accepts ?limit=N) |
GET /api/test-runs and GET /api/test-runs/project/:projectId both support the ?limit=N query parameter. The default is 20 for the general list and 10 for the project-scoped list. Adjust as needed when building dashboards or CI status pages.Screenshots
Screenshots are embedded in reports in two scenarios:Automatic on Failure
When any node fails, QA Flow automatically captures a screenshot of the browser at the moment of failure and attaches it to that node’s
TestResult. No configuration needed — this happens for every run.Explicit Screenshot Node
Add a Screenshot node anywhere in your flow to capture the viewport (or a specific element) at that exact point. The captured image is stored with the report and rendered in the HTML view alongside the node’s result row.
CI / CD Integration
A minimal CI workflow looks like this:Download the report
GET /api/reports/:reportId/download — the reportId is returned in the final WebSocket notification or can be looked up via GET /api/reports.