// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0 // The end-to-end suite (`pnpm e2e`): Chromium against the whole app on this machine -- web, worker and // migrate job over a real Postgres with the three roles, and the fake platform for Blob and OCR. One // worker, in order: the specs share the stack, and each makes its own organization. import { defineConfig } from "@playwright/test" const port = Number(process.env.E2E_WEB_PORT ?? 3100) export default defineConfig({ testDir: ".", testMatch: "*.spec.ts", testIgnore: ["better-auth/**"], // kit:convex-better-auth -- gate J-auth has its own run (better-auth/playwright.config.ts) globalSetup: "./support/global-setup.ts", workers: 1, fullyParallel: false, timeout: 90_000, expect: { timeout: 20_000 }, reporter: [["list"]], use: { baseURL: `http://127.0.0.1:${port}`, browserName: "chromium", trace: "retain-on-failure", }, })