Spaces:
Configuration error
Configuration error
Download playwright.config.ts from DavidKRK/https-huggingface-co-davidkrk: direct link, hf CLI and curl.
- Browser
- Download file 412 Bytes
-
https://huggingface.co/spaces/DavidKRK/https-huggingface-co-davidkrk/resolve/main/playwright.config.ts
- Command line
-
hf download hf://spaces/DavidKRK/https-huggingface-co-davidkrk/playwright.config.ts
-
curl -L -o playwright.config.ts https://huggingface.co/spaces/DavidKRK/https-huggingface-co-davidkrk/resolve/main/playwright.config.ts
412 Bytes
| // playwright.config.ts | |
| import { defineConfig } from '@playwright/test'; | |
| export default defineConfig({ | |
| webServer: { | |
| command: 'npm run start', // Commande pour démarrer le serveur | |
| port: 3000, // Port sur lequel le serveur écoute | |
| timeout: 120 * 1000, // Timeout pour le démarrage | |
| reuseExistingServer: !process.env.CI, // Réutiliser le serveur si déjà démarré | |
| }, | |
| }); | |