frontend-toegevoegd

This commit is contained in:
2026-10-27 15:34:56 +01:00
parent 777d9f199d
commit 02337fafaa
43 changed files with 10548 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './e2e',
fullyParallel: false,
workers: 1,
retries: 0,
timeout: 60_000,
reporter: 'list',
use: {
...devices['Desktop Chrome'],
baseURL: 'http://127.0.0.1:4200',
trace: 'retain-on-failure',
actionTimeout: 15_000,
screenshot: 'only-on-failure',
launchOptions: process.env['PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH']
? { executablePath: process.env['PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH'] }
: {},
},
webServer: {
command: 'npm start -- --host 127.0.0.1 --port 4200',
url: 'http://127.0.0.1:4200',
reuseExistingServer: !process.env['CI'],
timeout: 60_000,
},
});