Fix Cypress: disable allowCypressEnv, hardcode test token, fix CI server wait
Some checks failed
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 12s
Test / e2e-test (push) Failing after 20s

- cypress.config.js: set allowCypressEnv: false
- Replace Cypress.env('ADMIN_TOKEN') with hardcoded test DB token
- CI: use fixed venv path, retry loop for server readiness

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-06 22:11:21 +00:00
parent ec25aebdd9
commit 4fbd18c952
4 changed files with 20 additions and 30 deletions

View File

@@ -9,5 +9,6 @@ export default defineConfig({
viewportHeight: 800,
video: true,
videoCompression: false,
allowCypressEnv: false,
},
})