Skip to content

Commit 8f05dfb

Browse files
Add help to Playwright config
1 parent 689e142 commit 8f05dfb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

client/playwright.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,19 @@ export default defineConfig({
4141
retries: process.env.CI ? 2 : 0,
4242
/* Opt out of parallel tests on CI. */
4343
workers: process.env.CI ? 1 : undefined,
44-
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
44+
45+
/* Reporter to use. See https://playwright.dev/docs/test-reporters
46+
* Use `--reporter [type]` to override for more information while debugging tests.
47+
* e.g., `npx playwright test --reporter list [args]`
48+
*/
4549
reporter: process.env.CI
4650
? [
4751
["html", { outputFolder: "playwright-report" }],
4852
["json", { outputFile: "results.json" }],
4953
["line"],
5054
]
5155
: [["line"]],
56+
5257
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
5358
use: {
5459
/* Base URL to use in actions like `await page.goto('/')`. */

0 commit comments

Comments
 (0)