slik-report
v1.0.4
Published
A powerful Playwright reporter for aggregating test results, flakiness analysis, and historical trend tracking.
Maintainers
Readme
slik-report
A powerful Playwright reporter for aggregating test results, flakiness analysis, and historical trend tracking.
Installation
npm install slik-report --save-devHow to Use
To use slik-report with Playwright, you need to configure it in your playwright.config.ts file.
Configuration Example
Add slik-report to the reporter array in your playwright.config.ts:
// playwright.config.ts
import { defineConfig } from '@playwright/test';
export default defineConfig({
reporter: [
['json', { outputFile: 'playwright-report/report.json' }],
// Use the Slik Report reporter and pass options
['slik-report', {
input: 'playwright-report/report.json', // Path to the JSON report generated by Playwright
output: 'slik-report.html', // Output file name for the Slik report
history: './slik_history', // Directory to store history data
}]
],
});Options
| Option | Type | Description | Default |
| :-------- | :----- | :----------------------------------------------- | :-------------------------- |
| input | string | Path to the JSON report file generated by Playwright. | playwright-report/report.json |
| output | string | Path where the HTML report will be generated. | slik-report.html |
| history | string | Directory path to store historical run data. | ./slik_history |
License
ISC
