{
  "schemaVersion": 2,
  "timestamp": "2026-02-25T19:00:00.000Z",
  "durationMs": 4200,
  "summary": {
    "total": 1,
    "passed": 0,
    "failed": 0,
    "flaky": 1,
    "skipped": 0,
    "timedOut": 0,
    "interrupted": 0
  },
  "environment": {
    "playwrightVersion": "1.58.2",
    "nodeVersion": "v24.13.1",
    "os": "darwin",
    "workers": 4,
    "retries": 1,
    "projects": ["chromium"]
  },
  "tests": [
    {
      "id": "abc123",
      "title": "Suite > passes on retry",
      "status": "passed",
      "flaky": true,
      "durationMs": 88,
      "location": { "file": "tests/example.spec.ts", "line": 10, "column": 5 },
      "project": "chromium",
      "tags": [],
      "annotations": [],
      "retries": 1,
      "errors": [],
      "attachments": [],
      "stdout": "",
      "stderr": "",
      "steps": [],
      "network": [],
      "timeline": [],
      "attempts": [
        {
          "attempt": 1,
          "status": "failed",
          "durationMs": 44,
          "startTime": "2026-02-25T19:00:00.000Z",
          "workerIndex": 0,
          "parallelIndex": 0,
          "error": {
            "message": "Expected: 1, Received: 2"
          },
          "steps": [
            {
              "title": "outer step",
              "category": "test.step",
              "durationMs": 20,
              "depth": 0,
              "offsetMs": 100
            },
            {
              "title": "inner assertion",
              "category": "pw:api",
              "durationMs": 6,
              "depth": 1,
              "offsetMs": 120,
              "error": "Expected: 1, Received: 2"
            }
          ],
          "stdout": "",
          "stderr": "",
          "consoleMessages": [
            { "type": "warning", "text": "deprecated API used", "offsetMs": 150 },
            { "type": "error", "text": "failed to fetch", "offsetMs": 200 },
            { "type": "pageerror", "text": "Uncaught TypeError: x is undefined", "offsetMs": 250 },
            { "type": "page-closed", "text": "Page closed", "offsetMs": 300 }
          ],
          "attachments": [
            { "name": "trace", "contentType": "application/zip", "path": "trace.zip" }
          ],
          "failureArtifacts": {
            "screenshotBase64": "iVBORw0KGgo...",
            "videoPath": "retry-video.webm"
          },
          "network": [
            {
              "method": "GET",
              "url": "https://app.example.com/start",
              "status": 302,
              "durationMs": 27,
              "offsetMs": 50,
              "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
              "spanId": "00f067aa0ba902b7",
              "redirectToUrl": "https://app.example.com/final",
              "redirectChain": [
                { "url": "https://app.example.com/start", "status": 302 },
                { "url": "https://app.example.com/final", "status": 200 }
              ],
              "timings": {
                "dnsMs": 2,
                "connectMs": 7,
                "sslMs": 4,
                "sendMs": 1,
                "waitMs": 12,
                "receiveMs": 5
              },
              "requestHeaders": {
                "content-type": "application/json",
                "traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01"
              },
              "responseHeaders": {
                "location": "https://app.example.com/final",
                "traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01"
              }
            }
          ],
          "timeline": [
            {
              "kind": "network",
              "offsetMs": 50,
              "method": "GET",
              "url": "https://app.example.com/start",
              "status": 302,
              "durationMs": 27,
              "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
              "spanId": "00f067aa0ba902b7"
            },
            {
              "kind": "step",
              "offsetMs": 100,
              "title": "outer step",
              "category": "test.step",
              "durationMs": 20,
              "depth": 0
            },
            {
              "kind": "step",
              "offsetMs": 120,
              "title": "inner assertion",
              "category": "pw:api",
              "durationMs": 6,
              "depth": 1,
              "error": "Expected: 1, Received: 2"
            },
            {
              "kind": "console",
              "offsetMs": 150,
              "type": "warning",
              "text": "deprecated API used"
            },
            { "kind": "console", "offsetMs": 200, "type": "error", "text": "failed to fetch" },
            {
              "kind": "console",
              "offsetMs": 250,
              "type": "pageerror",
              "text": "Uncaught TypeError: x is undefined"
            },
            { "kind": "console", "offsetMs": 300, "type": "page-closed", "text": "Page closed" }
          ]
        },
        {
          "attempt": 2,
          "status": "passed",
          "durationMs": 88,
          "startTime": "2026-02-25T19:00:01.000Z",
          "workerIndex": 0,
          "parallelIndex": 0,
          "steps": [],
          "stdout": "",
          "stderr": "",
          "consoleMessages": [],
          "attachments": [],
          "network": [],
          "timeline": []
        }
      ]
    }
  ],
  "globalErrors": []
}
