run_scenario
Run a verification scenario for a native GUI: define steps and expectations (accessibility, screenshots, queries), then receive a unified report with check breakdowns and diff preview on mismatch.
Instructions
Run a verification scenario in one pass: a fenestra/1 description, optional interaction steps, and a bundle of expectations (emitted intents, a11y, an aria snapshot, a screenshot baseline, query match-counts). Drives the steps, then asserts every expectation against the resulting frame — the screenshot check compares the POST-interaction pixels. Returns a unified report (one ok plus a per-check breakdown) and a preview: the diff image on a screenshot mismatch, else the final render. A failed check is a normal result, not an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario | Yes | The scenario: a `fenestra/1` description, optional `steps`, and an `expect` bundle (emitted/a11y/aria/screenshot/queries). |