assert_run
Execute Playwright end-to-end tests by running saved scenarios or ad-hoc markdown scripts, returning a run ID for async status monitoring.
Instructions
Execute a test scenario and return a run ID. Accepts either a saved scenario_id or ad-hoc markdown. Runs are async — use assert_status to poll for completion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario_id | No | ID of a saved scenario to run. | |
| markdown | No | Optional. Run an ad-hoc scenario without saving it first. | |
| project_id | No | Optional. Associate an ad-hoc markdown run with a project. | |
| request_id | No | Optional. Client-generated idempotency key. Retrying with the same ID returns the existing run. |