Files
stemengine_old/frontend/playwright.sing.config.ts
2026-04-16 15:52:46 +09:00

26 lines
582 B
TypeScript

import { defineConfig, devices } from '@playwright/test'
export default defineConfig({
testDir: './e2e',
fullyParallel: true,
retries: 0,
reporter: 'list',
use: {
baseURL: 'http://127.0.0.1:4174',
trace: 'on-first-retry',
serviceWorkers: 'block',
},
webServer: {
command: 'VITE_UI_FLAVOR=sing npm run dev -- --host 127.0.0.1 --port 4174 --strictPort',
url: 'http://127.0.0.1:4174',
timeout: 120 * 1000,
reuseExistingServer: true,
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
})