Pause for given period of time.
Pause for given period of time.
On this page
I wait “([^”]*)"
This step allows to stop scenario execution for some time. Sometimes, if you know, that API does not process your request immediately, and you want to wait for short amount of time before sending another HTTP(s) request you can do it with this method.
The only one argument, should be string acceptable by time.ParseDuration.
Example:
Given I wait "3s"
Given I wait "20ms"