get_failure_screenshots
Retrieve screenshots from recent test failures as presigned S3 URLs to inspect the UI state at failure time. Filter by spec file, test title, project, days back, or result limit.
Instructions
Get screenshots from recent test failures. Returns presigned S3 URLs that can be viewed with the Read tool to see exactly what the UI looked like when the test failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Days to look back (default: 7) | |
| limit | No | Maximum screenshots to return (default: 10) | |
| spec_file | Yes | The spec file path (e.g., 'login.spec.js') | |
| project_id | No | Project ID to filter by (optional) | |
| test_title | No | Specific test title to filter by (optional) |