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| minutes|m)?
Whatever the specified period is, it will wait for it to end.
Examples:
When I wait 1 minute
When I wait 10 minutes
When we wait 1m
When wait 2s
When wait 2 minutes
When we wait 1 minute
When we wait 10 minutes
When we wait 2m