Closed blazbla274 closed 6 months ago
Playwright allow us to specify reporters via flag in CLI or in Config file.
npx playwright test --reporter=line
import { defineConfig } from '@playwright/test'; export default defineConfig({ reporter: 'line', });
We can also provide array of reporters.
For us, the most important reporters will be:
list
html
json
There is easy way to create custom reporter that will be probably good for us to handle all data.
Playwright allow us to specify reporters via flag in CLI or in Config file.
We can also provide array of reporters.
For us, the most important reporters will be:
list
(default terminal reporter),html
(most popular for users),json
(most important for us to parse and handle all results).There is easy way to create custom reporter that will be probably good for us to handle all data.