import { defineConfig } from "@playwright/test"; export default defineConfig({ testDir: "./tests/e2e", timeout: 30_000, use: { baseURL: process.env.PLAYWRIGHT_BASE_URL ?? "http://127.0.0.1:3008", viewport: { width: 1600, height: 1000 }, screenshot: "only-on-failure", trace: "retain-on-failure", }, outputDir: "../test-artifacts/playwright", });