Spaces:
Running
Running
Download playwright.config.ts from Felladrin/MiniSearch: direct link, hf CLI and curl.
- Browser
- Download file 631 Bytes
-
https://huggingface.co/spaces/Felladrin/MiniSearch/resolve/main/playwright.config.ts
- Command line
-
hf download hf://spaces/Felladrin/MiniSearch/playwright.config.ts
-
curl -L -o playwright.config.ts https://huggingface.co/spaces/Felladrin/MiniSearch/resolve/main/playwright.config.ts
631 Bytes
| import { defineConfig, devices } from "@playwright/test"; | |
| // ponytail: CI starts docker-compose.production.yml on :7860 (see reusable-check-docker.yml) | |
| const baseURL = process.env.PLAYWRIGHT_BASE_URL ?? "http://127.0.0.1:7860"; | |
| export default defineConfig({ | |
| testDir: "./e2e", | |
| timeout: 90_000, | |
| fullyParallel: true, | |
| forbidOnly: !!process.env.CI, | |
| retries: process.env.CI ? 1 : 0, | |
| reporter: process.env.CI ? "list" : "html", | |
| use: { | |
| baseURL, | |
| trace: "on-first-retry", | |
| screenshot: "only-on-failure", | |
| }, | |
| projects: [ | |
| { | |
| name: "chromium", | |
| use: { ...devices["Desktop Chrome"] }, | |
| }, | |
| ], | |
| }); | |