Debug Failed Automated Tests
When an automated test fails, the run report holds what you need to find out why: the failure message, the stack trace, the logs, and the traces.
Read the Failure
Section titled “Read the Failure”Open a failed test in the run report. The Failure section shows the error message, and the stack trace below it shows where the test broke. In a long log, search the stack trace for text or a regular expression to find the line you need.

View Playwright Traces
Section titled “View Playwright Traces”A Playwright trace records everything the browser did during a test: actions, network requests, and more.
- Set up S3 storage for artifacts. See Test Artifacts.
- Allow third-party cookies in your browser.
- Run your tests.
- Open a test in the run report.
- Click trace.zip.
The trace opens in the Playwright Trace Viewer.
Stop Runs That Hang
Section titled “Stop Runs That Hang”Sometimes a test never finishes, for example when a gateway goes down or a server stops answering. Set a timeout, and Testomat.io terminates a run that goes past it.
- Go to Settings → Project.
- Enter the number of minutes in Automated runs freeze timeout minutes. The default and shortest value is 30 minutes.
- Save the settings.

A terminated run gets a crossed-out clock icon on the Runs page.
