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(s)*
Whatever the specified period is, it will wait for it to end.
Example:
When I wait 1 second
When we wait 5 seconds