Wiki/e2e
Corentin JOGUET 90a7de3388
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
chore(deploy): enable bridge service and ignore byan-output
- Uncomment bridge service in compose.yml so stack runs end-to-end on prod
- Add _byan-output/ to .gitignore (BYAN session notes, may contain credentials)
- Untrack previously committed _byan-output/ files
- Include e2e Stagehand config and smoke env template
2026-05-10 15:16:38 +02:00
..
fixtures test(e2e): add Playwright cross-stack tests for R3.1.e database-view 2026-05-08 00:37:23 +02:00
scripts test(e2e): add acadenice full smoke suite — R4.7 2026-05-08 12:20:14 +02:00
tests test(e2e): fix all 7 KO steps in smoke suite — R4.8 (9/9 OK) 2026-05-08 13:16:34 +02:00
.env.smoke.example chore(deploy): enable bridge service and ignore byan-output 2026-05-10 15:16:38 +02:00
.gitignore test(e2e): add acadenice full smoke suite — R4.7 2026-05-08 12:20:14 +02:00
package-lock.json test(e2e): add acadenice full smoke suite — R4.7 2026-05-08 12:20:14 +02:00
package.json chore(deploy): enable bridge service and ignore byan-output 2026-05-10 15:16:38 +02:00
playwright.config.ts test(e2e): add Playwright cross-stack tests for R3.1.e database-view 2026-05-08 00:37:23 +02:00
playwright.smoke.config.ts test(e2e): add acadenice full smoke suite — R4.7 2026-05-08 12:20:14 +02:00
pnpm-lock.yaml chore(deploy): enable bridge service and ignore byan-output 2026-05-10 15:16:38 +02:00
README.md test(e2e): add Playwright cross-stack tests for R3.1.e database-view 2026-05-08 00:37:23 +02:00
SMOKE-REPORT.md test(e2e): fix all 7 KO steps in smoke suite — R4.8 (9/9 OK) 2026-05-08 13:16:34 +02:00
stagehand.config.ts chore(deploy): enable bridge service and ignore byan-output 2026-05-10 15:16:38 +02:00
tsconfig.json test(e2e): add Playwright cross-stack tests for R3.1.e database-view 2026-05-08 00:37:23 +02:00

E2E Playwright — formation-hub (R3.1.e)

Cross-stack end-to-end tests for the bridge + DocAdenice + Baserow chain.

Prerequisites

  • Docker + Docker Compose v2
  • Node 22 + npm
  • The repo cloned locally at /home/imugiii/Documents/jsap/formation-hub

Quick start (local)

# 1. Boot the e2e stack (all services)
docker compose -f docker-compose.e2e.yml --env-file .env.e2e up -d --wait

# 2. Install Playwright and browsers (one-time)
cd e2e
npm install
npx playwright install chromium

# 3. Run all 7 scenarios
npm run e2e

# 4. Headed (interactive) run
npm run e2e:headed

# 5. Debug specific test
npm run e2e:debug -- tests/database-view-insert.spec.ts

# 6. Teardown
cd ..
docker compose -f docker-compose.e2e.yml down -v

Test scenarios

File Scenario
tests/auth-login.spec.ts Login UI -> workspace home
tests/database-view-insert.spec.ts Slash /database -> insert table view -> rows visible
tests/database-view-edit-inline.spec.ts Double-click cell -> edit -> persist after reload
tests/database-view-realtime-sse.spec.ts Baserow API update -> SSE -> UI updates without reload
tests/database-view-rbac-denied.spec.ts User without rows:write -> double-click -> read-only only
tests/database-view-kanban-drag.spec.ts Drag kanban card -> column change -> persist after reload
tests/database-view-calendar-reschedule.spec.ts Drag calendar event -> new date -> persist after reload

Environment

Copy .env.e2e from the repo root and adjust if needed. No real secrets are required for local dev — all defaults are non-sensitive placeholders.

CI

The workflow .github/workflows/e2e.yml runs automatically on push to main and on pull requests. It boots the full stack via Docker Compose, runs the Playwright suite in chromium, and uploads test-results + HTML report as artifacts.