Initial
This commit is contained in:
commit
b43955e0d9
162 changed files with 15425 additions and 0 deletions
15
playwright.config.ts
Normal file
15
playwright.config.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import { defineConfig } from '@playwright/test';
|
||||
|
||||
export default defineConfig({
|
||||
testDir: 'tests/e2e',
|
||||
// The mock backend keeps session/user state in dev-server module globals, so
|
||||
// specs must not run concurrently against it — one worker keeps state deterministic.
|
||||
fullyParallel: false,
|
||||
workers: 1,
|
||||
webServer: {
|
||||
command: 'VITE_USE_MOCK_API=true npm run dev',
|
||||
port: 5173,
|
||||
reuseExistingServer: !process.env.CI
|
||||
},
|
||||
use: { baseURL: 'http://localhost:5173' }
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue