Skip to Content
HeyBug docs
Concepts

Status meanings

Every test case and run has one status.

Every test case and run has one status. The same words and glyphs are meant to show on the run page, the case page, the tests list, the CLI and MCP output. This guide lists each status, what causes it, and how to tell Failed from Blocked.

What it is for

Use it when a status surprises you. A case marked Blocked is not a bug in your app, and a case marked Failed is not a problem with the network. Knowing which one you are looking at tells you what to do next.

The statuses

StatusWeb label and glyphWhat causes it
Queued○ QueuedThe case is waiting for a runner.
Writing test◌ Writing testHeyBug is writing the Playwright test for the case.
Running◌ RunningThe case is executing now. The page updates live.
Passed✓ PassedEvery step worked and every check held.
Failed✕ FailedA check did not hold. Your app did something other than the test expected.
Blocked⊘ BlockedThe case could not reach a verdict because of its environment, such as an unreachable site or an expired login.
Error! ErrorHeyBug could not finish the case because the test or the runner broke.
Skipped» SkippedThe case did not run.
Canceled⊗ CanceledSomeone stopped the run before the case finished.

A run is Passed only when every case passed. It is Failed when any case failed. It is Error when the run itself broke. It is Canceled when it was stopped.

Failed versus Blocked

  • Failed means the app or the test is wrong. Triage gives an App bug verdict when the app's text or behaviour differs from the plan, and a Test bug verdict when the selector never matched. Read Expected and Actual.
  • Blocked means the environment is wrong. Triage gives an Environment verdict for network errors such as a name that does not resolve or a refused connection, for 5xx responses from third-party services, for expired credentials, and for sandbox outages. A timeout that is not waiting on a check counts too.

Rule of thumb: if the test would pass once the site answers, the case is Blocked. Fix the environment and run again. Blocked cases are never counted as app bugs.

Steps to read a status

  1. Open the run page. The counts show passed, failed and blocked cases.
  2. Open a Failed case. It shows the Test failed card with Expected and Actual.
  3. Open a Blocked case and read its error message. When triage is ready, its verdict is Environment, not a bug.
  4. From a terminal, list the cases that show as Blocked. Use the stored status error, because the --status filter matches stored case statuses:
heybug results --run <runId> --status error
  1. From an MCP client, ask for the triage of one case. The tool takes the case result id from heybug_get_run:
{ "name": "heybug_get_triage", "arguments": { "caseResultId": "<caseResultId>" } }

The reply gives the verdict as App bug, Test bug or Environment (blocked, not a bug), with the cause and a suggested fix.

The API serves the same data: GET /api/case-results/{caseResultId}/triage for one case, and GET /api/runs/{runId}/triage for a run, which returns items and counts of failed and blocked cases.

Where the words differ today

The table above is the vocabulary HeyBug uses. These surfaces do not show it exactly yet:

  • Error. The status pill says Error. The run totals and the progress strip count it as Blocked. The CLI shows ! and the word errored on the run line.
  • Canceled. The status pill shows ⊗. The run verdict uses ⊘, the same glyph as Blocked. The CLI prints the raw word canceled.
  • Queued, Running and Skipped. The CLI shows – for these, and it has no word for them.
  • MCP run output. It prints the raw API word, such as failed, error or canceled, not the web label.

Until these match, read the word in the web label column above when a CLI or MCP word looks different.

When it fails

  • A case is Blocked but your app works. Check the target URL and that the environment is up. Then run again. If the cause still says Environment, open the case to see the evidence.
  • A case is Failed but you think the environment is at fault. Read Actual. If the app returned an error page, the failure is real and the case is Failed.
  • The triage is pending. The case API returns 404 until triage is ready. The MCP tool returns "status": "pending" and a nextAction. Call it again after a short wait.
  • Error with no verdict. Run the case again. If it stays Error, read the error message on the case page.
  • A word you do not see in this table. Report it with the run id.

See also Reading results, the CLI guide and the MCP guide.

On this page