This commit is contained in:
gili8420 2026-08-14 00:01:49 +09:00
commit b43955e0d9
162 changed files with 15425 additions and 0 deletions

15
playwright.config.ts Normal file
View 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' }
});