{
  "id": "tests/playwright",
  "family": "test-results",
  "description": "Compact Playwright test output while preserving failing specs and summary lines.",
  "match": {
    "toolNames": ["exec"],
    "argv0": ["playwright", "pnpm", "npx", "bunx", "yarn", "npm"],
    "argvIncludes": [["playwright"], ["test"]],
    "commandIncludes": ["playwright", "test"]
  },
  "transforms": {
    "stripAnsi": true,
    "dedupeAdjacent": true,
    "trimEmptyEdges": true
  },
  "summarize": {
    "head": 12,
    "tail": 10
  },
  "failure": {
    "preserveOnFailure": true,
    "head": 18,
    "tail": 18
  },
  "counters": [
    {
      "name": "failed",
      "pattern": "\\bfailed\\b",
      "flags": "i"
    },
    {
      "name": "passed",
      "pattern": "\\bpassed\\b",
      "flags": "i"
    }
  ]
}
