useWashFlowState |
Step transitions for vehicle, questions, lane, tasks, in-progress, completed |
tests/unit/use-wash-flow-state-production.spec.js validates step clickability, next-button gating, questions-to-lane updates, lane-to-start target selection, task completion transition, in-progress navigation, and completed-step non-clickability contract. |
useWashSessionActions |
START success and failure |
tests/unit/use-wash-session-actions-production.spec.js covers successful manual START state mutation and failed START retryability without active-wash mutation. |
useWashSessionActions |
Relay enable success and relay enable failure with STOP rollback |
tests/unit/use-wash-session-actions-production.spec.js covers machine relay success and relay failure rollback via STOP. |
useWashSessionActions |
STOP failure and already-stopped STOP recovery |
tests/unit/use-wash-session-actions-production.spec.js covers failed STOP preserving active state and already-not-occupied STOP clearing local state. |
useSelfServeLogic |
Preview/summary merge |
tests/unit/use-self-serve-logic-production.spec.js covers preview questions merging with summary questions, answer maps, visible question order, tasks, and allowed services. |
useSelfServeLogic |
Request race handling |
tests/unit/use-self-serve-logic-production.spec.js covers stale preview/summary responses being ignored when a newer request wins. |
useSelfServeLogic |
Allowed services updates |
tests/unit/use-self-serve-logic-production.spec.js covers lane allowed-service endpoint updates and first-failure fallback behavior. |
useSelfServeLogic |
Answer sync failures |
tests/unit/use-self-serve-logic-production.spec.js covers error reporting while preserving the caller's optimistic local answer. |
MyWashStart.vue |
Local progress restore, server active-wash restore, recent-completion suppression, unmount cleanup, duplicate-fetch prevention |
tests/unit/my-wash-start-production.spec.js locks the component contracts for restore ordering, authenticated active-wash application, recent-completion suppression across restore/polling, unmount cleanup, and duplicate-fetch/sync guards. |