Download playwright.config.ts from NAP1320/RotNot: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/spaces/NAP1320/RotNot/resolve/main/playwright.config.ts
- Command line
-
hf download hf://spaces/NAP1320/RotNot/playwright.config.ts
-
curl -L -o playwright.config.ts https://huggingface.co/spaces/NAP1320/RotNot/resolve/main/playwright.config.ts
383 Bytes
| import { defineConfig } from '@playwright/test'; | |
| export default defineConfig({ | |
| testDir: './e2e', | |
| use: { | |
| baseURL: 'http://192.168.1.166:3101', | |
| headless: true, | |
| screenshot: 'only-on-failure', | |
| video: 'retain-on-failure', | |
| }, | |
| webServer: { | |
| command: 'npm run dev', | |
| url: 'http://192.168.1.166:3101', | |
| reuseExistingServer: true, | |
| timeout: 30000, | |
| }, | |
| }); | |