mirror of
https://github.com/samvallad33/vestige.git
synced 2026-04-25 00:36:22 +02:00
28 lines
591 B
TypeScript
28 lines
591 B
TypeScript
|
|
import { defineConfig } from '@playwright/test';
|
||
|
|
|
||
|
|
const PORT = 5199;
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
testDir: './e2e',
|
||
|
|
timeout: 60_000,
|
||
|
|
expect: { timeout: 10_000 },
|
||
|
|
fullyParallel: false,
|
||
|
|
retries: 0,
|
||
|
|
reporter: [['list'], ['html', { open: 'never' }]],
|
||
|
|
use: {
|
||
|
|
baseURL: `http://localhost:${PORT}`,
|
||
|
|
screenshot: 'on',
|
||
|
|
video: 'retain-on-failure',
|
||
|
|
trace: 'retain-on-failure',
|
||
|
|
launchOptions: {
|
||
|
|
args: ['--use-gl=angle', '--ignore-gpu-blocklist'],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
webServer: {
|
||
|
|
command: `npx vite dev --port ${PORT}`,
|
||
|
|
port: PORT,
|
||
|
|
reuseExistingServer: true,
|
||
|
|
timeout: 30_000,
|
||
|
|
},
|
||
|
|
});
|