Download playwright.coding.config.ts from NAP1320/RotNot: direct link, hf CLI and curl.
- Browser
- Download file 727 Bytes
-
https://huggingface.co/spaces/NAP1320/RotNot/resolve/main/playwright.coding.config.ts
- Command line
-
hf download hf://spaces/NAP1320/RotNot/playwright.coding.config.ts
-
curl -L -o playwright.coding.config.ts https://huggingface.co/spaces/NAP1320/RotNot/resolve/main/playwright.coding.config.ts
727 Bytes
| import { defineConfig } from "@playwright/test"; | |
| // Dedicated E2E config for the Coding Training flow. Runs against a local | |
| // production server on port 3101 and uses the pre-installed Chromium. | |
| export default defineConfig({ | |
| testDir: "./e2e", | |
| testMatch: "coding.spec.ts", | |
| timeout: 60_000, | |
| expect: { timeout: 10_000 }, | |
| fullyParallel: false, | |
| workers: 1, | |
| use: { | |
| baseURL: "http://localhost:3101", | |
| headless: true, | |
| screenshot: "only-on-failure", | |
| launchOptions: { | |
| executablePath: "/opt/pw-browsers/chromium-1194/chrome-linux/chrome", | |
| }, | |
| }, | |
| webServer: { | |
| command: "npm run start -- -p 3101", | |
| url: "http://localhost:3101", | |
| reuseExistingServer: true, | |
| timeout: 60_000, | |
| }, | |
| }); | |