Skip to main content

Editing a test

Metadata (name, description, priority) and, for backend tests, the dependency declarations (--produces, --needs, --category; see Creating Tests):
Frontend plan steps:
The file is a JSON object with a planSteps array (≤ 200 steps, ≤ 256 KB). Optionally pass --expected-step-count <n>; the server returns 412 if the current count differs, so nothing is silently overwritten. Backend test code:
codeVersion is an opaque token that changes on every code change. If the test has a newer version than --expected-version, the CLI exits 6; re-fetch the code and retry. The two flags are mutually exclusive. More in The Agent Loop.

Deleting tests

--confirm is required.
The CLI prints Deleted N, Skipped M, Failed K. A 404 counts as skipped, so already-deleted IDs are safe to pass. Exit 0 if everything was deleted or skipped, 1 if any deletion failed, 5 for validation errors.

Where to Go Next

Running Tests

Trigger runs and poll for verdicts

Reading Results

Failure bundles, steps, and run history