diff options
Diffstat (limited to 'playground/playwright.config.ts')
| -rw-r--r-- | playground/playwright.config.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/playground/playwright.config.ts b/playground/playwright.config.ts new file mode 100644 index 0000000..0cc4d72 --- /dev/null +++ b/playground/playwright.config.ts @@ -0,0 +1,17 @@ +import { defineConfig } from '@playwright/test'; + +const baseURL = process.env.PLAYWRIGHT_BASE_URL ?? 'http://127.0.0.1:1337'; + +export default defineConfig({ + testDir: './e2e', + timeout: 120_000, + expect: { + timeout: 10_000, + }, + retries: process.env.CI ? 1 : 0, + use: { + baseURL, + headless: true, + trace: 'on-first-retry', + }, +}); |
