Files
Convivo/test_cases.md
d5ec009cb5 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]>
2026-09-09 10:13:26 +02:00

365 lines
25 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Convivo Acceptance Test Cases
This document maps every case in the **Convivo Acceptance Test Specification** to its
Playwright implementation in `e2e/`, describing what each test actually validates
(steps + assertions) and its current coverage status.
- **Framework:** Playwright (v1.63.0), Chromium headless, single worker.
- **Run:** `cd e2e && npx playwright test` (full suite) · `npx playwright test <name>` (subset) · `npx playwright show-report reports/html`.
- **Result:** **46/46 passing** (3.8 min).
- **Isolation:** every test resets backend state first (`src/helpers/reset.ts`); multi-user tests use one `BrowserContext` per participant (`src/helpers/multi.ts`).
- **Validation model:** assertions read **persisted backend state** (psql helper) and/or call the RPC **as a specific user's JWT** — not just UI toasts.
**Coverage legend:** ✅ full · ⚠️ partial · ❌ missing
---
## Standard identities (spec §4)
| Spec identity | Test identity | Email | QR token | Notes |
|---------------|---------------|-------|----------|-------|
| STAFF_01 | `ID.staff` | jose@appe.at | CVV-STF-2002 | password `appe-admin-2026` |
| ATTENDEE_NEW | `ID.attendeeNew` | lena.huber@gmail.com | CVV-ATT-1000 | reset to not-checked-in |
| ATTENDEE_RETURNING | `ID.attendeeReturning` | felix.berger@outlook.com | CVV-ATT-1001 | reset to checked-in |
| ATTENDEE_A | `ID.attendeeA` | mia.moser@proton.me | CVV-ATT-1002 | |
| ATTENDEE_B | `ID.attendeeB` | jonas.unger@web.de | CVV-ATT-1003 | |
| (extra) | `ID.attendeeC` | emma.dorfer@gmx.at | CVV-ATT-1004 | for independent tests |
| (extra) | `ID.attendeeD` | paul.klein@icloud.com | CVV-ATT-1005 | for independent tests |
| SPEAKER_01 | `ID.speaker` | duncanboyne@hotmail.co.uk | CVV-SPK-9001 | token assigned by reset (seed leaves NULL) |
| SPONSOR_01 | `ID.sponsor` | sponsor@demo.test | CVV-SPO-9001 | created by reset (none in seed) |
Sessions: `SESSION_A` (slot 1, "done", *From Vision to Reality – A Live Launch Moment*), `SESSION_B` (slot 2, "now", *10 Essential tips to kickstart Power Platform Governance*).
---
## §6 Staff Authentication — `staff-auth.spec.ts`
In this app the staff identity is carried by the lanyard QR (which resolves to the
staff contact/email); the staff password is always required. AUTH-001 ("email +
password") and AUTH-002 ("QR + password") therefore both exercise the same
QR→identity + password flow.
### CONV-STAFF-AUTH-001 — staff login (identity + password) succeeds ✅
**Test:** `CONV-STAFF-AUTH-001 staff login (identity + password) succeeds and loads the demo event`
**Validates:**
- Provide staff QR + correct password → `waitForAdmitted()`, `isGated() === false`.
- Staff functionality available: Scan screen shows `scan-mode-staff`.
- Demo Event + timetable load: `eventTitle()` visible, `/slots/` visible.
- No auth error remains: `login-error` has count 0.
### CONV-STAFF-AUTH-002 — staff login via QR + password ✅
**Test:** `CONV-STAFF-AUTH-002 staff login via QR + password succeeds`
**Validates:** QR resolves to staff (confirm screen shows `staff-login-password`); password mandatory; once provided, `waitForAdmitted()`; Demo Event + timetable load.
### CONV-STAFF-AUTH-003 — QR alone does not authenticate ✅
**Test:** `CONV-STAFF-AUTH-003 QR alone does not authenticate staff (password mandatory)`
**Validates:** QR provided, no password → `login-confirm` is **disabled** (cannot continue). Backend: `signInJwt(email, qrToken)` is **rejected** (the QR token is not the staff's auth password).
### CONV-STAFF-AUTH-004 — identity (email) alone does not authenticate ✅
**Test:** `CONV-STAFF-AUTH-004 identity (email) alone does not authenticate staff`
**Validates:** identity provided, no password → `login-confirm` disabled. Backend: `signInJwt(email, '')` rejected.
### CONV-STAFF-AUTH-005 — incorrect staff password rejected (email + QR variants) ✅
**Test:** `CONV-STAFF-AUTH-005 incorrect staff password is rejected (email + QR variants)`
**Validates:** Variant A (UI): wrong password → `login-error` visible, `tab-home` count 0 (no session). Variant B (backend): `signInJwt(email, 'wrong-password-xyz')` rejected.
---
## §7 Staff Frontend — `staff-ui.spec.ts`
### CONV-STAFF-UI-001 — staff frontend renders all areas without errors ✅
**Test:** `CONV-STAFF-UI-001 staff frontend renders all areas without errors`
**Validates** (collects console + page errors, asserts none):
- Demo Event info + timetable (`eventTitle()`, `/slots/`).
- Session information (a session detail sheet opens, then closes).
- Scanner + manual code input (`scanner-manual-code`, `scanner-manual-go`).
- Welcome Check-In + Session Check-In (staff mode, `welcome-checkin-toggle`, `session-selector`).
- Normal Connections (`connections-tab-mine`).
- Profile (`profile-save`).
- No uncaught frontend errors (`errors` array empty).
---
## §8 Staff Welcome Check-In — `checkin-attendee.spec.ts`
### CONV-CHECKIN-001 — welcome check-in via QR persists state ✅
**Test:** `CONV-CHECKIN-001 welcome check-in via QR (manual code) persists state`
**Validates:** staff mode + welcome mode → scan ATTENDEE_NEW (manual code = QR payload) → `welcomeResult()` visible → **backend** `waitForWelcomeCheckedIn(attendeeNew) === true`.
### CONV-CHECKIN-002 — welcome check-in via manual code is equivalent to QR ✅
**Test:** `CONV-CHECKIN-002 welcome check-in via manual code is equivalent to QR`
**Validates:** manual code input → `welcomeResult()` visible → backend welcome-checked-in; **no session check-in created** (`sessionCheckins` empty).
---
## §9 First-Time Attendee Access — `checkin-attendee.spec.ts`
### CONV-ATT-AUTH-001 — attendee gated before welcome check-in ✅
**Test:** `CONV-ATT-AUTH-001 first-time attendee is gated before welcome check-in`
**Validates:** ATTENDEE_NEW logs in → `waitForGated()`; "Please see a staff member" visible; `tab-home` count 0 (normal functionality unavailable).
---
## §10 Real-Time Welcome Check-In Activation — `checkin-attendee.spec.ts`
### CONV-ATT-AUTH-002 — attendee activates automatically after staff check-in ✅
**Test:** `CONV-ATT-AUTH-002 attendee activates automatically after staff welcome check-in (real-time)`
**Validates** (two simultaneous contexts — attendee stays open, no refresh/restart/re-login):
1. Attendee logs in → gated (waiting screen).
2. Staff (separate context) performs welcome check-in → `welcomeResult()` visible.
3. Attendee's open browser lifts the gate automatically (4s poll) → `waitForAdmitted()`, `isGated() === false`, `tab-home` visible.
---
## §11 Returning Attendee — `checkin-attendee.spec.ts`
### CONV-ATT-AUTH-003 — previously checked-in attendee logs in again ✅
**Test:** `CONV-ATT-AUTH-003 returning attendee is not re-gated on re-login`
**Validates:** ATTENDEE_RETURNING logs in → admitted, not gated; **logout** then **log in again** → still admitted, no "Please see a staff member" message (no staff intervention).
---
## §12 Attendee Core Navigation — `attendee-navigation.spec.ts`
### CONV-ATT-UI-001 — validate attendee navigation ✅
**Test:** `CONV-ATT-UI-001 an admitted attendee can navigate all areas without errors`
**Validates** (collects console + page errors, asserts none):
- ATTENDEE_A (admitted) navigates Home → Agenda → Connections → Profile in sequence.
- The app stays associated with the Demo Event (`eventTitle()` visible on Home + Agenda).
- The demo timetable renders (`/slots/` visible on Agenda).
- Connections + Profile areas render.
- Authenticated state is not lost (tab bar present, not re-gated).
- No frontend errors during navigation.
---
## §13–§20 Connections — `connections.spec.ts`
The connection flow: a user scans a peer's lanyard (manual code = the QR payload) → connect sheet → "Connect" → `create_connection_request`. The recipient sees it under Requests → Incoming and Accepts/Declines.
### CONV-CONN-001 — connection request by scanning a peer (QR) ✅
**Test:** `CONV-CONN-001 connection request by scanning a peer (QR)`
**Validates:** A scans B's lanyard → `sendConnection()`; A sees B as **pending (outgoing)**; B is **not** yet an established connection; **backend** a pending A→B row exists.
### CONV-CONN-002 — connection request by manual code is equivalent to QR ✅
**Test:** `CONV-CONN-002 connection request by manual code is equivalent to QR`
**Validates:** manual code input → same pending state as QR; backend pending A→B.
### CONV-CONN-003 — recipient sees the incoming request with Accept/Decline ✅
**Test:** `CONV-CONN-003 recipient sees the incoming request with Accept/Decline` (two contexts)
**Validates:** A sends to B; B sees A as incoming with `connection-accept` + `connection-decline` visible; A still sees the request as pending (outgoing) until B responds.
### CONV-CONN-004 — recipient accepts → established connection both ways ✅
**Test:** `CONV-CONN-004 recipient accepts → established connection both ways` (two contexts)
**Validates:** A sends, B accepts; both see each other in "My connections"; the pending request is no longer actionable; **backend** an accepted A→B row exists.
### CONV-CONN-005 — recipient declines → no connection is created ✅
**Test:** `CONV-CONN-005 recipient declines → no connection is created` (two contexts)
**Validates:** A sends, B declines; no connection created; request removed from actionable incoming; A does not see B as established; **backend** no accepted row.
### CONV-CONN-006 — the Connections area correctly distinguishes the three states ✅
**Test:** `CONV-CONN-006 the Connections area correctly distinguishes the three states`
**Validates** (three states set up via backend RPCs as the relevant users): A↔B accepted (established), A→C pending (outgoing), D→A pending (incoming). The UI separates them: established B in "My connections"; outgoing C + incoming D in Requests; B not in Requests.
### CONV-CONN-007 — staff can send, receive, accept, and decline connection requests ✅
**Test:** `CONV-CONN-007 staff can send, receive, accept, and decline connection requests` (four contexts)
**Validates:** staff→Mia (Mia accepts, both see it); Jonas→staff (staff accepts, both see it); Emma→staff (staff declines, Emma not established). Staff networking fully works.
### CONV-CONN-008 — networking works across roles ✅
**Test:** `CONV-CONN-008 networking works across roles (staff, attendee, speaker, sponsor)` (three contexts)
**Validates:** representative cross-role pairs covering all four roles — speaker→attendee and sponsor→attendee (staff networking is covered by CONN-007). The attendee accepts both; both parties see the established connections; **backend** accepted cross-role rows exist for both the speaker and the sponsor.
---
## §21–§23 Session Check-In — `session-checkin.spec.ts`
### CONV-SESSION-001 — staff checks an attendee into a session (QR) ✅
**Test:** `CONV-SESSION-001 staff checks an attendee into a session (QR)`
**Validates:** staff mode + session mode; **SESSION_A explicitly selected**; scan ATTENDEE_A → `sessionResult()` visible; **backend** `waitForSessionCheckin(attendeeA, SESSION_A) === true`; attendance **not** created for SESSION_B.
### CONV-SESSION-002 — session check-in via manual code is equivalent to QR ✅
**Test:** `CONV-SESSION-002 session check-in via manual code is equivalent to QR`
**Validates:** manual code input → equivalent backend state (ATTENDEE_A, SESSION_A) checked in.
### CONV-SESSION-003 — welcome check-in and session check-in are independent states ✅
**Test:** `CONV-SESSION-003 welcome check-in and session check-in are independent states`
**Validates:** (1) welcome check-in only → welcome-checked-in, **no session attendance created**; (2) then a session check-in (SESSION_A) → a distinct, session-specific state referencing SESSION_A (not SESSION_B).
---
## §24–§26 Profile Email/LinkedIn Visibility — `profile-visibility.spec.ts`
Visibility is enforced by the `lanyard_lookup` / `get_public_contacts` RPCs (which respect the contact's `show_email` / `show_linkedin` toggles). Tests verify the **persisted setting (DB)** and the **value another user actually sees** (via the public RPC the app uses).
### CONV-PROFILE-001 — Show Email enabled → visible to another user ✅
**Test:** `CONV-PROFILE-001 Show Email enabled → visible to another user` (two contexts)
**Validates:** A enables Show Email + saves; setting persists (DB `showEmail === true`); B sees A's email via the public RPC (`show_email === true`).
### CONV-PROFILE-002 — Show Email disabled → hidden from another user ✅
**Test:** `CONV-PROFILE-002 Show Email disabled → hidden from another user` (two contexts)
**Validates:** A disables Show Email + saves; persists (DB `false`); B cannot see A's email (`show_email === false`).
### CONV-PROFILE-003 — Show LinkedIn enabled → visible to another user ✅
**Test:** `CONV-PROFILE-003 Show LinkedIn enabled → visible to another user` (two contexts)
**Validates:** A sets a LinkedIn URL + enables Show LinkedIn + saves; persists (DB `true`); B sees A's LinkedIn URL via the public RPC.
### CONV-PROFILE-004 — Show LinkedIn disabled → hidden from another user ✅
**Test:** `CONV-PROFILE-004 Show LinkedIn disabled → hidden from another user` (two contexts)
**Validates:** A sets a LinkedIn URL but disables Show LinkedIn + saves; persists (DB `false`); B cannot see A's LinkedIn (`linkedin_url === null`).
### CONV-PROFILE-005 — visibility settings behave consistently across roles ✅
**Test:** `CONV-PROFILE-005 visibility settings behave consistently across roles` (four contexts: staff, attendee, speaker, sponsor)
**Validates:** each role enables Show Email + saves; the setting persists and is respected (visible) regardless of role; a viewer (attendee B) sees each role's email as visible.
---
## §27 Speaker Role Assignment — `speaker-material.spec.ts`
### CONV-SPEAKER-001 — session assignment grants the Speaker role automatically ✅
**Test:** `CONV-SPEAKER-001 session assignment grants the Speaker role automatically`
**Validates:** SPEAKER_01 (a `session_speakers` row for SESSION_A) logs in → admitted; **backend** registration type is `'speaker'` (auto-promoted by trigger); speaker-specific functionality available (Agenda marks the session with the "🎤 you" speaker tag).
---
## §28 Speaker Material Upload — `speaker-material.spec.ts`
Material upload is a two-step backend operation: a Supabase Storage write to the `materials` bucket (RLS: `is_speaker_or_admin()`) + the `set_session_material` RPC (security definer; raises unless the caller is admin or a speaker of the session).
### CONV-MATERIAL-001 — speaker sees the pending material request (red attachment) ✅
**Test:** `CONV-MATERIAL-001 speaker sees the pending material request (red attachment)`
**Validates:** Home displays the pending-material area (the red 📎 attachment pill); the material request references the relevant session (Agenda shows the upload notice for the speaker's session).
### CONV-MATERIAL-002 — speaker uploads material and it persists across reload ✅
**Test:** `CONV-MATERIAL-002 speaker uploads material and it persists across reload`
**Validates:** capture the pending-material pill count; open the session + upload a valid test file (Playwright file upload); **backend** `waitForMaterial(SESSION_A) === true`; **reload** → the session shows the material + a "Download material" link, and the pending pill count decreases by exactly 1 (the speaker may have other pending sessions).
### CONV-MATERIAL-003 — material upload is available whenever it is still relevant ✅
**Test:** `CONV-MATERIAL-003 material upload is available whenever it is still relevant`
**Validates:** the speaker's session (slot 1, "done") — the upload control is **not time-gated** (`selNeedsMaterial` has no time check); it is present as long as the session is the user's and has no material yet; the upload notice is shown (non-dismissible until uploaded).
### CONV-MATERIAL-004 — material upload authorization (backend + frontend) ✅
**Test:** `CONV-MATERIAL-004 material upload authorization (backend + frontend)` (two contexts)
**Validates:** **backend** the speaker's JWT can call `set_session_material` (ok); a plain attendee's JWT is rejected (not a speaker/admin); **frontend** the plain attendee does not see the material upload control. Being authenticated alone does not grant upload privileges.
---
## §31 Sponsor Functionality — `sponsor.spec.ts`
### CONV-SPONSOR-001 — validate a Sponsor account ✅
**Test:** `sponsor can use the app like a participant (Home, Agenda, Connections, Profile, privacy)` + `sponsor does not receive staff privileges (cannot perform check-ins)` (two tests, two contexts)
**Validates:**
- Sponsor logs in via the normal participant flow (QR + ticket email) → admitted; **backend** registration type `'sponsor'` (not staff) + checked-in.
- Access Home (greeting), Agenda (timetable), Profile (save control).
- Sends a connection request to an attendee; the attendee accepts; the connection is established both ways.
- Uses Show Email + Show LinkedIn; the settings persist (DB) and are visible to the attendee via the public RPC.
- **Negative checks (backend):** a sponsor's JWT cannot call `welcome_checkin` or `checkin_attendee` (staff only); the registration type is `'sponsor'`, not `'staff'` (no role elevation).
---
## §32–§36 Feedback — `feedback.spec.ts`
Feedback is available only for a session that is (a) done and (b) the user was checked into. The `give-feedback` button is shown when `selStatus === 'done' && selCheckedIn`. The backend RPC `submit_feedback` raises if the caller is not checked in. Points: 10 with a comment, 5 without, 0 on resubmit.
### CONV-FEEDBACK-001 — feedback unavailable for unattended session ✅
**Test:** `CONV-FEEDBACK-001 feedback unavailable for unattended session`
**Validates:** ATTENDEE_A not checked into SESSION_A → **frontend** "Give feedback" button absent + "not checked in" notice visible; **backend** `submit_feedback` raises (ok=false). Eligibility is not granted by authentication / welcome check-in / agenda visibility alone.
### CONV-FEEDBACK-002 — session attendance unlocks feedback ✅
**Test:** `CONV-FEEDBACK-002 session attendance unlocks feedback (staff checks in via scanner)` (two contexts)
**Validates:** (1) confirm feedback for SESSION_A is unavailable to ATTENDEE_A; (2) STAFF_01 selects SESSION_A and checks ATTENDEE_A in via the **scanner** → **backend** `waitForSessionCheckin` true; (3) the attendee app reacts **without logout/login** (navigating to the Agenda re-fetches check-ins) → "Give feedback" button visible; Home feedback-pill visible.
### CONV-FEEDBACK-003 — feedback can be given later ✅
**Test:** `CONV-FEEDBACK-003 feedback can be given later (persists across navigation + reload)`
**Validates:** ATTENDEE_A attended SESSION_A (direct DB — a precondition); confirm eligibility, then **navigate away**; **reload** Convivo (session restored from storage); **return later** → SESSION_A is still eligible ("Give feedback" button visible). The opportunity is persisted.
### CONV-FEEDBACK-004 — feedback is session-specific ✅
**Test:** `CONV-FEEDBACK-004 feedback is session-specific (attended A, not B)`
**Validates:** ATTENDEE_A attended SESSION_A but not SESSION_B; **frontend** "Give feedback" visible for SESSION_A, absent for SESSION_B; **backend** the per-session check is enforced — `submit_feedback` for SESSION_A ok, for SESSION_B rejected.
### CONV-FEEDBACK-005 — submit session feedback ✅
**Test:** `CONV-FEEDBACK-005 submit session feedback (association + duplicate prevention)`
**Validates:** ATTENDEE_A attended SESSION_A; capture baseline points; open session → "Give feedback" → rate 5 + comment + submit; **backend** the feedback is associated with the correct attendee, session, and event; points +10 (with a comment). **Duplicate submission:** submit again (different rating, no comment) → the existing row is updated in place (no second independent response), and no further points are awarded (0 on resubmit).
---
## §37 Mandatory End-to-End Scenario — `e2e-journeys.spec.ts`
### CONV-E2E-001 — first-time attendee complete journey ✅
**Test:** `CONV-E2E-001 first-time attendee complete journey` (three contexts: new attendee, staff, ATTENDEE_B)
**Validates** (the full 32-step journey):
- (1–2) new attendee gated ("Please see a staff member", no `tab-home`).
- (3–6) staff (separate context) performs welcome check-in → `welcomeResult()` visible; **backend** `waitForWelcomeCheckedIn` true.
- (7) attendee's open browser lifts the gate automatically (4s poll) — no refresh/restart/re-login.
- (8–11) the app is fully usable: Home, Agenda, Connections, Profile.
- (12–14) ATTENDEE_NEW scans ATTENDEE_B and sends a connection request (outgoing pending).
- (15–17) ATTENDEE_B observes the incoming request and accepts it.
- (18–19) the established connection is visible from both parties.
- (20–22) STAFF_01 selects SESSION_A and checks ATTENDEE_NEW in; **backend** `waitForSessionCheckin` true.
- (23–24) SESSION_A feedback becomes available; SESSION_B remains unavailable.
- (25–27) navigate away, then return: SESSION_A feedback is still available.
- (28) submit SESSION_A feedback; **backend** the feedback is persisted for (ATTENDEE_NEW, SESSION_A).
- (29–32) logout, log in again: Welcome Check-In is not requested again, and normal functionality remains available.
---
## §38 Mandatory Speaker End-to-End Scenario — `e2e-journeys.spec.ts`
### CONV-E2E-002 — speaker journey ✅
**Test:** `CONV-E2E-002 speaker journey: login → material → networking → participant functionality` (two contexts: speaker, attendee)
**Validates:** (1) speaker logs in + admitted; (2) pending-material pill visible; (3) open the session in the Agenda — upload notice + upload input visible; (4) upload the material; **backend** `waitForMaterial(SESSION_A)` true; (5) reload → "Download material" link visible; (6) verify normal participant functionality (Agenda + Profile); (7) send a connection request to an attendee (speaker networking); (8) the attendee accepts; (9) the connection is established both ways; (10) the speaker remains able to use all normal participant functionality (Agenda + Profile).
---
## §39 Role Security Matrix — `e2e-journeys.spec.ts`
Backend authorization checks across roles (each RPC called **as** a specific user's JWT to prove the backend enforces the rule, not just the frontend).
### welcome_checkin: only staff can call ✅
**Test:** `welcome_checkin: only staff can call (non-staff → error)`
**Validates:** staff JWT → `welcome_checkin` ok; a non-staff attendee JWT → rejected.
### checkin_attendee: only staff can call ✅
**Test:** `checkin_attendee: only staff can call (non-staff → error)`
**Validates:** staff JWT → `checkin_attendee` (QR + session) ok; a non-staff attendee JWT → rejected.
### set_session_material: only speaker/admin can call ✅
**Test:** `set_session_material: only speaker/admin can call (attendee → error)`
**Validates:** speaker JWT → `set_session_material` for their own session ok; an attendee JWT → rejected.
### submit_feedback: only for attended sessions ✅
**Test:** `submit_feedback: only for attended sessions (not checked in → error)`
**Validates:** an attendee **not** checked in to SESSION_A → `submit_feedback` rejected (message matches `/checked in/i`).
---
## Coverage Summary
| Spec section | Cases | Status |
|--------------|-------|--------|
| §6 Staff Authentication | STAFF-AUTH-001..005 | ✅ 5/5 |
| §7 Staff Frontend | STAFF-UI-001 | ✅ 1/1 |
| §8 Staff Welcome Check-In | CHECKIN-001..002 | ✅ 2/2 |
| §9 First-Time Attendee Access | ATT-AUTH-001 | ✅ 1/1 |
| §10 Real-Time Activation | ATT-AUTH-002 | ✅ 1/1 |
| §11 Returning Attendee | ATT-AUTH-003 | ✅ 1/1 |
| §12 Attendee Core Navigation | ATT-UI-001 | ✅ 1/1 |
| §13–§20 Connections | CONN-001..008 | ✅ 8/8 |
| §21–§23 Session Check-In | SESSION-001..003 | ✅ 3/3 |
| §24–§26 Profile Visibility | PROFILE-001..005 | ✅ 5/5 |
| §27 Speaker Role | SPEAKER-001 | ✅ 1/1 |
| §28 Material Upload | MATERIAL-001..004 | ✅ 4/4 |
| §31 Sponsor | SPONSOR-001 | ✅ 2/2 (capabilities + negative) |
| §32–§36 Feedback | FEEDBACK-001..005 | ✅ 5/5 |
| §37 E2E Attendee Journey | E2E-001 | ✅ full 32-step journey |
| §38 E2E Speaker Journey | E2E-002 | ✅ full journey + networking |
| §39 Role Security Matrix | 4 checks | ✅ 4/4 |
**Totals:** 46 tests, all passing (3.8 min). Every spec case is now fully validated with backend assertions. The previously partial/missing cases have been closed:
1. **CONV-E2E-001** — extended to the full 32-step journey (connection sub-journey, session-check-in + feedback sub-journey, logout/re-login).
2. **CONV-SPONSOR-001** — now covers capabilities (Home/Agenda/Connections/Profile, connection requests, Show Email/LinkedIn) + negative checks (no staff privileges).
3. **CONV-ATT-UI-001** — dedicated navigation test added.
4. **CONV-E2E-002** — now covers Connections/Profile + the speaker networking sub-journey.
5. **Feedback sub-cases** — §33 (two-context staff-scan flow), §34 (given later across reload), §35 (per-session contrast), §36 (association + duplicate prevention).
6. **CONV-CONN-008** — now covers all four roles (speaker + sponsor → attendee).