When I wait for the transitions to finish

Wait until no transition runs in the page: for a step of webship-js's own (I press …) whose next step reads what it opened or closed.

Examples

When I wait for the transitions to finish
And I wait for the transitions to finish
When we wait for the transitions to finish
And we wait for the transitions to finish
Then I wait for the transitions to finish

Pattern

When(/^(?:I |we )?wait for the transitions to finish$/, …)

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