{"_id":"@aforautomation/playwright-reporter","_rev":"7-497fd1e0a1405de6fbea08b690cb6077","name":"@aforautomation/playwright-reporter","dist-tags":{"latest":"1.0.8"},"versions":{"1.0.2":{"name":"@aforautomation/playwright-reporter","version":"1.0.2","author":{"name":"Afor Automation"},"license":"Apache-2.0","_id":"@aforautomation/playwright-reporter@1.0.2","maintainers":[{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"}],"dist":{"shasum":"3e1c1927dd86bc75e4b41bd970f51a4185daf826","tarball":"https://registry.npmjs.org/@aforautomation/playwright-reporter/-/playwright-reporter-1.0.2.tgz","fileCount":40,"integrity":"sha512-9A1N4myz0EySJq2joUskpujvOuqc/Nv176TfeJArHjn6Jlj8oZR0W9UDSkZh9sIh+mV4+CntUkWVlC2OUNzxGQ==","signatures":[{"sig":"MEQCICJPsHt4hQL8jfYd0yYONCLYKVKO2cLpKS6i65Jsxq3HAiBS21YE0yLd8NdlYsK2yrzD8ntzI08Bz/hloWpt/ppvXA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":136430},"main":"dist/afor-reporter.js","type":"commonjs","types":"dist/afor-reporter.d.ts","gitHead":"7f73b5b8c27390033d125940efdbe60ef5aa01fa","scripts":{"test":"playwright test","build":"tsc -p tsconfig.json","clean":"rm -rf dist node_modules test-results reports afor-playwright-reporter-*.tgz; npm ci; npm run build","prepare":"npm run build","test:ui":"playwright test --ui","postbuild":"node scripts/copy-assets.js","show:report-afor":"node scripts/show-afor-report.js","show:report-playwright":"playwright show-report reports/playwright"},"_npmUser":{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"},"repository":{"url":"git@github.com-afor:afor-automation/playwright.git","type":"git"},"_npmVersion":"11.16.0","description":"An extension to Playwright, adding new features and functionality from the base installation","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"26.3.0","dependencies":{"react":"^19.0.0","webpack":"^5.98.0","chart.js":"^4.4.8","react-dom":"^19.0.0","ts-loader":"^9.5.2","css-loader":"^7.1.2","typescript":"^5.7.3","@types/react":"^19.0.10","react-chartjs-2":"^5.3.1","copy-webpack-plugin":"^14.0.0","html-webpack-plugin":"^5.6.3","terser-webpack-plugin":"^5.3.14","mini-css-extract-plugin":"^2.9.2","css-minimizer-webpack-plugin":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"playwright":"^1.50.1","webpack-cli":"^6.0.1","@types/react-dom":"^19.0.4"},"peerDependencies":{"@playwright/test":"^1.50.1"},"_npmOperationalInternal":{"tmp":"tmp/playwright-reporter_1.0.2_1781741149844_0.20969431180424714","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@aforautomation/playwright-reporter","version":"1.0.3","author":{"name":"Afor Automation"},"license":"Apache-2.0","_id":"@aforautomation/playwright-reporter@1.0.3","maintainers":[{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"}],"dist":{"shasum":"5512a18d1f4f23b2855717a6e2bc214b4ab95801","tarball":"https://registry.npmjs.org/@aforautomation/playwright-reporter/-/playwright-reporter-1.0.3.tgz","fileCount":46,"integrity":"sha512-4S1kaxNqedq43CeegoKU6YmFB5o0yuiLLQyqi9JWF9MOn8dMMMCFGvOIjOwblwXNt7NkAiy26bKMwXssw0sgxg==","signatures":[{"sig":"MEQCIF2u0wOCeg/iyOjKFrB88JdGViO+5Qn7FEVkAWRcCe6IAiBSLKid6ywIUGQlnq7+XQw2YG8EU3wfubIdq9lB7gdvkQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":141917},"main":"dist/afor-reporter.js","type":"commonjs","types":"dist/afor-reporter.d.ts","gitHead":"e1a788299ea8fc12aa099061947612eba05db7f8","scripts":{"test":"playwright test","build":"tsc -p tsconfig.json","clean":"rm -rf dist node_modules test-results reports afor-playwright-reporter-*.tgz; npm ci; npm run build","prepare":"npm run build","test:ui":"playwright test --ui","postbuild":"node scripts/copy-assets.js","report:dev":"vite --config vite.report.config.mjs --host 127.0.0.1","report:dev:host":"vite --config vite.report.config.mjs --host 0.0.0.0","show:report-afor":"node scripts/show-afor-report.js","show:report-playwright":"playwright show-report reports/playwright"},"_npmUser":{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz","approver":{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"}},"repository":{"url":"git@github.com-afor:afor-automation/playwright.git","type":"git"},"_npmVersion":"11.16.0","description":"An extension to Playwright, adding new features and functionality from the base installation","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"26.3.0","dependencies":{"react":"^19.0.0","webpack":"^5.98.0","chart.js":"^4.4.8","react-dom":"^19.0.0","ts-loader":"^9.5.2","css-loader":"^7.1.2","typescript":"^5.7.3","@types/react":"^19.0.10","react-chartjs-2":"^5.3.1","copy-webpack-plugin":"^14.0.0","html-webpack-plugin":"^5.6.3","terser-webpack-plugin":"^5.3.14","mini-css-extract-plugin":"^2.9.2","css-minimizer-webpack-plugin":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.16","playwright":"^1.50.1","webpack-cli":"^6.0.1","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^6.0.2"},"peerDependencies":{"@playwright/test":"^1.50.1"},"_npmOperationalInternal":{"tmp":"tmp/playwright-reporter_1.0.3_1782358539261_0.024740519853879928","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@aforautomation/playwright-reporter","version":"1.0.4","author":{"name":"Afor Automation"},"license":"Apache-2.0","_id":"@aforautomation/playwright-reporter@1.0.4","maintainers":[{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"}],"homepage":"https://github.com/afor-automation/playwright#readme","bugs":{"url":"https://github.com/afor-automation/playwright/issues"},"dist":{"shasum":"ef2b4285483bbe71f59a7f00d20fbeb524f4ee81","tarball":"https://registry.npmjs.org/@aforautomation/playwright-reporter/-/playwright-reporter-1.0.4.tgz","fileCount":48,"integrity":"sha512-TS89E9T6MEFz8V8mAXZKHVFoaGsM2+o+J1BIkEvoqF1R3HMdqhAFSMT0pGeFiY8qTl9geLATWkLPDfDJD6KJSA==","signatures":[{"sig":"MEUCIQCSph5pUvTcBR0J7pyyCCf2Wq1YwIl8HiDwsb9pmTd4fwIgc8OzbKL3kpfxMyG86uymQ5RCrFJYl1tUgyFpRv7r66I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":314206},"main":"dist/afor-reporter.js","type":"commonjs","types":"dist/afor-reporter.d.ts","engines":{"node":">=20.9.0"},"gitHead":"d690d98baae935589bf9df3d014ff3012d26ebfc","scripts":{"test":"playwright test","build":"tsc -p tsconfig.json","clean":"rm -rf dist node_modules test-results reports aforautomation-playwright-reporter-*.tgz; npm install; npm run build","prepare":"npm run build","test:ui":"playwright test --ui","postbuild":"node scripts/copy-assets.js","report:dev":"vite --config vite.report.config.mjs --host 127.0.0.1","report:dev:host":"vite --config vite.report.config.mjs --host 0.0.0.0","show:report-afor":"node scripts/show-afor-report.js","show:report-playwright":"playwright show-report test-results/reports/playwright"},"_npmUser":{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz","approver":{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"}},"repository":{"url":"git+ssh://git@github.com/afor-automation/playwright.git","type":"git"},"_npmVersion":"11.16.0","description":"A custom Playwright reporter that generates an Afor-branded HTML report.","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"26.3.0","dependencies":{"react":"^19.0.0","webpack":"^5.98.0","chart.js":"^4.4.8","react-dom":"^19.0.0","ts-loader":"^9.5.2","css-loader":"^7.1.2","typescript":"^5.7.3","@types/react":"^19.0.10","react-chartjs-2":"^5.3.1","copy-webpack-plugin":"^14.0.0","html-webpack-plugin":"^5.6.3","terser-webpack-plugin":"^5.3.14","mini-css-extract-plugin":"^2.9.2","css-minimizer-webpack-plugin":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.16","playwright":"^1.50.1","webpack-cli":"^6.0.1","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^6.0.2"},"peerDependencies":{"@playwright/test":"^1.50.1"},"_npmOperationalInternal":{"tmp":"tmp/playwright-reporter_1.0.4_1782358773474_0.6484690341289572","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@aforautomation/playwright-reporter","version":"1.0.5","author":{"name":"Afor Automation"},"license":"Apache-2.0","_id":"@aforautomation/playwright-reporter@1.0.5","maintainers":[{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"}],"homepage":"https://github.com/afor-automation/playwright#readme","bugs":{"url":"https://github.com/afor-automation/playwright/issues"},"bin":{"afor-playwright":"dist/initializer.js"},"dist":{"shasum":"ee8af6f1ffb52cd2aed16f7170c4a1fcb549189b","tarball":"https://registry.npmjs.org/@aforautomation/playwright-reporter/-/playwright-reporter-1.0.5.tgz","fileCount":50,"integrity":"sha512-+44tDk/M2UTLBRXh2uCsq6buaLYdSFG+tWf272dKrycjSvvKWKq5tL9IesaEatuh9i0R+mwdWQ5A1PFJbcTBEQ==","signatures":[{"sig":"MEQCIB/0eVRDzPo2o88A0jioFpqyNz2qq05+JuXRgwv7AaVXAiB9xlUT/mcSrKQgo00reZxA5kjGGbfZDjlBvIM6i2Lj3A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":327478},"main":"dist/afor-reporter.js","type":"commonjs","types":"dist/afor-reporter.d.ts","engines":{"node":">=20.9.0"},"gitHead":"8718d02f1886704902debbbb3c3e91dfdb58e9f1","scripts":{"test":"playwright test","build":"rm -rf dist && tsc -p tsconfig.json","clean":"rm -rf dist node_modules test-results reports aforautomation-playwright-reporter-*.tgz; npm install; npm run build","prepack":"npm run build","test:ui":"playwright test --ui","postbuild":"node scripts/copy-assets.js","report:dev":"vite --config vite.report.config.mjs --host 127.0.0.1","report:dev:host":"vite --config vite.report.config.mjs --host 0.0.0.0","show:report-afor":"playwright show-report test-results/reports/afor","show:report-playwright":"playwright show-report test-results/reports/playwright"},"_npmUser":{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz","approver":{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"}},"repository":{"url":"git+ssh://git@github.com/afor-automation/playwright.git","type":"git"},"_npmVersion":"11.16.0","description":"A custom Playwright reporter that generates an Afor-branded HTML report.","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"26.3.0","dependencies":{"react":"^19.0.0","webpack":"^5.98.0","chart.js":"^4.4.8","react-dom":"^19.0.0","ts-loader":"^9.5.2","css-loader":"^7.1.2","typescript":"^5.7.3","@types/react":"^19.0.10","react-chartjs-2":"^5.3.1","copy-webpack-plugin":"^14.0.0","html-webpack-plugin":"^5.6.3","terser-webpack-plugin":"^5.3.14","mini-css-extract-plugin":"^2.9.2","css-minimizer-webpack-plugin":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.16","playwright":"^1.50.1","webpack-cli":"^6.0.1","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^6.0.2"},"peerDependencies":{"@playwright/test":"^1.50.1"},"_npmOperationalInternal":{"tmp":"tmp/playwright-reporter_1.0.5_1783327638067_0.3003212752444633","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@aforautomation/playwright-reporter","version":"1.0.6","author":{"name":"Afor Automation"},"license":"Apache-2.0","_id":"@aforautomation/playwright-reporter@1.0.6","maintainers":[{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"}],"homepage":"https://github.com/afor-automation/playwright#readme","bugs":{"url":"https://github.com/afor-automation/playwright/issues"},"bin":{"afor-playwright":"dist/initializer.js"},"dist":{"shasum":"9ce2b53ea75941796aee12c5a2b598f859dc0eef","tarball":"https://registry.npmjs.org/@aforautomation/playwright-reporter/-/playwright-reporter-1.0.6.tgz","fileCount":50,"integrity":"sha512-Tn4IE1fNwzkXPJSM3VIDijQ4BwccyNnGh+2PlE8zqg84ys4sMfe6NtR84y4/KhyXb6OlI4nHUTPk0jEm1sa4jg==","signatures":[{"sig":"MEUCIQCuzG5JQHPCB5NBD5q1LEn+0zSB+uFVFy4xwfUNdy8IUAIgCb+7youj8S3tjrlX9a/VtE2IvRfLdKcWIdDMhUgoIJc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":335478},"main":"dist/afor-reporter.js","type":"commonjs","types":"dist/afor-reporter.d.ts","engines":{"node":">=20.9.0"},"gitHead":"314492a1b0e4472e6e60732de7de31a4d9f196dd","scripts":{"test":"playwright test","build":"rm -rf dist && tsc -p tsconfig.json","clean":"rm -rf dist node_modules test-results reports aforautomation-playwright-reporter-*.tgz; npm install; npm run build","prepack":"npm run build","test:ui":"playwright test --ui","postbuild":"node scripts/copy-assets.js","report:dev":"vite --config vite.report.config.mjs --host 127.0.0.1","report:dev:host":"vite --config vite.report.config.mjs --host 0.0.0.0","show:report-afor":"playwright show-report test-results/reports/afor","show:report-playwright":"playwright show-report test-results/reports/playwright"},"_npmUser":{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz","approver":{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"}},"repository":{"url":"git+ssh://git@github.com/afor-automation/playwright.git","type":"git"},"_npmVersion":"11.16.0","description":"A custom Playwright reporter that generates an Afor-branded HTML report.","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"26.3.0","dependencies":{"react":"^19.0.0","webpack":"^5.98.0","chart.js":"^4.4.8","react-dom":"^19.0.0","ts-loader":"^9.5.2","css-loader":"^7.1.2","typescript":"^5.7.3","@types/react":"^19.0.10","react-chartjs-2":"^5.3.1","copy-webpack-plugin":"^14.0.0","html-webpack-plugin":"^5.6.3","terser-webpack-plugin":"^5.3.14","mini-css-extract-plugin":"^2.9.2","css-minimizer-webpack-plugin":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.16","playwright":"^1.50.1","webpack-cli":"^6.0.1","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^6.0.2"},"peerDependencies":{"@playwright/test":"^1.50.1"},"_npmOperationalInternal":{"tmp":"tmp/playwright-reporter_1.0.6_1784537518687_0.35458179097231124","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@aforautomation/playwright-reporter","version":"1.0.7","author":{"name":"Afor Automation"},"license":"Apache-2.0","_id":"@aforautomation/playwright-reporter@1.0.7","maintainers":[{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"}],"homepage":"https://github.com/afor-automation/playwright#readme","bugs":{"url":"https://github.com/afor-automation/playwright/issues"},"bin":{"afor-playwright":"dist/initializer.js"},"dist":{"shasum":"f827dbc62f0e7b16054c02827b20dca8ab588afc","tarball":"https://registry.npmjs.org/@aforautomation/playwright-reporter/-/playwright-reporter-1.0.7.tgz","fileCount":60,"integrity":"sha512-SkOeQsJ75GdHK8gr0yj3NObLS4c08kZcCrEn+10XG/BrUBCpdoFS47lFL6HuvU2MntgPLvpChoeV9Ha7TCidKw==","signatures":[{"sig":"MEUCIE8usbCLdQ0G0YzSnMlsF14DdaUGGeewYdo3eX0KVBSkAiEAxv9F0NIwfbI0Z51DvMFkRRpZCQc190NxADnjpmtr4XM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":353229},"main":"dist/afor-reporter.js","type":"commonjs","types":"dist/afor-reporter.d.ts","engines":{"node":">=20.9.0"},"gitHead":"f7b3f50f9aeffd65b2b147c233a12182ce9952b9","scripts":{"test":"playwright test","build":"rm -rf dist && tsc -p tsconfig.json","clean":"rm -rf dist node_modules test-results reports aforautomation-playwright-reporter-*.tgz; npm install; npm run build","prepack":"npm run build","test:ui":"playwright test --ui","postbuild":"node scripts/copy-assets.js","report:dev":"vite --config vite.report.config.mjs --host 127.0.0.1","report:dev:host":"vite --config vite.report.config.mjs --host 0.0.0.0","show:report-afor":"playwright show-report test-results/reports/afor","show:report-playwright":"playwright show-report test-results/reports/playwright"},"_npmUser":{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz","approver":{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"}},"repository":{"url":"git+ssh://git@github.com/afor-automation/playwright.git","type":"git"},"_npmVersion":"11.16.0","description":"A custom Playwright reporter that generates an Afor-branded HTML report.","directories":{"doc":"docs","test":"tests"},"_nodeVersion":"26.3.0","dependencies":{"react":"^19.0.0","webpack":"^5.98.0","chart.js":"^4.4.8","react-dom":"^19.0.0","ts-loader":"^9.5.2","css-loader":"^7.1.2","typescript":"^5.7.3","@types/react":"^19.0.10","react-chartjs-2":"^5.3.1","copy-webpack-plugin":"^14.0.0","html-webpack-plugin":"^5.6.3","terser-webpack-plugin":"^5.3.14","mini-css-extract-plugin":"^2.9.2","css-minimizer-webpack-plugin":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.16","playwright":"^1.50.1","webpack-cli":"^6.0.1","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^6.0.2"},"peerDependencies":{"@playwright/test":"^1.50.1"},"_npmOperationalInternal":{"tmp":"tmp/playwright-reporter_1.0.7_1785746441772_0.7533493389947186","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"_id":"@aforautomation/playwright-reporter@1.0.8","bin":{"afor-playwright":"dist/initializer.js"},"bugs":{"url":"https://github.com/afor-automation/playwright/issues"},"dist":{"shasum":"1bef40f50872ff78778473238bc4e3801c7d2c65","tarball":"https://registry.npmjs.org/@aforautomation/playwright-reporter/-/playwright-reporter-1.0.8.tgz","integrity":"sha512-k1hyz9V3d8cL8glz8f34Et2wnlDlIjXOVAig6I9+M65KXTtwgfIlUOFDd/yJgEsX5X4Y+46bJTnPAp/AuIwtoQ==","fileCount":62,"unpackedSize":355853,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBkpwaTrrMblUm8SsML0IcytY4XCl8Cl8KInAQXFN+x2AiAyHPfgQbVM07gNWZqghfdfHvlJzhXax/7mWMYBjdNoTA=="}]},"main":"dist/afor-reporter.js","name":"@aforautomation/playwright-reporter","type":"commonjs","types":"dist/afor-reporter.d.ts","author":{"name":"Afor Automation"},"engines":{"node":">=20.9.0"},"gitHead":"e7d5c0ed54c3099b59842169ed8f8f433d65c006","license":"Apache-2.0","scripts":{"test":"playwright test","build":"rm -rf dist && tsc -p tsconfig.json","clean":"rm -rf dist node_modules test-results reports aforautomation-playwright-reporter-*.tgz; npm install; npm run build","prepack":"npm run build","test:ui":"playwright test --ui","postbuild":"node scripts/copy-assets.js","report:dev":"vite --config vite.report.config.mjs --host 127.0.0.1","report:dev:host":"vite --config vite.report.config.mjs --host 0.0.0.0","show:report-afor":"playwright show-report test-results/reports/afor","show:report-playwright":"playwright show-report test-results/reports/playwright"},"version":"1.0.8","_npmUser":{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz","approver":{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"}},"homepage":"https://github.com/afor-automation/playwright#readme","repository":{"url":"git+ssh://git@github.com/afor-automation/playwright.git","type":"git"},"_npmVersion":"11.16.0","description":"A custom Playwright reporter that generates an Afor-branded HTML report.","directories":{"doc":"docs","test":"tests"},"maintainers":[{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"}],"_nodeVersion":"26.3.0","dependencies":{"react":"^19.0.0","webpack":"^5.98.0","chart.js":"^4.4.8","react-dom":"^19.0.0","ts-loader":"^9.5.2","css-loader":"^7.1.2","typescript":"^5.7.3","@types/react":"^19.0.10","react-chartjs-2":"^5.3.1","copy-webpack-plugin":"^14.0.0","html-webpack-plugin":"^5.6.3","terser-webpack-plugin":"^5.3.14","mini-css-extract-plugin":"^2.9.2","css-minimizer-webpack-plugin":"^8.0.0"},"devDependencies":{"vite":"^8.0.16","playwright":"^1.50.1","webpack-cli":"^6.0.1","@types/react-dom":"^19.0.4","@vitejs/plugin-react":"^6.0.2"},"peerDependencies":{"@playwright/test":"^1.50.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/playwright-reporter_1.0.8_1785806060512_0.6721247921746598"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-18T00:05:49.679Z","modified":"2026-08-04T01:14:20.830Z","1.0.2":"2026-06-18T00:05:49.994Z","1.0.3":"2026-06-25T03:35:39.350Z","1.0.4":"2026-06-25T03:39:33.582Z","1.0.5":"2026-07-06T08:47:18.170Z","1.0.6":"2026-07-20T08:51:58.776Z","1.0.7":"2026-08-03T08:40:41.849Z","1.0.8":"2026-08-04T01:14:20.624Z"},"bugs":{"url":"https://github.com/afor-automation/playwright/issues"},"author":{"name":"Afor Automation"},"license":"Apache-2.0","homepage":"https://github.com/afor-automation/playwright#readme","repository":{"url":"git+ssh://git@github.com/afor-automation/playwright.git","type":"git"},"description":"A custom Playwright reporter that generates an Afor-branded HTML report.","maintainers":[{"name":"matt-at-afor","email":"matt.belcher@afor.co.nz"}],"readme":"# Afor Playwright Reporter\n\nA custom [Playwright Test](https://playwright.dev/) reporter that generates an\nAfor-branded HTML report alongside Playwright's standard HTML report.\n\n## Report preview\n\n![Afor report screenshot](https://cdn.jsdelivr.net/npm/@aforautomation/playwright-reporter@1.0.4/docs/afor-report-screenshot.png)\n\n## Requirements\n\n- Node.js 20.9 or later\n- Playwright Test 1.50.1 or later\n\n## Installation\n\nChoose one setup path.\n\n### Option 1: create a new project with the initializer\n\nUse this when you want a fresh Playwright project with Afor reporting fully configured.\n\nFrom the parent directory, create a new project directory:\n\n```bash\nnpm exec --package @aforautomation/playwright-reporter -- afor-playwright init my-tests\ncd my-tests\n```\n\nOr, from an empty project directory, initialize the current directory:\n\n```bash\nnpm exec --package @aforautomation/playwright-reporter -- afor-playwright init\n```\n\nUse one of the commands above, not both.\n\nThe initializer creates a Playwright config, a smoke test, report scripts, and\ninstalls `@playwright/test` plus `@aforautomation/playwright-reporter`.\n\nAfter setup, run the generated smoke test:\n\n```bash\nnpm test\n```\n\n### Option 2: add Afor reporting to an existing Playwright project\n\nUse this when your project already has a Playwright config. Playwright Test may\nalready be installed, but it is not required.\n\n```bash\nnpm exec --package @aforautomation/playwright-reporter -- afor-playwright init\n```\n\nThe initializer keeps the existing Playwright configuration and tests\nunchanged. It detects installed dependencies, installs Playwright Test or the\nAfor reporter only when needed, and prints an example of the complete reporter\nsetting to add manually to the existing config.\n\nAfter adding that entry, see\n[Existing Playwright project](#existing-playwright-project) for the complete\nconfiguration example.\n\n### Option 3: manual setup for a new Playwright project\n\nUse this when you do not want to use the initializer.\n\n```bash\nnpm install --save-dev @playwright/test @aforautomation/playwright-reporter\nnpx playwright install chromium\n```\n\nThen copy the starter config and add a smoke test. See\n[Manual starter configuration](#manual-starter-configuration).\n\n## Configuration\n\n### Manual starter configuration\n\nSkip this section if you used the initializer.\n\nThe package includes a starter configuration for consumer projects. Copy it to\nthe root of your project:\n\n```bash\ncp node_modules/@aforautomation/playwright-reporter/playwright.consumer.config.ts playwright.config.ts\n```\n\nThe starter configuration runs tests from `tests/`, stores test artifacts under\n`test-results/artifacts`, and generates both the Afor and standard Playwright\nHTML reports. Review its test-runner settings and adjust them for your project.\n\nCreate the `tests/` directory and add `tests/smoke-test.spec.ts`:\n\n```ts\nimport { expect, test } from '@playwright/test'\n\ntest(\n  'Afor reporter smoke test',\n  { tag: '@smoke' },\n  async ({ page }) => {\n    await test.step('Open a blank page', async () => {\n      await page.goto('about:blank')\n      await expect(page).toHaveTitle('')\n    })\n  },\n)\n```\n\nThis test exercises a browser, assertion, tag, and test step so the generated\nreports contain enough information to verify the reporter.\n\n### Existing Playwright project\n\nIf your project already has `playwright.config.ts`, keep your existing settings\nand add the Afor reporter to its `reporter` array. The following example also\nkeeps terminal output and Playwright's standard HTML report:\n\n```ts\nimport { defineConfig } from '@playwright/test'\n\nexport default defineConfig({\n  outputDir: 'test-results/artifacts',\n  reporter: [\n    ['list'],\n    [\n      'html',\n      {\n        open: 'never',\n        outputFolder: 'test-results/reports/playwright',\n      },\n    ],\n    [\n      '@aforautomation/playwright-reporter',\n      {\n        outputFolder: 'test-results/reports/afor',\n        reportTitle: 'Afor Automation Report',\n        dateFormat: 'dd/MM/yyyy HH:mm:ss',\n      },\n    ],\n  ],\n})\n```\n\nThe `list` and Playwright HTML reporters are optional. Keep them if you want\nterminal output and the standard Playwright HTML report alongside the Afor\nreport.\n\n### Afor reporter options\n\nThe reporter accepts these options in `playwright.config.ts`:\n\n- `outputFolder`: Afor report output directory.\n- `reportTitle`: Title shown in the Afor report header.\n- `dateFormat`: Date/time pattern using `yyyy`, `MM`, `dd`, `HH`, `mm`, and\n  `ss`.\n- `dateLocale`: Locale used by the default date formatter when `dateFormat` is\n  not set.\n- `timeZone`: Time zone used by the default date formatter when `dateFormat` is\n  not set.\n\n## Running tests\n\nRun your Playwright test suite as usual:\n\n```bash\nnpx playwright test\n```\n\nThe reporters generate:\n\n- Afor report: `test-results/reports/afor/index.html`\n- Playwright report: `test-results/reports/playwright/index.html`\n\nReports are generated even when tests fail.\n\n## Opening reports\n\nServe the Afor report:\n\n```bash\nnpx playwright show-report test-results/reports/afor\n```\n\nServe the standard Playwright report:\n\n```bash\nnpx playwright show-report test-results/reports/playwright\n```\n\nYou can add shortcuts to your project's `package.json`:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"playwright test\",\n    \"show:report:afor\": \"playwright show-report test-results/reports/afor\",\n    \"show:report:playwright\": \"playwright show-report test-results/reports/playwright\"\n  }\n}\n```\n\nThen run:\n\n```bash\nnpm run show:report:afor\nnpm run show:report:playwright\n```\n\n## License\n\nLicensed under the [Apache License 2.0](./LICENCE).\n","readmeFilename":"README.md"}