Spaces:
Running
Running
Download playwright.config.js from RemiFabre/morse-code: direct link, hf CLI and curl.
- Browser
- Download file 608 Bytes
-
https://huggingface.co/spaces/RemiFabre/morse-code/resolve/main/playwright.config.js
- Command line
-
hf download hf://spaces/RemiFabre/morse-code/playwright.config.js
-
curl -L -o playwright.config.js https://huggingface.co/spaces/RemiFabre/morse-code/resolve/main/playwright.config.js
608 Bytes
| import { defineConfig, devices } from "@playwright/test"; | |
| // Smoke test only: serve the static folder and confirm the app's module | |
| // graph (including the CDN host-shell + SDK imports) loads in a real browser | |
| // without fatal errors. The full embed flow needs a live robot. | |
| export default defineConfig({ | |
| testDir: "./tests/e2e", | |
| timeout: 45_000, | |
| use: { | |
| baseURL: "http://localhost:4321", | |
| ...devices["Desktop Chrome"], | |
| }, | |
| webServer: { | |
| command: "python3 -m http.server 4321", | |
| port: 4321, | |
| reuseExistingServer: true, | |
| timeout: 20_000, | |
| }, | |
| }); | |