import { defineConfig } from "@playwright/test"; export default defineConfig({ testDir: "./tests", // The idle warm-up compiles the MicroPython wasm on the main thread and // can stall the first seconds of a page — assertions wait through it. expect: { timeout: 15000 }, use: { baseURL: "http://localhost:4173", browserName: "chromium", headless: true, }, webServer: { command: "pnpm preview", url: "http://localhost:4173", reuseExistingServer: false, }, });