1
0
Files
kobopatch-webui/e2e/playwright.config.js
Nico Verbruggen d5347a7093
All checks were successful
Build & Test WASM / build-and-test (push) Successful in 1m40s
Add end-to-end playwright test
2026-03-16 12:13:22 +01:00

20 lines
435 B
JavaScript

const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
testDir: '.',
testMatch: '*.spec.js',
timeout: 300_000,
retries: 0,
use: {
baseURL: 'http://localhost:8889',
launchOptions: {
args: ['--disable-dev-shm-usage'],
},
},
webServer: {
command: 'python3 -m http.server -d ../src/public 8889',
port: 8889,
reuseExistingServer: true,
},
});