diff options
Diffstat (limited to 'frontend/playwright.config.ts')
| -rw-r--r-- | frontend/playwright.config.ts | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/frontend/playwright.config.ts b/frontend/playwright.config.ts index a44a03e..26e0b59 100644 --- a/frontend/playwright.config.ts +++ b/frontend/playwright.config.ts @@ -1,25 +1,25 @@ import { defineConfig, devices } from '@playwright/test'; export default defineConfig({ - testDir: './tests', - fullyParallel: true, - forbidOnly: !!process.env.CI, - retries: process.env.CI ? 2 : 0, - workers: 1, // Avoid VM crash - reporter: 'html', - use: { - baseURL: 'http://localhost:5173', // Vite dev server - trace: 'on-first-retry', - }, - projects: [ - { - name: 'chromium', - use: { ...devices['Desktop Chrome'] }, - }, - ], - webServer: { - command: 'npm run dev', - url: 'http://localhost:5173', - reuseExistingServer: !process.env.CI, + testDir: './tests', + fullyParallel: true, + forbidOnly: !!process.env.CI, + retries: process.env.CI ? 2 : 0, + workers: 1, // Avoid VM crash + reporter: 'html', + use: { + baseURL: 'http://localhost:5173', // Vite dev server + trace: 'on-first-retry', + }, + projects: [ + { + name: 'chromium', + use: { ...devices['Desktop Chrome'] }, }, + ], + webServer: { + command: 'npm run dev', + url: 'http://localhost:5173', + reuseExistingServer: !process.env.CI, + }, }); |
