When I wait for the page to settle

Wait until the page is settled: its scripts are loaded, its components are initialised, no request is in flight and no loading mask shows. The steps of this pack do it themselves; this step is for after a generic webship-js click or press.

Examples

When I wait for the page to settle
And I wait for the page to settle
When we wait for the page to settle
When wait for the page to settle
And we wait for the page to settle

Pattern

When(/^(I |we )*wait for the page to settle$/, …)

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