sleep
Utility function just for debugging purposes. Pauses test execution for the given time.
warning
This is strictly just a utility function provided for debugging purposes and not meant to be used in any production test. Using a raw wait in tests makes them flaky and fragile. If you use them, remember to remove once debugging is finished.
sleep(milliseconds)
#
Parametersmilliseconds
: Time inmilliseconds
to pause the test
#
Returns- No value