import { defineConfig } from "@playwright/test" export default defineConfig({ testDir: ".", outputDir: "../test-results/paas", testMatch: "*.spec.ts", workers: 1, retries: 0, reporter: "line", use: { channel: "chrome", baseURL: "http://127.0.0.1:43128", video: "off", screenshot: "only-on-failure" }, webServer: { command: "bun x --no-install vite build --config e2e/paas/vite.config.ts && bun x --no-install vite preview --config e2e/paas/vite.config.ts --host 127.0.0.1 --port 43128 --strictPort", cwd: "../..", url: "http://127.0.0.1:43128/e2e/paas/index.html", reuseExistingServer: false, timeout: 120000, }, })