How-to Guide
Debug a failed test
Find out why a test failed and get a proposed fix as a patch to review.
Objective
Find out why a test failed and get a proposed fix as a patch to review.
Prerequisites
- A run that reads Issues found
- The Member or Admin role, or a custom role with fix access
Procedure
Open the failed test
Open the run in Runs and select the test that failed. The test and the step that failed say why.
Read the evidence
Open the test to see its checks and, for a failed step, a screenshot when the test captured one. Logs shows what each test agent reported.
Explain with AI optionally writes a walkthrough of what happened and why.
Ask for a fix
Click Fix at the top right of the test. Codex is the default; you can instead choose Claude Code, DeepSeek or Kimi with your own API key, unless your admin turned that provider off.
Review the patch
The panel shows a short fix summary, the files and the diff. Choose Download patch, apply it on the commit the diff names and review it like any other change. A draft pull request for the fix, and a sandbox that tests the patch, are planned.
Run again
After your reviewed fix is merged and deployed, choose Run again to check it.
Expected result
You know why the test failed, and you have a patch to review. A fix never changes a result or a decision.
Was this page helpful?