Get failure artifacts from test-results
get_failure_artifactsScans test results to find the latest failure screenshot and trace.zip paths, providing exact paths for root-cause analysis.
Instructions
Scan the test-results directory for failure artifacts: latest screenshot path, trace.zip path. Provides deterministic artifact location so the model never guesses where failure evidence is stored. The model should open the screenshot and pass screenshotPath + tracePath into analyze_and_fix_selector.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Test tag to narrow results to a specific subdirectory (optional, e.g. AUT-589-1) | |
| projectRoot | No | Project root path (defaults to cwd) |