Some checks are pending
CI / Lint bridge (Biome) (push) Waiting to run
CI / Type-check bridge (push) Blocked by required conditions
CI / Tests unit bridge (push) Blocked by required conditions
CI / Tests integration bridge (push) Blocked by required conditions
CI / Security scan (push) Waiting to run
CI / Docker build + healthcheck (push) Blocked by required conditions
E2E Playwright / Playwright e2e (chromium) (push) Waiting to run
7 scenarios covering the full bridge+DocAdenice+Baserow chain: auth login, database-view insert, inline edit persistence, SSE realtime update (no reload), RBAC write-denied, kanban drag-drop, calendar reschedule. Includes docker-compose.e2e.yml (Postgres+Redis+Baserow+bridge+DocAdenice), playwright.config.ts (3 projects: chromium/firefox/webkit), auth+baserow+cleanup fixtures, global setup (API login + Baserow seed), and GitHub Actions e2e.yml. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
# Environment variables for docker-compose.e2e.yml
|
|
# Do NOT commit real secrets here. All defaults are non-sensitive placeholders.
|
|
# In CI, override via GitHub Actions secrets or env injection.
|
|
|
|
# --- DocAdenice server ---
|
|
E2E_DOCMOST_APP_SECRET=e2e_docmost_app_secret_32chars_min_xx
|
|
E2E_DOCMOST_URL=http://localhost:5173
|
|
E2E_DOCMOST_DB_NAME=docmost_e2e
|
|
E2E_DOCMOST_DB_USER=docmost
|
|
E2E_DOCMOST_DB_PASSWORD=docmost_e2e_password
|
|
|
|
# --- Admin credentials (seeded at boot) ---
|
|
E2E_ADMIN_EMAIL=admin@acadenice-e2e.local
|
|
E2E_ADMIN_PASSWORD=E2eAdminPassword123!
|
|
|
|
# --- Restricted user (no rows:write) ---
|
|
E2E_READER_EMAIL=reader@acadenice-e2e.local
|
|
E2E_READER_PASSWORD=E2eReaderPassword123!
|
|
|
|
# --- Baserow ---
|
|
# Token is seeded by the e2e fixture — filled dynamically after Baserow boot.
|
|
# Set to a placeholder; fixture will re-configure via Baserow API.
|
|
E2E_BASEROW_API_TOKEN=e2e_baserow_token_placeholder
|
|
|
|
# --- Bridge ---
|
|
E2E_BRIDGE_API_TOKENS=[{"token":"brg_e2e_admin","name":"e2e-admin","scopes":["admin:*"]}]
|
|
E2E_BASEROW_WEBHOOK_SECRET=e2e_webhook_secret_32_chars_minimum_x
|
|
|
|
# --- Misc ---
|
|
E2E_LOG_LEVEL=warn
|