Spaces:
Running
Running
Download playwright.config.ts from assafvayner/splitwise: direct link, hf CLI and curl.
- Browser
- Download file 628 Bytes
-
https://huggingface.co/spaces/assafvayner/splitwise/resolve/main/playwright.config.ts
- Command line
-
hf download hf://spaces/assafvayner/splitwise/playwright.config.ts
-
curl -L -o playwright.config.ts https://huggingface.co/spaces/assafvayner/splitwise/resolve/main/playwright.config.ts
628 Bytes
| 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' | |
| } | |
| } | |
| }); | |