fix(e2e): add high rate limit env vars to playwright webServer

Set RATE_LIMIT_LIMIT=10000 and RATE_LIMIT_WINDOW=60 so that the
backend started by Playwright doesn't throttle test traffic.

Must be combined with 'make dev-e2e' when running tests against
an already-running backend (reuseExistingServer=true means
Playwright won't restart the backend if one is already on :18080).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
senke 2026-04-05 08:51:46 +02:00
parent 8a2117031b
commit 5f83d96be3

View file

@ -144,6 +144,8 @@ export default defineConfig({
APP_ENV: 'test',
DISABLE_RATE_LIMIT_FOR_TESTS: 'true',
ACCOUNT_LOCKOUT_EXEMPT_EMAILS: 'user@veza.music,artist@veza.music,admin@veza.music,mod@veza.music,new@veza.music',
RATE_LIMIT_LIMIT: '10000',
RATE_LIMIT_WINDOW: '60',
},
},
{