When a test runs, Decipher executes each step and tracks whether it succeeds or fails. This page explains when a test is marked as failed and what information you get to help diagnose the issue.
When a Test Fails
A test is marked as failed when any step does not complete successfully. This includes:
- Element not found - The target element (button, input, link) couldn’t be located on the page
- Action failed - A click, type, or other interaction didn’t produce the expected result
- Assertion failed - A validation check didn’t pass (e.g., expected text wasn’t present)
Failure Data
Each test run captures detailed information to help you understand what went wrong:
Screenshots
- Screenshot taken at each step
- Final screenshot showing the state when failure occurred
- Visual comparison to identify UI changes
Logs
- Console logs from the browser
- Network request logs
Step Details
- Which step failed and why
- Time taken for each step
Session Recording
- Full video replay of the test execution
- See exactly what happened leading up to the failure
- Go to your Tests dashboard
- Click on a failed test run
- Review the step-by-step breakdown
- Click on the failed step to see detailed logs and screenshots
Use the session recording to watch the test execution in real-time. This often reveals issues that aren’t obvious from logs alone.