morse-code / playwright.config.js
RemiFabre
feat: initial Reachy Mini Morse Code app
843a4b2
Raw
History Blame Contribute Delete
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,
},
});