Outcomes
Belay reports what it verified and nothing more. When something could not be verified, the outcome says so and is never shown as a pass.
A step’s outcome
Section titled “A step’s outcome”| In Belay | In MCP and the API | What it means |
|---|---|---|
| Passed | passed |
The action was done, or the check held. |
| Self-healed | passed_with_recovery |
The step passed through a change to the page. The element’s label or what is around it changed since an earlier run and Belay found it again from the step’s description, or the page redrew the element in the middle of the step. The step says what changed. |
| Failed | failed |
The application did not do what the step said. The step shows what it expected and what it found. |
| Not found | unresolved |
Belay could not find the element the step describes, or could not choose between a few. Nothing was done. |
| Inconclusive | inconclusive |
Belay could not decide whether the check held. It gives no verdict. |
| Error | error |
Something went wrong while doing the step, such as a page that did not load or an action the browser could not finish. |
| Interrupted | interrupted |
Belay could not finish the step, for a reason of its own. See below. |
| Not run | not_run |
The step did not run: an earlier step stopped the run, the run was cancelled, or the run was asked to stop before it. |
A run stops at the first step that does not pass. The steps after it are Not run, because each step depends on the page the one before it left.
A run’s outcome
Section titled “A run’s outcome”| In Belay | In MCP and the API | What it means |
|---|---|---|
| Passed | passed |
Every step passed. |
| Failed | failed |
A step failed. |
| Not found | unresolved |
A step’s element was not found. |
| Inconclusive | inconclusive |
A check ended with no verdict. |
| Error | error |
A step ended in error, the run went over its time limit, or the run could not start. |
| Cancelled | cancelled |
Someone cancelled the run. A run cancelled while it was running finishes the step it is on, and the rest are not run. |
| Interrupted | interrupted |
Belay could not finish the run. See below. |
| Needs a change | rejected |
Nothing ran, because a step in the workflow needs a change. No browser was opened. The run’s page says which step. |
While a run is in progress its status is queued, then running, then finished. It has an outcome only once it has finished.
Interrupted
Section titled “Interrupted”An interrupted run was stopped by a problem on Belay’s side before it could finish. It has no result. Your application and your test are not the cause, it is not counted in any pass rate, and it does not count against your plan’s runs.
Run it again. This is the one case where running the same thing again is the right response.
A batch’s result
Section titled “A batch’s result”A batch has one result, worked out from its runs.
| In Belay | In MCP and the API | What it means |
|---|---|---|
| Running | running |
At least one run has not finished. |
| Passed | passed |
Every workflow ran and passed. |
| Failed | failed |
At least one run failed, ended in error, or stopped because a step needs a change. |
| Incomplete | incomplete |
Nothing failed, but something was not checked: a run ended not found or inconclusive, did not start, was cancelled, or was interrupted. |
What to do with each
Section titled “What to do with each”| Outcome | First thing to do |
|---|---|
| Failed | Read what the step expected and found. If the application is wrong, the test did its job. |
| Not found | Look at the step’s screenshot and its suggested wordings. The step usually needs to name its element more exactly. |
| Inconclusive | Make the check more exact, or name the place it looks in. |
| Error | Read the step’s reason. A page that did not load is usually the application or the environment. |
| Self-healed | Nothing. Read what changed, and if the step’s words no longer match the page, update them when it suits you. If the same step self-heals on most runs, name its element more exactly. |
| Interrupted | Run it again. |
| Needs a change | Open the workflow, change the step as it suggests, and run it again. |
Reading a run shows where each of these appears.