Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
1.1 KiB
1.1 KiB
MODIFIED Requirements
Requirement: Capacity before the event
When an event has a capacity, invite registrations and ticket requests SHALL be refused before the event days once registered guests plus walk-in event leads plus held tickets would exceed it; an invite shows "This event is full". On the event days (Malaysia, start through end date) nothing SHALL be refused for capacity, though ticket types keep their own seats. Staff capture SHALL never be refused for capacity.
Scenario: Full before the event
- GIVEN
KL Expostarts next week, has capacity 2, and two registered guests - WHEN a third guest submits their invite
- THEN the page says the event is full and nothing is saved
Scenario: Not refused on the day
- GIVEN the same event on its first day
- WHEN the third guest submits their invite
- THEN they are registered
Scenario: Held tickets fill the event
- GIVEN
KL Expostarts next week, has capacity 10, one registered guest and 9 held tickets - WHEN another guest submits their invite
- THEN the page says the event is full and nothing is saved