test: complete persistence and browser safety net

This commit is contained in:
2026-08-14 13:43:37 +02:00
parent 9a4da41b49
commit 545eb013bd
14 changed files with 392 additions and 120 deletions
+23
View File
@@ -0,0 +1,23 @@
import { defineConfig } from '@playwright/test'
const port = 18788
export default defineConfig({
testDir: './e2e',
fullyParallel: false,
workers: 1,
retries: 0,
timeout: 30_000,
use: {
baseURL: `http://127.0.0.1:${port}`,
headless: true,
viewport: { width: 1280, height: 720 },
},
webServer: {
command: 'npm run e2e:serve',
url: `http://127.0.0.1:${port}/api/health`,
reuseExistingServer: false,
timeout: 120_000,
gracefulShutdown: { signal: 'SIGTERM', timeout: 10_000 },
},
})