A field of the app is shown as invalid (aria-invalid, after the form was checked) or as valid. The step waits for the state.
Examples
Then the app's "Enter a noun" field should be shown as invalid
Then the app's "Enter an adjective" field should be shown as valid
And the app's "I agree to the terms of service." field should be shown as invalid
Then the app's "Email" field should be shown as invalid
Then the app's "Enter a noun" field should be shown as valid
Pattern
Then(/^the app's "([^"]*)" field should be shown as (valid|invalid)$/, …)
Part of @webship-js/flutter-steps (github.com/webship/flutter-steps), a step pack for Webship-js 2.0.x.