Reading results
A run is a set of test cases.
A run is a set of test cases. Each case gets one status, and you can open it to see why.
Statuses
| Status | What it means |
|---|---|
| Passed | Every step worked and every check held. |
| Failed | A check did not hold. Your site did something other than what the test expected. Read Expected and Actual. |
| Error | HeyBug could not reach a verdict. The card says "Could not finish". This is a problem running the test, not a failure of your site, so run it again. |
| Skipped | The case did not run. |
| Queued, Writing test, Running | The case is still in progress. The page updates live and shows "● Live". |
A run is Passed only when every case passed. It is Failed or Error when any case did not. A run can also be Canceled.
A case that is blocked, so it cannot reach a verdict, shows as Error, not Failed. The run page counts it under Blocked. Typical causes are an unreachable site, a login that did not work, or a page that never loaded. Fix the cause, then run again.
Test failed: Expected and Actual
Open a case from the run page. A failed case starts with the Test failed card:
- Expected is what the test plan said should happen at the failing step, in plain English.
- Actual is what the browser really showed.
- Failed at step N names the step. Show step N jumps the screenshot to it.
If you want the raw error from the test runner, open Error message under the card, or use Copy as text. While the verdict is being written you see "Summarising...".
Step screenshots
The Step screenshot panel shows the page after each step. The step list sits beside it, on mobile below it. Click a step to see its screenshot. The failing step is selected for you. A passed case opens on its last step.
Use Previous and Next in the header, or the [ and ] keys, to move between the cases of the run.
Two folds sit under the steps:
- Generated test is the Playwright code HeyBug ran. Use Copy code to take it.
- Plan steps is the goal and the steps of the case as planned, with the check for each step (Expect).
Run failed only
When a run has finished and some cases failed, the run page shows Run failed only (N). It starts a new run with just those cases. Run again starts every case. Use the first to confirm a fix quickly, and the second before you ship.
A case that fails once and passes on rerun may be flaky. Compare both runs before you trust either.
Share this run
On the run page choose Share, pick a lifetime in days, and use Copy link. Anyone with the link can view the report and step screenshots. It is read-only and needs no account. The link opens at /share/<token>.
Shares are listed in the same dialog with their expiry. Choose Revoke to end one early.
The API behind it:
POST /api/runs/{runId}/sharecreates a link. The body is{ "expiresInDays": 7 }.GET /api/runs/{runId}/shareslists them.DELETE /api/shares/{shareRef}revokes one.
Export the test
HeyBug tests are plain Playwright. Open Export in the project and copy the command, or run it yourself:
heybug export --project <projectId> --dir heybugIt writes plan.json, tests/*.spec.ts and a .gitignore. Install the harness first:
npm i -D @heybug/harness@0.1.0 @playwright/testThe export page has Plan and Specs tabs so you can read what will be written. The CLI is covered in CLI guide.