You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Playwright Clock allows users to manipulate and control time within tests, enabling the precise validation of features such as rendering time, timeouts, scheduled tasks without the delays and variability of real-time execution.
Describe the solution you'd like
I would like to have following keywords:
Set Time Which will set the clock to desired time. Either by fixed time or by system time. By default use fixed time.
Clock Install which will install fake implementations for the time-related functions.
Clock Pause At will advance the clock by jumping forward in time and pause the time.
Clock Fast Forward will advance the clock by jumping forward in time.
Clock Resume will resumes timers.
Clock Run For will advance the clock, firing all the time-related callbacks.
Is your feature request related to a problem? Please describe.
Playwright Clock allows users to manipulate and control time within tests, enabling the precise validation of features such as rendering time, timeouts, scheduled tasks without the delays and variability of real-time execution.
Describe the solution you'd like
I would like to have following keywords:
Set Time
Which will set the clock to desired time. Either by fixed time or by system time. By default usefixed time
.Clock Install
which will install fake implementations for the time-related functions.Clock Pause At
will advance the clock by jumping forward in time and pause the time.Clock Fast Forward
will advance the clock by jumping forward in time.Clock Resume
will resumes timers.Clock Run For
will advance the clock, firing all the time-related callbacks.More details in PW Clock documentation
The text was updated successfully, but these errors were encountered: