{
  "config": {
    "argv": [
      "/usr/bin/node",
      "/home3/uatservers/public_html/cron.studyineurope.xyz/node_modules/.bin/playwright",
      "test",
      "--project=api"
    ],
    "configFile": "/home3/uatservers/public_html/cron.studyineurope.xyz/playwright.config.ts",
    "rootDir": "/home3/uatservers/public_html/cron.studyineurope.xyz/tests",
    "failOnFlakyTests": false,
    "forbidOnly": true,
    "fullyParallel": false,
    "globalSetup": null,
    "globalTeardown": null,
    "globalTimeout": 0,
    "grep": {},
    "grepInvert": null,
    "maxFailures": 0,
    "metadata": {
      "actualWorkers": 1
    },
    "preserveOutput": "always",
    "projects": [
      {
        "outputDir": "/home3/uatservers/public_html/cron.studyineurope.xyz/test-results",
        "repeatEach": 1,
        "retries": 1,
        "metadata": {
          "actualWorkers": 1
        },
        "id": "api",
        "name": "api",
        "testDir": "/home3/uatservers/public_html/cron.studyineurope.xyz/tests/api",
        "testIgnore": [],
        "testMatch": [
          "**/*.@(spec|test).?(c|m)[jt]s?(x)"
        ],
        "timeout": 60000
      }
    ],
    "quiet": false,
    "reporter": [
      [
        "list",
        null
      ],
      [
        "json",
        {
          "outputFile": "test-results/results.json"
        }
      ]
    ],
    "reportSlowTests": {
      "max": 5,
      "threshold": 300000
    },
    "shard": null,
    "tags": [],
    "updateSnapshots": "missing",
    "updateSourceMethod": "patch",
    "version": "1.63.0",
    "workers": 1,
    "webServer": null
  },
  "suites": [
    {
      "title": "api/race-api.spec.ts",
      "file": "api/race-api.spec.ts",
      "column": 0,
      "line": 0,
      "specs": [],
      "suites": [
        {
          "title": "RACE API - Chat Completion Health Check",
          "file": "api/race-api.spec.ts",
          "line": 59,
          "column": 6,
          "specs": [
            {
              "title": "responds with a valid assistant message within the latency limit",
              "ok": true,
              "tags": [],
              "tests": [
                {
                  "timeout": 60000,
                  "annotations": [],
                  "expectedStatus": "passed",
                  "projectId": "api",
                  "projectName": "api",
                  "results": [
                    {
                      "workerIndex": 0,
                      "parallelIndex": 0,
                      "status": "passed",
                      "duration": 577,
                      "errors": [],
                      "stdout": [
                        {
                          "text": "[RACE API] status=200 durationMs=569\n"
                        },
                        {
                          "text": "[RACE API] PASS - received valid assistant response\n"
                        }
                      ],
                      "stderr": [],
                      "retry": 0,
                      "startTime": "2026-11-30T12:00:03.637Z",
                      "annotations": [],
                      "attachments": []
                    }
                  ],
                  "status": "expected"
                }
              ],
              "id": "2039e73aa07be346586d-935b73f9504cb3457f30",
              "file": "api/race-api.spec.ts",
              "line": 72,
              "column": 7
            },
            {
              "title": "rejects an invalid API key with 401/403",
              "ok": true,
              "tags": [],
              "tests": [
                {
                  "timeout": 60000,
                  "annotations": [],
                  "expectedStatus": "passed",
                  "projectId": "api",
                  "projectName": "api",
                  "results": [
                    {
                      "workerIndex": 0,
                      "parallelIndex": 0,
                      "status": "passed",
                      "duration": 46,
                      "errors": [],
                      "stdout": [
                        {
                          "text": "[RACE API] negative test status=401\n"
                        }
                      ],
                      "stderr": [],
                      "retry": 0,
                      "startTime": "2026-11-30T12:00:04.308Z",
                      "annotations": [],
                      "attachments": []
                    }
                  ],
                  "status": "expected"
                }
              ],
              "id": "2039e73aa07be346586d-94ff73ef22d7910d8902",
              "file": "api/race-api.spec.ts",
              "line": 109,
              "column": 7
            }
          ]
        }
      ]
    }
  ],
  "errors": [],
  "stats": {
    "startTime": "2026-11-30T12:00:03.046Z",
    "duration": 1376.0210000000002,
    "expected": 2,
    "skipped": 0,
    "unexpected": 0,
    "flaky": 0
  }
}