mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 00:02:43 +02:00
Pass e2e credentials via environment variables
Remove login_user helper and LOGIN_PASSWORD constant, pass E2E_USER and E2E_PASSWORD from the test script to playwright via env vars. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
f76c0acf59
commit
625e46d033
3 files changed
+8
-14
No files matched your search
@@ -44,4 +44,6 @@ if ! curl -sf --max-time 5 "$GITEA_TEST_SERVER_URL/api/v1/users/$E2E_USER" > /de
|
||||
fi
|
||||
|
||||
export GITEA_TEST_SERVER_URL
|
||||
export E2E_USER
|
||||
export E2E_PASSWORD
|
||||
exec pnpm exec playwright test "$@"
|
||||
Reference in new issue
Block a user