Recipes Plan

Timer Test Suite

A private dashboard to easily verify countdown state, sound chimes, and Screen Wake Lock stability.

1. Standard Countdowns

Verify that single-value timers run smoothly, update the time correctly, turn red at 0:00, and play the final alarm.

5 Seconds Triggers final alarm at 0:00
15 Seconds Tests standard pause and resume

2. Range & Intervals

Verify that range timers trigger the warning chime at the lower bound (orange) and the final alarm at the upper bound (red).

3 to 6 Seconds Warning at 3s, Alarm at 6s
5 to 10 Seconds Warning at 5s, Alarm at 10s

3. Alternate Units & Formats

Verify that the duration parser correctly handles decimals and alternative shorthand syntax variations.

Decimal Single (2.5s) Decimal parsing
Decimal Range (1.5-3.5s) Range parsing
Alternative Suffixes Short hands
Minutes (0.1m) 0.1 min (6 seconds)
Hours (0.002h) 0.002 hr (7.2 seconds)

4. Wake Lock Reference Count

Start all three timers. The wake lock should stay active even if you pause 1 or 2, and release only when all 3 are paused/reset.

Timer A (10s)
Timer B (10s)
Timer C (10s)