diff options
Diffstat (limited to 'tests/playwright.config.mjs')
| -rw-r--r-- | tests/playwright.config.mjs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/playwright.config.mjs b/tests/playwright.config.mjs new file mode 100644 index 0000000..fee0815 --- /dev/null +++ b/tests/playwright.config.mjs | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | import { defineConfig } from '@playwright/test'; | ||
| 2 | |||
| 3 | export default defineConfig({ | ||
| 4 | testDir: '.', | ||
| 5 | testMatch: '*.spec.mjs', | ||
| 6 | timeout: 60000, | ||
| 7 | retries: 0, | ||
| 8 | use: { | ||
| 9 | headless: true, | ||
| 10 | viewport: { width: 1280, height: 900 }, | ||
| 11 | screenshot: 'only-on-failure', | ||
| 12 | trace: 'on-first-retry', | ||
| 13 | }, | ||
| 14 | reporter: [['list'], ['html', { open: 'never' }]], | ||
| 15 | workers: 1, | ||
| 16 | }); | ||