Spaces:
Sleeping
Sleeping
File size: 628 Bytes
c24efc8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: 'tests/e2e',
timeout: 60_000,
fullyParallel: false,
workers: 1,
use: { baseURL: 'http://localhost:4173', viewport: { width: 390, height: 844 } },
webServer: {
command: 'rm -rf .data-e2e && npm run build && node build',
port: 4173,
reuseExistingServer: false,
timeout: 180_000,
env: {
STORAGE: 'local',
LOCAL_DATA_DIR: '.data-e2e',
SESSION_SECRET: 'e2e-secret-e2e-secret-e2e-secret-e2e',
PORT: '4173',
ORIGIN: 'http://localhost:4173',
BODY_SIZE_LIMIT: '8M',
COMPACTION_INTERVAL_MS: '3600000'
}
}
});
|