Code under test: Greenlight main commit 43dd205c (the code live on 3 December 2026), the real admin raffle wheel page. Browser: headless Chromium driven by Playwright. Eight couples (first names only), one event named "R&B Game Night", three prizes. Every request to the server and to sign in was answered by a fake in the test. No real sign in, no live API, no database. Run on 3 December 2026.
| Flow | Result | What was seen |
|---|---|---|
| 1. Wheel loads, Setup opens and closes | PASS | 8 couples drawn as slices labelled with two first names; heading, next prize and the "8 pairs on the wheel" line show; Setup opens and closes by button and by the S key. |
| 2. Set an end time, see the countdown, clear it | PASS | One save sent for the chosen time (95 minutes out). Panel and wheel show a ticking countdown (1:34:12 then 1:34:09). Clear sends a second save and the countdown disappears. |
| 3. End entries now: confirm, Escape, confirm | PASS | Escape closed the dialog and sent nothing (0 requests). Confirming sent exactly 1 request, PATCH to /api/admin/live-events/7 with action "end". The wheel then shows ENTRIES CLOSED 00:00. |
| 4. Spin and winner reveal | PASS | The wheel turned (0 to 1818 degrees), 1 award request to this event's winners address, reveal showed the couple the server stored by first names and the prize. No last name, age, photo or member id on screen or in the page text. |
| 5. Spin again after a winner | PASS | After the first winner the wheel went from 8 slices to 7 and that couple's slice was gone. Meta line read "1 drawn", next prize moved to the second prize. The second spin picked a different couple. |
| 6. Failed award (500 once), then retry | PASS | The host sees a red message, "Could not save the winner. Check the connection and spin again." No reveal, nothing stored, Spin works again. The second spin stored the winner and showed the reveal. |
| 7. Music and mute | PASS | The Mute button switches to Unmute (and back, also with the M key). Sound state read off the page: master volume 0.9 unmuted, 0 muted; the spoken winner line was started once at the reveal when unmuted and not started when muted. Real sound was not heard (headless). |
| 8. Phone size 390x844 | FAIL | Spin, Setup panel and reveal fit the screen with no sideways scroll. DEFECT: on the wheel screen the top button row runs 20 px past the left edge, so the "Back to event" button is cut off, and the row sits over the top of the Greenlight logo. |
Console errors: none. Failed requests: none.
Console errors: none. Failed requests: none.
Console errors: none. Failed requests: GET http://127.0.0.1:4871/api/admin/live-events/7/couples -> net::ERR_ABORTED.
Console errors: none. Failed requests: none.
Console errors: none. Failed requests: none.
Console errors: Failed to load resource: the server responded with a status of 500 (Internal Server Error). Failed requests: POST /api/admin/live-events/7/raffle/winners -> 500.
Console errors: none. Failed requests: none.
Console errors: none. Failed requests: none.