Improve Playwright tests (#7752)

* Allow to lower KDF iterations for tests

* Only read CLIENT_KDF_ITER in builds with unsafe_test_mode

---------

Co-authored-by: Timshel <timshel@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-11-23 02:17:01 +01:00
1 parent cdf2035433
commit 6f7a7f7034
6 files changed
+67 -12

No files matched your search

+4
View File
@@ -6,6 +6,8 @@ services:
build:
context: ..
dockerfile: Dockerfile
args:
DB: sqlite,mysql,postgresql,unsafe_test_mode
entrypoint: /bin/bash
restart: "no"
@@ -23,12 +25,14 @@ services:
env_file: ${DC_ENV_FILE:-.env}
environment:
- ADMIN_TOKEN
- CLIENT_KDF_ITER
- DATABASE_URL
- CLIENT_SUPPRESS_ONBOARDING
- EMAIL_2FA_AUTO_FALLBACK
- I_REALLY_WANT_VOLATILE_STORAGE
- LOG_LEVEL
- LOGIN_RATELIMIT_MAX_BURST
- PASSWORD_ITERATIONS
- SMTP_HOST
- SMTP_FROM
- SMTP_DEBUG