Skip to main content
When a Spur test fails, your AI assistant can pull the failure details — step results, console logs, network requests, and screenshots — and help you trace the issue back to your code. Instead of switching between the Spur dashboard and your editor, you stay in one place. The agent gathers the context; you fix the bug.

How It Works

1

Point your agent to the failed run

Tell your agent about the failure: “Help me fix the bug from this failed test” or paste a run ID directly. You can give the Shareable link, or the direct link to the test run.The agent calls get_test_run_overview to identify which steps failed and why.
2

Drill into the details

The agent automatically pulls deeper context using get_test_run_details, get_test_run_console_logs, and get_test_run_network_logs to surface JavaScript errors, failed HTTP requests, or unexpected behavior.
3

Inspect screenshots

If the agent deems it necessary, or you provide that instruction, it retrieves screenshots from the run via get_test_run_screenshots so it can see exactly what happened in the browser.
4

Fix the issue

With the full context available, your agent can help you identify the root cause and suggest or apply a fix directly in your codebase.