Then the app should show "You have pushed the button this many times: 1"

The app shows a text (or does not show it), anywhere in its accessibility tree: a part of a text, without regard to case and spaces. The step waits for it.

Examples

Then the app should show "You have pushed the button this many times: 1"
Then the app should not show "Item 99"
And the app should show "Please enter a noun."
Then the app should show "The quick developer saw a time"
Then the app should not show "Please enter an adjective."

Pattern

Then(/^the app should( not)? show "([^"]*)"$/, …)

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