When I wait for the loading spinner to disappear

Wait until no loading spinner is shown on the page, for at most 30 seconds: the page has finished what it was loading.

Examples

When I wait for the loading spinner to disappear
When I wait for the loading spinners to disappear
When we wait for the loading spinner to disappear
And I wait for the loading spinners to disappear
Given we wait for the loading spinners to disappear

Pattern

When(/^(?:I |we )?wait for the loading spinners? to disappear$/, …)

Part of @webship-js/bootstrap-steps (github.com/webship/bootstrap-steps), a step pack for Webship-js 2.0.x.