727 B
727 B
MODIFIED Requirements
Requirement: Timer decrements correctly without resetting
The decision timer SHALL count down from the configured duration to zero, decrementing exactly once per second, without being reset by reactive effect re-runs.
Scenario: Normal countdown
- WHEN a timer is activated with
durationof 10 seconds - THEN the displayed remaining time follows the sequence: 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 — each value displayed for approximately one second
Scenario: Timer does not reset mid-countdown
- WHEN the timer is counting down and a reactive state change occurs in the component
- THEN the countdown continues without being interrupted or reset to the initial duration