CODITECT
CODITECT VTR
Visual Test Report
PASSED

Test Plan

Harness specification, naming conventions, and phase definitions.

Test Harness

Framework: Playwright 1.59 (Chromium, headed)

File: e2e-vtr-test.ts

Output: vtr-manifest.json + 30 screenshots

Naming Convention
{NN}-{phase-id}-{step-id}.png

01-home-landing.png
04-alice-name-entered.png
25-manage-dashboard.png
Phases
#PhaseStepsDescription
1Landing Page1Verify the home page loads with the poll creation form.
2Create Poll1Create the poll via API with four slots across two days, then navigate to the participant URL.
3Respondent 1: Alice Johnson7Alice submits availability for mornings only (Mon Morning + Tue Morning = AVAILABLE).
4Respondent 2: Bob Smith7Bob marks all slots available, with Mon Afternoon as IF_NEEDED (amber) via double-click.
5Respondent 3: Carol Davis4Carol marks Mon Morning, Tue Morning, and Tue Afternoon as AVAILABLE. Mon Afternoon is left unset.
6Final Participant View2Fresh session shows the complete poll with all three respondents and ranked slot bars.
7Organizer Dashboard6Organizer enters PIN to access the dashboard, selects the winning slot, and closes the poll.
8Closed Poll — Participant View2A new participant visits the poll URL and sees the closed state with the winning slot announced.
Use Case
  1. Poll Creation — Organizer creates poll with 4 time slots across 2 days
  2. 3 Respondents — Alice, Bob, Carol toggle availability (Available + If Needed states)
  3. Results — System ranks slots, marks "Best", shows respondent count
  4. Organizer — PIN gate, dashboard, select best slot, close poll
  5. Closed State — Participants see closed poll with selected time