Given the app's accessibility tree is on

The app's accessibility tree is on: the step waits for the app to load, clicks its "Enable accessibility" button as assistive technology does (nothing when the app turned the tree on itself), and waits until the tree holds the app's elements and the app has settled.

Examples

Given the app's accessibility tree is on
When I turn on the app's accessibility tree
And the app's accessibility tree is on
When we turn on the app's accessibility tree
Given the app's accessibility tree is on

Pattern

Given(/^(?:the app's accessibility tree is on|(?:I |we )?turn on the app's accessibility tree)$/, …)

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