import { defineConfig } from "@playwright/test"; export default defineConfig({ testDir: "./tests/e2e", testMatch: "*.e2e.js", use: { baseURL: "https://localhost:3000", browser: "chromium", ignoreHTTPSErrors: true }, webServer: { command: "npm run start:imex", port: 3000, reuseExistingServer: !process.env.CI // Reuse server locally, not in CI } });