This step definition is used as a command to wait a specified period of seconds before executing the next step.
When (I |we )*wait (\d*)( second| seconds|s)?Whatever the specified period is, it will wait for it to end.
Example:s
When I wait 1 secondWhen we wait 5 secondsWhen we wait 3sWhen wait 2sWhen wait 2 secondsWhen we wait 1 secondWhen we wait 5 secondsWhen we wait 4s