{"_id":"@brittlehq/playwright-reporter","_rev":"8-6b32c5070d8d64b0ff6ba8db602e1006","name":"@brittlehq/playwright-reporter","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.1":{"name":"@brittlehq/playwright-reporter","version":"0.0.1","_id":"@brittlehq/playwright-reporter@0.0.1","maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"dist":{"shasum":"60ca58d4ce39b5ea01d6c5f553d718371929e650","tarball":"https://registry.npmjs.org/@brittlehq/playwright-reporter/-/playwright-reporter-0.0.1.tgz","fileCount":22,"integrity":"sha512-01T0wj8BmJxvBEkEHI3DA+dtnIXSbih9M5kz7O5qwf5QS7Jnw6PVSAAsppKaQd5DnChZ0p7tTYSeUmGFwwXw4Q==","signatures":[{"sig":"MEUCIQCf8yoacH2BQwP76RvqpA31P2Tup0hHjkXnEwXagD+/lQIgHoZnd86ZA0VXYpXsJyxUCbEAEjG3gqf2pPPsyPdDHDo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":123864},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"672bdda4a0d8dff05b0efd743fc787d75354268b","scripts":{"build":"tsc -b","clean":"rm -rf dist","typecheck":"tsc -b"},"_npmUser":{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@brittlehq/shared":"^0.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@playwright/test":"^1.59.1"},"peerDependencies":{"@playwright/test":">=1.40.0"},"_npmOperationalInternal":{"tmp":"tmp/playwright-reporter_0.0.1_1778678008361_0.6409430529222624","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@brittlehq/playwright-reporter","version":"0.0.2","_id":"@brittlehq/playwright-reporter@0.0.2","maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"dist":{"shasum":"a355f172b586342644075c1afdf1ae2e976b3c0d","tarball":"https://registry.npmjs.org/@brittlehq/playwright-reporter/-/playwright-reporter-0.0.2.tgz","fileCount":22,"integrity":"sha512-D1IvRqiYaDObPWBzUCHF6xDMYdduxWjkaGYmBOsUkajKGr2jbgvdocNERoKOzO5NvakjzJgSx3Q2zpbaCcbTrw==","signatures":[{"sig":"MEYCIQDKyb4CVwERJjFpjsoaR5dMZ5zIguwc6IT7wZP72B5ALgIhAOY4sdCUeP27b0RYpgExXbr6frplHL9YfvMdKMCssVv8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124239},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"9e83ed43eb77e1d4d11dac0671fa4c09d9f11c3f","scripts":{"build":"tsc -b","clean":"rm -rf dist","typecheck":"tsc -b"},"_npmUser":{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@brittlehq/shared":"^0.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@playwright/test":"^1.59.1"},"peerDependencies":{"@playwright/test":">=1.40.0"},"_npmOperationalInternal":{"tmp":"tmp/playwright-reporter_0.0.2_1778680919949_0.7351015467883024","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@brittlehq/playwright-reporter","version":"0.0.3","_id":"@brittlehq/playwright-reporter@0.0.3","maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"dist":{"shasum":"7234b7c59e7338d49ef713976d562315df8976ec","tarball":"https://registry.npmjs.org/@brittlehq/playwright-reporter/-/playwright-reporter-0.0.3.tgz","fileCount":22,"integrity":"sha512-dc4USKFvL1+iymBP7gXVX9gRhmK2hLGvO9WfOI4EflBW/gtFbj9H4VG+OfuPAcXo1ZsIut+6XL9r1Pqzk9EXiQ==","signatures":[{"sig":"MEQCIHiq/67YfDVcQbv6U6HsQG0lHJLDutYHfYsTIXK6hcURAiA6djySWnycgaQbRiZVxwVDUhvKa6wWqVwXZPk8cIkwoQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":131465},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"d1eae011a6c9d49dd4f6f38d6445b8d1ee03897f","scripts":{"build":"tsc -b","clean":"rm -rf dist","typecheck":"tsc -b"},"_npmUser":{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@brittlehq/shared":"^0.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@playwright/test":"^1.59.1"},"peerDependencies":{"@playwright/test":">=1.40.0"},"_npmOperationalInternal":{"tmp":"tmp/playwright-reporter_0.0.3_1778682717413_0.4447295541526839","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@brittlehq/playwright-reporter","version":"0.0.4","_id":"@brittlehq/playwright-reporter@0.0.4","maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"dist":{"shasum":"90210cb43e87dc497b3a25091ae6cdb1c361e7b7","tarball":"https://registry.npmjs.org/@brittlehq/playwright-reporter/-/playwright-reporter-0.0.4.tgz","fileCount":22,"integrity":"sha512-EyX3lqIpJjrCQnEmbiV7VYFj11wqtO94VWa+8DllVU9Orh0yZ6FHsnfIQnR959uCwRG56Ara4UJsWMGy//IfdQ==","signatures":[{"sig":"MEUCIC9JvrxfuZHmLHRDkp6zT6K7oY7SHAer36H40vYgk70iAiEA+aSCxurZFZj+/kQWkxYbeqgoEEb/v+39MzTq+GjyM7k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133164},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"e6c51303c750cf114bef476e5b00706d38746c9d","scripts":{"build":"tsc -b","clean":"rm -rf dist","typecheck":"tsc -b"},"_npmUser":{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@brittlehq/shared":"^0.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@playwright/test":"^1.59.1"},"peerDependencies":{"@playwright/test":">=1.40.0"},"_npmOperationalInternal":{"tmp":"tmp/playwright-reporter_0.0.4_1778685711873_0.7585565075329697","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@brittlehq/playwright-reporter","version":"0.0.5","_id":"@brittlehq/playwright-reporter@0.0.5","maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"dist":{"shasum":"0ceb574828fdae80c385f42badbe87ea07c4020c","tarball":"https://registry.npmjs.org/@brittlehq/playwright-reporter/-/playwright-reporter-0.0.5.tgz","fileCount":22,"integrity":"sha512-K4kl8tK6rt48AHrQnISUljAiRnyG/zl/tYnTlt8oOGmyiftIKUZPEVSpEUUI1YWxc6Fkll7f69eTG1Tj5HIO4Q==","signatures":[{"sig":"MEQCIANqL+RPx9H2G6P0SUh4h62xPF+DOoLVq80+clv1+9FEAiBRgSOmWB0Vp8vGSslYtaiuvEEMLpl7RWV96T9N3E6dNQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":132378},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"e6c51303c750cf114bef476e5b00706d38746c9d","scripts":{"build":"tsc -b","clean":"rm -rf dist","typecheck":"tsc -b"},"_npmUser":{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@brittlehq/shared":"^0.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@playwright/test":"^1.59.1"},"peerDependencies":{"@playwright/test":">=1.40.0"},"_npmOperationalInternal":{"tmp":"tmp/playwright-reporter_0.0.5_1778686951406_0.7809478389551261","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@brittlehq/playwright-reporter","version":"0.1.0","keywords":["brittle","playwright","reporter","test","testing","ci"],"license":"Apache-2.0","_id":"@brittlehq/playwright-reporter@0.1.0","maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"homepage":"https://brittle.dev","bugs":{"url":"https://github.com/brittlehq/brittle/issues"},"dist":{"shasum":"fecb165f77c02597afca56ffb79c8b99ac25c419","tarball":"https://registry.npmjs.org/@brittlehq/playwright-reporter/-/playwright-reporter-0.1.0.tgz","fileCount":23,"integrity":"sha512-H/uXV4Yf/0rlKwt2J6+aMfLv7dLyPRejqM9ts4qwjxMEi2LhJ0nbQdeK/kOo1I41y0aAMAY2Fho+eyi/vr45sA==","signatures":[{"sig":"MEYCIQCQR1xCpnn7kVShe3gyekf9H1MR3gSGCGPHbgF1gV26vAIhAK8SrCkt4/wV1M/L0Do+at6NJgDqZKbfP24oIQ7Dq6ej","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103774},"main":"./dist/index.js","type":"module","_from":"file:brittlehq-playwright-reporter-0.1.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"scripts":{"build":"tsc -b","clean":"rm -rf dist .tsbuild*","typecheck":"tsc -b"},"_npmUser":{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"},"_resolved":"/private/var/folders/7d/35flldkd1m12mzfw9r8wjht00000gn/T/214a2b89f6e1247f4b70afa2e4f352e0/brittlehq-playwright-reporter-0.1.0.tgz","_integrity":"sha512-H/uXV4Yf/0rlKwt2J6+aMfLv7dLyPRejqM9ts4qwjxMEi2LhJ0nbQdeK/kOo1I41y0aAMAY2Fho+eyi/vr45sA==","repository":{"url":"git+https://github.com/brittlehq/brittle.git","type":"git","directory":"packages/playwright-reporter"},"_npmVersion":"10.8.2","description":"Brittle reporter for Playwright — streams test results to the Brittle Hub in real time","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@brittlehq/shared":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@playwright/test":"^1.59.1"},"peerDependencies":{"@playwright/test":">=1.40.0"},"_npmOperationalInternal":{"tmp":"tmp/playwright-reporter_0.1.0_1779525587632_0.41185523107271016","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@brittlehq/playwright-reporter","version":"0.2.0","keywords":["brittle","playwright","reporter","test","testing","ci"],"license":"Apache-2.0","_id":"@brittlehq/playwright-reporter@0.2.0","maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"homepage":"https://brittle.dev","bugs":{"url":"https://github.com/brittlehq/brittle/issues"},"dist":{"shasum":"f9f0c35664ae66543161131586a56602f1688613","tarball":"https://registry.npmjs.org/@brittlehq/playwright-reporter/-/playwright-reporter-0.2.0.tgz","fileCount":23,"integrity":"sha512-+cjSxK7PyF+z0Eu2KKNeU39eOZy8J/etEsj89J26rC0mMZG5FQ3wzJpUu3Voyu8TynhZb1gX4AtUUwoSANIwqQ==","signatures":[{"sig":"MEYCIQDjlP2v842sZsDD2+UIhSkzDioVgHqrsIGBAJ8Wcey1bQIhAMMiOxX4W0VHgQ17tGvjOHWNwCt7IcJpYqHB6IQbhbAD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@brittlehq%2fplaywright-reporter@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":103095},"main":"./dist/index.js","type":"module","_from":"file:brittlehq-playwright-reporter-0.2.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"scripts":{"build":"tsc -b","clean":"rm -rf dist .tsbuild*","typecheck":"tsc -b"},"_npmUser":{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"},"_resolved":"/tmp/00a627959d32108d4fe9432fa29b9800/brittlehq-playwright-reporter-0.2.0.tgz","_integrity":"sha512-+cjSxK7PyF+z0Eu2KKNeU39eOZy8J/etEsj89J26rC0mMZG5FQ3wzJpUu3Voyu8TynhZb1gX4AtUUwoSANIwqQ==","repository":{"url":"git+https://github.com/brittlehq/brittle.git","type":"git","directory":"packages/playwright-reporter"},"_npmVersion":"10.8.2","description":"Brittle reporter for Playwright — streams test results to the Brittle Hub in real time","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@brittlehq/shared":"0.2.0","@brittlehq/reporter-core":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@playwright/test":"^1.59.1"},"peerDependencies":{"@playwright/test":">=1.40.0"},"_npmOperationalInternal":{"tmp":"tmp/playwright-reporter_0.2.0_1779554814655_0.3113007133702146","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@brittlehq/playwright-reporter","version":"0.2.1","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","dependencies":{"@brittlehq/shared":"0.2.0","@brittlehq/reporter-core":"0.1.2"},"peerDependencies":{"@playwright/test":">=1.40.0"},"devDependencies":{"@playwright/test":"^1.59.1"},"license":"Apache-2.0","homepage":"https://brittle.dev","repository":{"type":"git","url":"git+https://github.com/brittlehq/brittle.git","directory":"packages/playwright-reporter"},"bugs":{"url":"https://github.com/brittlehq/brittle/issues"},"publishConfig":{"access":"public"},"engines":{"node":">=20"},"description":"Brittle reporter for Playwright — streams test results to the Brittle Hub in real time","keywords":["brittle","playwright","reporter","test","testing","ci"],"scripts":{"build":"tsc -b","typecheck":"tsc -b","clean":"rm -rf dist .tsbuild*"},"_id":"@brittlehq/playwright-reporter@0.2.1","_integrity":"sha512-YHeIrLYWREiny32wguVq2pbLh/KJr9eMQkiccZx9vwfNTqT7xczJ1SbAgbG8tfIOV+G7RpsL9MXPbkPLKFUWxA==","_resolved":"/tmp/182014e13b751764508d9c6d3199fb5a/brittlehq-playwright-reporter-0.2.1.tgz","_from":"file:brittlehq-playwright-reporter-0.2.1.tgz","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-YHeIrLYWREiny32wguVq2pbLh/KJr9eMQkiccZx9vwfNTqT7xczJ1SbAgbG8tfIOV+G7RpsL9MXPbkPLKFUWxA==","shasum":"8377eaac15491f9baa36de9e3654b6157d64f017","tarball":"https://registry.npmjs.org/@brittlehq/playwright-reporter/-/playwright-reporter-0.2.1.tgz","fileCount":23,"unpackedSize":103095,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@brittlehq%2fplaywright-reporter@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCrzLjqllMFMqnN4uafdE95xTteYw+YkQq/9mecS59QhwIgGEYTkIZ+TVPX6amqRfHUttdRqoEzfZZ9EZsXAAalN/s="}]},"_npmUser":{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"},"directories":{},"maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/playwright-reporter_0.2.1_1779558216227_0.7502223947395177"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-13T13:13:28.271Z","modified":"2026-05-23T17:43:36.733Z","0.0.1":"2026-05-13T13:13:28.625Z","0.0.2":"2026-05-13T14:02:00.116Z","0.0.3":"2026-05-13T14:31:57.564Z","0.0.4":"2026-05-13T15:21:52.044Z","0.0.5":"2026-05-13T15:42:31.572Z","0.1.0":"2026-05-23T08:39:47.777Z","0.2.0":"2026-05-23T16:46:54.822Z","0.2.1":"2026-05-23T17:43:36.404Z"},"bugs":{"url":"https://github.com/brittlehq/brittle/issues"},"license":"Apache-2.0","homepage":"https://brittle.dev","keywords":["brittle","playwright","reporter","test","testing","ci"],"repository":{"type":"git","url":"git+https://github.com/brittlehq/brittle.git","directory":"packages/playwright-reporter"},"description":"Brittle reporter for Playwright — streams test results to the Brittle Hub in real time","maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"readme":"# @brittlehq/playwright-reporter\n\nStream Playwright test results to [Brittle](https://brittle.dev) — failure\ntriage, AI-grouped errors, flake history, command + network logs — without\nchanging how your tests run.\n\n## Install\n\n```bash\npnpm add -D @brittlehq/playwright-reporter\n# or: npm i -D @brittlehq/playwright-reporter\n# or: yarn add -D @brittlehq/playwright-reporter\n```\n\n## Configure\n\nAdd the reporter to `playwright.config.ts`:\n\n```ts\nimport { defineConfig } from '@playwright/test';\n\nexport default defineConfig({\n  reporter: [\n    ['list'],\n    [\n      '@brittlehq/playwright-reporter',\n      {\n        url: process.env.BRITTLE_URL,\n        token: process.env.BRITTLE_TOKEN,\n      },\n    ],\n  ],\n});\n```\n\nSet the env vars in your shell or CI:\n\n```bash\nexport BRITTLE_URL=https://brittle.dev          # or your self-hosted hub\nexport BRITTLE_TOKEN=brt_svc_xxxxxxxxxxxxxxxx   # mint at Project → Settings → Tokens\n```\n\nIn CI, set `BRITTLE_TOKEN` as a secret and `BRITTLE_URL` as an environment\nvariable in the workflow.\n\n## All options\n\n```ts\n{\n  url?: string;              // defaults to process.env.BRITTLE_URL\n  token?: string;            // defaults to process.env.BRITTLE_TOKEN\n  runName?: string;          // groups parallel workers into one Run row\n  target?: string;           // 'prod' / 'staging' / app version label\n  tags?: string[];           // e.g. ['nightly', 'smoke']\n  // Explicit git overrides — only set when CI env is more reliable than `git`\n  branch?: string;\n  commitSha?: string;\n  commitMessage?: string;\n  prUrl?: string;\n}\n```\n\nGit context (branch, commit, PR) is auto-detected from the working tree.\n\n## Run\n\n```bash\npnpm exec playwright test\n```\n\nResults appear in the dashboard within a few seconds of `onEnd`.\n\n## Debug logging\n\nThe reporter is quiet by default — only warnings (missing token, upload failures) print to stderr. To see verbose per-test debug output (`onTestEnd` events, retry attempts, individual API calls), set:\n\n```bash\nexport BRITTLE_DEBUG=1\n```\n\nUseful when triaging \"test ran but didn't show up in the dashboard\" issues. Safe to leave on in CI if you want richer logs.\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}