client.testRuns for /test-runs and client.tests for /tests in v0.2.0+. Your application must already be reachable; these operations do not deploy it.
Create and inspect a Test Run
id; Twin Run creation uses runId. Terminal Test Run statuses are completed, failed and cancelled.
Edit and rerun
Use the complete TestConfig from the returned run or your validated configuration. Nested keys are preserved:Save and reuse a test
prompt, startUrl and testConfig instead. Delete only tests you intend to remove:
Retrieve an artifact
Authorization header. Use a relative filename from that run’s artifacts.
Compatibility
client.runs retains older URL-run, event-stream, cancellation and manual PR-run helpers. New browser testing uses the resources above. Configure PR Test Runs through the existing repository workflow.
