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
@@ -73,8 +73,8 @@ export function Connections() {
|
||||
<section className="screen">
|
||||
<div className="h1">Connections</div>
|
||||
<div className="seg">
|
||||
<button className={tab === 'mine' ? 'active' : ''} onClick={() => setTab('mine')}>My connections</button>
|
||||
<button className={tab === 'req' ? 'active' : ''} onClick={() => setTab('req')}>
|
||||
<button className={tab === 'mine' ? 'active' : ''} data-testid="connections-tab-mine" onClick={() => setTab('mine')}>My connections</button>
|
||||
<button className={tab === 'req' ? 'active' : ''} data-testid="connections-tab-req" onClick={() => setTab('req')}>
|
||||
Requests {incoming.length + outgoing.length > 0 && <span className="pill violet" style={{ marginLeft: 4 }}>{incoming.length + outgoing.length}</span>}
|
||||
</button>
|
||||
</div>
|
||||
@@ -120,8 +120,8 @@ export function Connections() {
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
<button className="btn primary small" onClick={() => resolve(c.id, true)}>Accept</button>
|
||||
<button className="btn small" onClick={() => resolve(c.id, false)}>Decline</button>
|
||||
<button className="btn primary small" data-testid="connection-accept" onClick={() => resolve(c.id, true)}>Accept</button>
|
||||
<button className="btn small" data-testid="connection-decline" onClick={() => resolve(c.id, false)}>Decline</button>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user