porchlight/tests/e2e
Johan Lundberg 2fc2bdcabb
test: allow disabling rate limiting for e2e runs
The full Playwright suite authenticates ~100 times in a few minutes, far
over the login endpoint's 5/minute limit, so most specs failed at the
beforeEach login with 429s.

Add an OIDC_OP_RATE_LIMIT_ENABLED setting (default True) wired to the
slowapi limiter's enabled flag, and set it to false in tests/e2e/run.sh.
Production behavior is unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 16:32:32 +02:00
..
.gitignore test: add end-to-end browser tests with Playwright 2026-02-16 12:22:58 +01:00
admin.spec.js test: add profile validation e2e tests and fix pre-existing failures 2026-03-16 10:00:46 +01:00
auth-guard.spec.js refactor(e2e): migrate all tests to Playwright Test 2026-02-18 11:37:23 +01:00
credentials.spec.js fix: keep password form visible on validation error 2026-06-03 16:22:01 +02:00
full-flow.spec.js fix: keep password form visible on validation error 2026-06-03 16:22:01 +02:00
health.spec.js refactor(e2e): migrate all tests to Playwright Test 2026-02-18 11:37:23 +01:00
login.spec.js fix(e2e): fix WebAuthn and integration test failures 2026-02-18 12:45:03 +01:00
logout.spec.js test: add e2e tests for logout buttons in admin and manage nav bars 2026-03-10 10:50:44 +01:00
package-lock.json feat: migrate e2e test infrastructure to @playwright/test 2026-02-18 11:10:23 +01:00
package.json feat: migrate e2e test infrastructure to @playwright/test 2026-02-18 11:10:23 +01:00
password-auth.spec.js refactor(e2e): migrate all tests to Playwright Test 2026-02-18 11:37:23 +01:00
playwright.config.js feat: migrate e2e test infrastructure to @playwright/test 2026-02-18 11:10:23 +01:00
profile.spec.js test: add profile validation e2e tests and fix pre-existing failures 2026-03-16 10:00:46 +01:00
registration.spec.js refactor(e2e): migrate all tests to Playwright Test 2026-02-18 11:37:23 +01:00
run.sh test: allow disabling rate limiting for e2e runs 2026-06-03 16:32:32 +02:00
setup_db.py fix: resolve all ruff lint errors and type checker warnings 2026-03-31 15:48:46 +02:00
webauthn.spec.js fix(e2e): fix WebAuthn and integration test failures 2026-02-18 12:45:03 +01:00