Clock Steps

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 ms

Advance the fake clock forward by N milliseconds.

When I advance the clock by 30 seconds

Advance the fake clock forward by N seconds.

When I advance the clock by 5 minutes

Advance the fake clock forward by N minutes.

When I pause the clock

Pause the fake clock.

When I resume the clock

Resume the fake clock.

When I set the system time to "2026-05-08T12:30:00Z"

Set the fake clock to a specific time.

Back to all step groups