feat(test): add e2e tests for openid (#1178)

This commit is contained in:
kolaente
2025-07-29 13:00:41 +02:00
committed by GitHub
parent c09be9c4b0
commit 0a688b41b3
3 changed files with 32 additions and 11 deletions

View File

@@ -298,6 +298,11 @@ jobs:
needs:
- api-build
- frontend-build
services:
dex:
image: ghcr.io/go-vikunja/dex-testing:main
ports:
- 5556:5556
strategy:
# when one test fails, DO NOT cancel the other
# containers, because this will kill Cypress processes
@@ -339,6 +344,11 @@ jobs:
VIKUNJA_DATABASE_PATH: memory
VIKUNJA_DATABASE_TYPE: sqlite
VIKUNJA_RATELIMIT_NOAUTHLIMIT: 1000
VIKUNJA_AUTH_OPENID_ENABLED: 1
VIKUNJA_AUTH_OPENID_PROVIDERS_DEX_NAME: Dex
VIKUNJA_AUTH_OPENID_PROVIDERS_DEX_AUTHURL: http://dex:5556
VIKUNJA_AUTH_OPENID_PROVIDERS_DEX_CLIENTID: vikunja
VIKUNJA_AUTH_OPENID_PROVIDERS_DEX_CLIENTSECRET: secret
with:
install: false
working-directory: frontend