30 checks · visible behavior
Run the workflow. Observe the contract.
Functional checks exercise the queue as a consumer does, then verify the Playground presents those same transitions, flags, traces, validation rules, and related code.
10 queue + 20 Playground
All 30 Functional checks.
The two groups share the FIFO model but own different outcomes, so no case is counted twice.
Queue workflows · 10
- autoRun starts newly added work synchronously
- cooperative tasks execute in first-in-first-out order
- disabling autoRun leaves a new batch pending
- manual next selects the oldest pending task
- cooperative hand-offs drain a manually started batch
- stop prevents automatic execution after add
- next while stopped preserves the oldest task
- opening the stop gate does not execute work by itself
- explicit next after stop release resumes FIFO execution
- each task receives its queue as this
Playground behavior · 20
- playground cooperative preset exposes FIFO pending order
- playground cooperative next drains the complete trace
- playground manual next advances exactly one task
- playground manual hand-offs preserve FIFO order
- playground empty hand-off marks a manual queue idle
- playground stopped preset blocks next without consuming work
- playground stop release does not execute work by itself
- playground next after stop release drains FIFO work
- playground clear preserves flags and active trace
- playground reset restores constructor defaults
- playground custom tasks display oldest first
- playground rejects an empty custom label
- playground rejects a custom label over sixty characters
- playground rejects an unknown preset
- playground autoRun changes do not start existing work
- playground autoRun drains a new cooperative task
- playground autoRun leaves a new manual task active
- playground preset code describes the loaded queue
- playground added-task code matches its hand-off behavior
- playground queue controls expose their exact related code
Run this layer
Functional only, or inspect it live.
npm run test:functional
npm run test:playground