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.
This commit is contained in:
1 parent
e4c8815e52
commit
692df23149
44 files changed
+3715
-26
No files matched your search
@@ -84,7 +84,7 @@ function Shell() {
|
||||
if (isGated) {
|
||||
return (
|
||||
<div className="app">
|
||||
<div className="center" style={{ flex: 1, flexDirection: 'column', gap: 14, padding: 24, textAlign: 'center' }}>
|
||||
<div className="center" data-testid="checkin-required-gate" style={{ flex: 1, flexDirection: 'column', gap: 14, padding: 24, textAlign: 'center' }}>
|
||||
<div style={{ fontSize: 56 }}>🏷️</div>
|
||||
<div className="h1" style={{ textAlign: 'center' }}>Please see a staff member</div>
|
||||
<div className="muted" style={{ textAlign: 'center', maxWidth: 320 }}>
|
||||
@@ -140,6 +140,7 @@ function Shell() {
|
||||
{TABS.map((t) => (
|
||||
<button
|
||||
key={t.id}
|
||||
data-testid={`tab-${t.id}`}
|
||||
className={`tab ${t.id === 'scan' ? 'tab-scan' : ''} ${tab === t.id ? 'active' : ''}`}
|
||||
onClick={() => setTab(t.id)}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user