List flaky tests across multiple runs
list_flaky_testsCompare multiple Playwright JSON reports to detect flaky tests that pass in some runs but fail or time out in others.
Instructions
Compares the same tests across two or more Playwright JSON reports (e.g. the last N CI runs of the same suite) and returns every test whose outcome wasn't consistent - it passed in some runs and failed/timed out in others.
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": {
"reportJsons": "<reportJsons>"
},
"name": "list_flaky_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reportJsons | Yes | Two or more Playwright JSON reporter outputs, oldest first, as raw strings. |