When I wait max of number minutes

This step definition pauses the test for a specific period or until the page and its parts are fully loaded. Maximum wait time in minutes can be provided.

 

When (I |we )*wait max of (\d*)( minute| minutes|m)?

 

It will make the testing wait for a period of time until the page and its elements are loaded or the specified maximum number of minutes is reached.

 

Examples:

When we wait max of 1 minute
When I wait max of 10 minutes
When we wait max of 1m
When wait max of 2s
When wait max of 2 minutes
When we wait max of 1 minute
When we wait max of 10 minutes
When we wait max of 2m