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 minuteWhen I wait 10 minutesWhen we wait 1mWhen wait 2sWhen wait 2 minutesWhen we wait 1 minuteWhen we wait 10 minutesWhen we wait 2m