Wait for the app to be idle: no page load in progress, the page taken over when it can be, no request in flight, no frame asked for, no animation running, and nothing changed for a moment.
Examples
When I wait for the app to be idle
And I wait for the app to be idle
When we wait for the app to be idle
Then I wait for the app to be idle
Given I wait for the app to be idle
Pattern
When(/^(?:I |we )?wait for the app to be idle$/, …)
Part of @webship-js/angular-steps (github.com/webship/angular-steps), a step pack for Webship-js 2.0.x.