When I wait for the app to settle

Wait until the app has settled: no frame scheduled and nothing changed in its tree for two frames, at least one frame after the last input. Every step of the pack waits so already; this is for the steps of other packs in between.

Examples

When I wait for the app to settle
And I wait for the app to settle
When we wait for the app to settle
Then I wait for the app to settle
When I wait for the app to settle

Pattern

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

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