get_failure_patterns
Analyze when and how tests fail to identify patterns by hour, day, version, browser, site, and duration for flaky test diagnosis and fixes.
Instructions
Analyze when and how tests fail to identify patterns. Returns failure rates by hour, day of week, version, browser/site, and duration analysis.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spec_file": "<spec_file>"
},
"name": "get_failure_patterns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Days to look back (default: 30) | |
| spec_file | Yes | The spec file path | |
| project_id | No | Project ID to filter by (optional) | |
| test_title | No | Specific test title (optional) |