Add Playwright E2E suite (46 tests) + app testids + test_cases.md

- e2e/: full Playwright suite covering every spec case (staff auth/UI,
  welcome + session check-in, attendee access/gating, connections,
  profile visibility, speaker material, sponsor, feedback, E2E journeys,
  role security matrix). 46/46 passing.
- apps/convivo: add data-testid attributes (gate, tabs, scanner, toggles)
  to support the E2E suite.
- test_cases.md: spec-case-to-test coverage map (all cases fully covered).
- .gitignore: ignore e2e node_modules/reports/test-results.

Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
committed 2026-09-09 10:13:26 +02:00
1 parent b08a439949
commit d5ec009cb5
44 files changed
+3715 -26

No files matched your search

+2 -2
View File
@@ -149,7 +149,7 @@ export function Home({ go }: { go: (tab: string) => void }) {
</div>
<div className="row" style={{ gap: 8 }}>
{pendingMaterial.length > 0 && (
<div className="material-pill" onClick={() => setMaterialSheetOpen(true)}>
<div className="material-pill" data-testid="material-pill" onClick={() => setMaterialSheetOpen(true)}>
📎 {pendingMaterial.length}
</div>
)}
@@ -159,7 +159,7 @@ export function Home({ go }: { go: (tab: string) => void }) {
{/* Pending feedback: nudge to rate a session they attended. */}
{feedbackPending.length > 0 && (
<button className="feedback-pill" onClick={() => go('agenda')}>
<button className="feedback-pill" data-testid="feedback-pill" onClick={() => go('agenda')}>
⭐ {feedbackPending.length === 1 ? 'Rate your last session' : `Rate ${feedbackPending.length} sessions`}
</button>
)}