Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download web_app/playwright.config.ts from CommunityOne/open-navigator: direct link, hf CLI and curl.
- Browser
- Download file 798 Bytes
-
https://huggingface.co/spaces/CommunityOne/open-navigator/resolve/main/web_app/playwright.config.ts
- Command line
-
hf download hf://spaces/CommunityOne/open-navigator/web_app/playwright.config.ts
-
curl -L -o playwright.config.ts https://huggingface.co/spaces/CommunityOne/open-navigator/resolve/main/web_app/playwright.config.ts
798 Bytes
| import { defineConfig, devices } from '@playwright/test' | |
| /** | |
| * Accessibility checks (#1146; web_docs/docs/development/accessibility.md): axe on the key pages and a keyboard-only walk. | |
| * They run against a dev server that is already up (A11Y_BASE_URL, default the usual Vite on 5173). Files end in `.e2e.ts` | |
| * so vitest leaves them alone. | |
| */ | |
| export default defineConfig({ | |
| testDir: './e2e', | |
| testMatch: /.*\.e2e\.ts$/, | |
| timeout: 90_000, | |
| expect: { timeout: 20_000 }, | |
| fullyParallel: false, | |
| workers: 1, | |
| reporter: [['list']], | |
| use: { | |
| baseURL: process.env.A11Y_BASE_URL ?? 'http://localhost:5173', | |
| viewport: { width: 1280, height: 900 }, | |
| trace: 'off', | |
| }, | |
| projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'], viewport: { width: 1280, height: 900 } } }], | |
| }) | |