A field is shown as valid or invalid: the page or the server marked it (uk-form-success, uk-form-danger, or aria-invalid="true" for invalid). The step waits for the state and for the field's transition to end.
Examples
Then the "Email" field should be shown as invalid
Then the "Name" field should be shown as valid
Then the "Plan" field should be shown as invalid
Then the "Email" field should be shown as valid
Then the "Plan" field should be shown as valid
Pattern
Then(/^the "([^"]*)" field should be shown as (valid|invalid)$/, …)
Part of @webship-js/uikit-steps (github.com/webship/uikit-steps), a step pack for Webship-js 2.0.x.