Two kinds of tests
All test code is stored and run as Python, so
test code put --language accepts only python.
Create a frontend test from a plan
--project, --type, --name, --description and --priority are ignored when --plan-from is set.
testId, codeVersion, createdAt and, when available, a dashboardUrl.
Create a backend test from code
Dependencies between backend tests
Declare the variables a test produces and consumes; producers run before consumers and teardown tests run last, ontest run --all and on rerun. These flags are backend-only.
Create and run in one command
--run starts a cloud run right after creation; --wait blocks until a terminal status.
0 means the run passed; any other code means it failed, was blocked or timed out (see Exit Codes). Without --env, the run uses the Default environment. --env <name> picks another, and --target-url <url> runs a frontend test against a URL without creating an environment; both are covered in Environments. For --timeout and resuming with test wait <run-id>, see Running Tests.
Creating many tests at once
test create-batch creates up to 50 frontend tests per call (frontend only):
The server allows 60 run triggers per minute per key; the CLI throttles and retries for you.
To change or delete tests, see Editing & Deleting Tests.
Where to Go Next
Running Tests
Trigger runs, poll for verdicts, handle timeouts
Reading Results
Failure bundles, steps, and run history