mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-11-19 10:38:20 +01:00
16 lines
490 B
TypeScript
16 lines
490 B
TypeScript
import { defineConfig } from '@playwright/test';
|
|
import { fileURLToPath } from 'node:url';
|
|
|
|
export default defineConfig({
|
|
testDir: '.',
|
|
testMatch: '*.spec.ts',
|
|
fullyParallel: true,
|
|
use: { baseURL: 'http://127.0.0.1:5187', headless: true, trace: 'retain-on-failure' },
|
|
webServer: {
|
|
command: 'pnpm exec vite --config tests/browser/vite.config.ts',
|
|
cwd: fileURLToPath(new URL('../..', import.meta.url)),
|
|
url: 'http://127.0.0.1:5187',
|
|
reuseExistingServer: !process.env.CI,
|
|
},
|
|
});
|