playwright.config.ts
This file
Path
apps/web/playwright.config.ts
22 lines · 534 bytes · TypeScript
Last changed by
Merge build/comments-web-rest into mainoscabrielbefore adoption0eb1248
History of this fileTake it
Add the live-run tooling: smoke --loop, seed --as, a recording lock for deploys, and a Playwright check of the deployed weboscabrielbefore adoption030c4d6
lines 1–22why, one step back1import { defineConfig, devices } from "@playwright/test";23export default defineConfig({4 forbidOnly: true,5 outputDir: "e2e/out/results",6 projects: [7 {8 name: "chromium",9 use: {10 ...devices["Desktop Chrome"],11 viewport: { height: 800, width: 1280 },12 },13 },14 ],15 reporter: "list",16 retries: 0,17 testDir: "e2e",18 // `*.e2e.ts`, not `*.spec.ts`: the repo's lint gives every `*.spec.ts`19 // vitest's rules, and these are Playwright's tests.20 testMatch: "*.e2e.ts",21 timeout: 60_000,22});