← All tests

R1.4 — Multi-cart draft orders (prod)

2026-04-22 on prod. Cashier can park the current cart and start a new one for a parallel customer. Parked carts persist to cafe.draft_orders (JSONB payload) so a tab crash, browser restart, or device handover doesn't lose work. Rows auto-cleanup on session close via FK CASCADE. Captured on get-coffee.nixtech.app.

9/9 R1.4 prod click-through passed. Flow: unlock as manager → Register → add 2 products → Park → 1 pill in strip + 1 DB row → add 3 products → Park → 2 pills + 2 DB rows → Resume Order 1 → cart loads + 1 pill remains + 1 DB row → discard Order 2 → 0 pills + 0 DB rows. Every transition verified both visually (pill count) and in Postgres (COUNT(*) on cafe.draft_orders). Zero 5xx.
42/42 total prod tests green — no regressions from this push.
test-r1-4-drafts-prod.mjs9/9
test-phase1-prod.mjs11/11
test-m1-prod.mjs10/10
test-phase2-sso-outdoor-prod.mjs6/6
test-phase2-cafe-multishop-prod.mjs6/6