The E2E personas are real accounts on a real deployment, and every place
that needed one carried it as a literal in a public repo: a fallback in
scripts/e2e-inventory-prod.sh, four `|| '...'` defaults across the e2e
specs and their auth helper, a workflow header comment, and two docs
tables. The repo therefore published whose accounts they are — and the
defaults were dead weight besides: CI has supplied both addresses from
the repository secrets of the same name since they were created, so the
literals were an unreachable branch that only ever leaked.
Now there is no default anywhere. The addresses come from
AUTH_TEST_USER_EMAIL and AUTH_TEST_ADMIN_EMAIL, both existing repo
secrets, and the absence of one is an error rather than a quiet
substitution:
- scripts/e2e-inventory-prod.sh requires both with `:?` naming the
secret. The "no passwords configured, skip" path still runs first, so
an unconfigured checkout is unaffected.
- The two consuming jobs guard first and fail with `::error::` naming
the missing secret, instead of dying inside bash or playwright.
- The specs skip a persona when its address is unset, the same way they
already skip on a missing password, rather than attempting a login
with an empty e-mail and reporting it as a broken page.
Unchanged: the e2e-local job, which sets all four addresses to its own
seeded @evig.test fixtures at job level, so the defaults were never
reached there either.
Not addressed here, and still in the tree: the owner's address in the
SUPER_ADMIN_EMAILS allowlist (plus its assertions and the applied SQL
migrations that reference it), and the public contact address in
src/config/org.ts, which is published on purpose. Those are identity and
data, not E2E credentials, and removing them is a separate decision.
Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Living inventory of RevampIT product surfaces. Use this to track audit progress, broken links, and deployment status.
Legend (Status column)
Symbol
Meaning
✅
Deployed and verified (or route exists + smoke-tested)
🟡
Partial, local-only, or not E2E-tested
❌
Broken / missing
⬜
Not audited
Architecture note (not a violation): IT-Hilfe (it_hilfe_requests), Workshops (registrations), and Service appointments (service_appointments) are separate domains. The SSOT violation that was fixed: duplicate /dashboard/appointments vs /dashboard/bookings for the same service_appointments entity.
Dual-persona E2E (how we verify): Every navigable surface is smoke-tested from both accounts:
Persona
Account
Checks
User
non-admin account, from AUTH_TEST_USER_EMAIL
Dashboard, public pages, IT-Hilfe/marketplace/workshops — must be blocked from /admin/*
Admin
staff/super-admin account, from AUTH_TEST_ADMIN_EMAIL
All admin routes plus the same user + public routes
PLAYWRIGHT_BASE_URL=https://revampit.orangecat.ch \
AUTH_TEST_USER_EMAIL='…'AUTH_TEST_USER_PASSWORD='…'\
AUTH_TEST_ADMIN_EMAIL='…'AUTH_TEST_ADMIN_PASSWORD='…'\
npm run test:e2e:inventory
Both addresses are real logins on the target deployment, so they live in the repository secrets of the same name rather than in this file — there is no default for either.
Prod vs dev DB drift (butaeff unverified on Hetzner only)
Login failures on prod
P0
✅ Fixed ops (verify + password + lockout clear)
Auth smoke CI fails (MissingSecret)
CI noise
P3
✅ Uses admin dual-persona fallback; skip when no secrets
Migration drift CI (vector ext)
CI noise
P3
✅ pgvector/pg17 + apply-migrations-ci.sh (104 migrations on fresh DB)
Timecard submit 400 (TIME format)
Submit blocked
P1
✅ API normalizes HH:MM:SS → HH:MM
Timecard approver email missing
Approvers not notified
P1
✅ notifyUsers on submit (journey E2E)
Intake detail crash after publish (selling_price_chf.toFixed)
Published device detail 500
P1
✅ Number() coerce in IntakeDetailView
Dependabot open alerts (nodemailer, OTel, js-yaml, cms-core uuid)
Supply-chain risk
P2
✅ Bumped deps + npm overrides (npm audit 0)
Recommended test order (next)
Run dual-persona inventory on every deploy: automatic via GitHub Actions (post-deploy-e2e job) when AUTH_TEST_USER_PASSWORD + AUTH_TEST_ADMIN_PASSWORD are set; manual: npm run test:e2e:inventory:prod.
Deep journeys (API + multi-step): workshop register — IT-Hilfe ✅ · marketplace checkout ✅ (test:e2e:marketplace:journey; full Payrexx payment when PAYREXX_INSTANCE set on prod).
Phase 4 cleanup — terminology ✅ · community visibility ✅ · CI auth/migration gates ✅
E2E commands:npm run test:e2e:inventory:prod · npm run test:e2e:it-hilfe:journey · npm run test:e2e:it-hilfe:preferred:journey · npm run test:e2e:marketplace:journey · npm run test:e2e:workshops:journey · npm run test:e2e:workshops:proposal:journey · npm run test:e2e:service:journey · npm run test:e2e:timecards:journey · npm run test:e2e:intake:journey · npm run test:e2e:tasks:journey · npm run test:e2e:protocols:journey · npm run test:e2e:decisions:journey · npm run test:e2e:cms:journey