Force test execution to pause for a specified number of seconds. This is often useful when you must wait for an AJAX request/response or long-running calculation to complete. Note that you do not need to “wait” for normal browser navigations, as test execution is automatically paused until these complete.
^(?:|I )wait (\d+) second(?:|s)$
|1||second(s)||integer||Must be a positive integer.|
When I wait 1 second And press the "Refresh Data" button And wait 5 seconds