Freeze and advance time without sleeping. Lets QA cover scheduled emails, expirations, countdowns and time based UI without slow CI runs.
Step phrasings in this group
The book sidebar lists each individual step page under this group.
Given the system time is "2026-05-08T10:00:00Z"Install a fake clock anchored at an ISO 8601 instant.
When I advance the clock by 500 msAdvance the fake clock forward by N milliseconds.
When I advance the clock by 30 secondsAdvance the fake clock forward by N seconds.
When I advance the clock by 5 minutesAdvance the fake clock forward by N minutes.
When I pause the clockPause the fake clock.
When I resume the clockResume the fake clock.
When I set the system time to "2026-05-08T12:30:00Z"Set the fake clock to a specific time.