import { defineConfig, devices } from "@playwright/test"; export default defineConfig({ testDir: "./tests", timeout: 15_000, use: { baseURL: "http://localhost:4321" }, webServer: { command: "npm run preview", url: "http://localhost:4321", reuseExistingServer: true, timeout: 30_000, }, projects: [ { name: "desktop", use: { ...devices["Desktop Chrome"] } }, { name: "mobile", use: { ...devices["Pixel 5"] } }, ], });