analyze_test_failure
Analyze failed tests with forensic details including logs, screenshots, error classification, and comparison with last passed execution to identify root causes.
Instructions
🔍 Deep forensic analysis of failed test including logs, screenshots, error classification, and similar failures. 💡 NEW: Compare with last passed execution to see what changed! 💡 TIP: Can be auto-invoked from Zebrunner test URLs like: https://workspace.zebrunner.com/projects/PROJECT/automation-launches/LAUNCH_ID/tests/TEST_ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testId | Yes | Test ID (e.g., 5451420) | |
| testRunId | Yes | Test Run ID / Launch ID (e.g., 120806) | |
| projectKey | No | Project key (e.g., 'MCP') - alternative to projectId | |
| projectId | No | Project ID - alternative to projectKey | |
| includeScreenshots | No | Include screenshot links | |
| includeLogs | No | Include log analysis | |
| includeArtifacts | No | Include all test artifacts | |
| includePageSource | No | Include page source analysis | |
| includeVideo | No | Include video URL | |
| analyzeSimilarFailures | No | Find similar failures in the launch | |
| analyzeScreenshotsWithAI | No | Download and analyze screenshots with AI (Claude Vision) | |
| screenshotAnalysisType | No | Screenshot analysis type: basic (metadata+OCR) or detailed (includes Claude Vision) | detailed |
| format | No | Output format: detailed, summary, or jira (ready for Jira ticket creation) | detailed |
| compareWithLastPassed | No | Compare current failure with last passed execution to identify what changed |