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:
1 parent
b08a439949
commit
d5ec009cb5
44 files changed
+3715
-26
No files matched your search
@@ -210,12 +210,12 @@ export function Agenda({ openFeedback }: { openFeedback: (sessionId: string) =>
|
||||
|
||||
{/* Speaker material: non-dismissible notification until uploaded. */}
|
||||
{selNeedsMaterial && (
|
||||
<div className="material-notice">
|
||||
<div className="material-notice" data-testid="material-upload-notice">
|
||||
<div className="mn-title">📎 Upload your session material</div>
|
||||
<div className="muted small" style={{ marginBottom: 10 }}>
|
||||
Attendees can download your slides/notes from this session.
|
||||
</div>
|
||||
<input ref={fileRef} type="file" className="input" onChange={handleUpload} />
|
||||
<input ref={fileRef} type="file" data-testid="material-upload" className="input" onChange={handleUpload} />
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -246,7 +246,7 @@ export function Agenda({ openFeedback }: { openFeedback: (sessionId: string) =>
|
||||
|
||||
<div style={{ display: 'flex', flexDirection: 'column', gap: 8 }}>
|
||||
{selStatus === 'done' && selCheckedIn && (
|
||||
<button className="btn primary" onClick={() => openFeedback(selected.id)}>
|
||||
<button className="btn primary" data-testid="give-feedback" onClick={() => openFeedback(selected.id)}>
|
||||
Give feedback ⭐
|
||||
</button>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user