Then the "Email" field should be shown as invalid

A field is shown as valid or as invalid: aria-invalid, which Material UI sets on a field in error.

Examples

Then the "Email" field should be shown as invalid
And the "Password" field should be shown as valid
Then the "Password" field should be shown as invalid
And the "Email" field should be shown as valid
Then the "First name" field should be shown as valid

Pattern

Then(/^the "([^"]*)" field should be shown as (valid|invalid)$/, …)

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