From 63e5881972ccccd075e63628eed0271bef0d3149 Mon Sep 17 00:00:00 2001 From: Michael Chihlas Date: Fri, 12 Jun 2026 20:14:05 -0400 Subject: [PATCH] test(e2e): disable rate limiting in the Playwright backend webserver RATE_LIMIT_ENABLED now defaults on regardless of DEBUG; the e2e suite logs in dozens of times per run from one IP and trips the per-minute auth limits (429 at helpers/api.ts login). Co-Authored-By: Claude Opus 4.7 --- frontend/playwright.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/playwright.config.ts b/frontend/playwright.config.ts index 02d8c9dc..413a225e 100644 --- a/frontend/playwright.config.ts +++ b/frontend/playwright.config.ts @@ -31,6 +31,9 @@ export default defineConfig({ env: { ...process.env, DEBUG: process.env.PLAYWRIGHT_DEBUG || 'true', + // e2e logs in dozens of times per run from one IP — the per-minute + // auth limits would 429 every spec after the first few. + RATE_LIMIT_ENABLED: 'false', SECRET_KEY: process.env.PLAYWRIGHT_SECRET_KEY || 'playwright-test-secret-key', DATABASE_URL: backendDatabaseUrl, DATABASE_URL_SYNC: backendDatabaseUrlSync,