trips) add playwright e2e flows and issue video upload guidance
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m27s
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m27s
This commit is contained in:
21
.env.test
Normal file
21
.env.test
Normal file
@@ -0,0 +1,21 @@
|
||||
# E2E test environment — used by the dev server during Playwright runs.
|
||||
# Never touches trips.db.
|
||||
|
||||
AUTH_URL=http://127.0.0.1:5173/trips/auth
|
||||
AUTH_SECRET=e2e-test-secret-do-not-use-in-production-32b
|
||||
|
||||
LOCAL_AUTH_ENABLED=true
|
||||
LOCAL_AUTH_ARGON2_MEMORY_KB=8192
|
||||
LOCAL_AUTH_ARGON2_TIME_COST=2
|
||||
LOCAL_AUTH_ARGON2_PARALLELISM=1
|
||||
|
||||
# e2e_admin username is matched by isAdminUser() via DB lookup
|
||||
ADMIN_USER_IDS=e2e_admin
|
||||
|
||||
# Separate test database — never touches trips.db
|
||||
DATABASE_URL=file:trips.test.db
|
||||
|
||||
# Synology OIDC — not exercised in E2E tests but must be present to avoid startup errors
|
||||
SYNOLOGY_ISSUER=https://cloud.campbellwireless.net/auth/webman/sso
|
||||
SYNOLOGY_CLIENT_ID=e2e-placeholder
|
||||
SYNOLOGY_CLIENT_SECRET=e2e-placeholder
|
||||
Reference in New Issue
Block a user