Explore the checkout flow and find bugs, and the agent decides what to test as it goes. There is no saved test, no step list, and no pull request. Use it to surface bugs your authored tests never anticipated.
When to use it
A discovery run does not save a test. When it finds a flow worth keeping, turn it into a saved test so it runs on every change.
Start from the dashboard
- Open your project and select Tests.
- Click Add test and switch to the Discovery run tab.
- Describe the goal. Leave it empty to use the default goal,
Explore the app and find bugs. A typed goal must be at least 10 characters. - On mobile projects, pick the device and the uploaded app to explore.
- Submit. The dialog closes and the live run opens in the Results tab.
How the agent explores
- The agent opens one exploration step at a time, gives it a title, and reports each bug it finds.
- A failed step does not stop the run. A dead end is recorded as a finding and the agent keeps exploring.
- The run ends when the agent decides the goal is covered, or when it hits a limit.
- Agent instructions, project memory, and your project’s credentials apply to discovery runs like any other run.
Limits
Each discovery run counts as one run toward your usage.
Read the result
Discovery runs use a different verdict than saved tests:
The run description summarizes how many steps were explored, how many passed and failed, how many issues were found, and the agent’s closing assessment. Reported bugs also appear in the project’s Issues tab. See Understand Results for steps, screenshots, and videos.
Start from the API
The response is
202 with status: "queued", the runId, projectId, and resolved platform. Poll GET /api/v1/runs/{id} for the outcome. See the API reference and API keys.
Start from MCP
Coding agents connected through the MCP server can callrun_discovery with a projectId, a goal, and an optional targetUrl, then poll get_run for the verdict. Mobile projects explore the latest uploaded app.