This step definition is used as a command to wait a specified period of minutes before executing the next step.
When (I|we)* wait (\d*) minute(s)*
Whatever the specified period is, it will wait for it to end.
Example:
When I wait 1 minute
When we wait 5 minutes