playwright-testreport
v1.0.0
Published
Playwright reporter adapter for the testreport.io-io HTML report dashboard.
Maintainers
Readme
playwright-testreport
Playwright reporter adapter for the testreport.io-io HTML report dashboard.
This package depends on testreport.io-io and gives Playwright users a short package name for configuring the report dashboard.
Installation
npm install --save-dev playwright-testreport testreport.io-ioUsage
In playwright.config.js:
const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
reporter: [
['list'],
['playwright-testreport/reporter', { outputDir: 'custom-report', fileName: 'results.json' }]
]
});Run tests:
npx playwright testOpen the dashboard:
npx playwright-viewer serveRelationship to testreport.io-io
playwright-testreport is a small Playwright adapter package built on top of testreport.io-io.
The main report dashboard, viewer, exports, and analytics are provided by testreport.io-io.
