How many fields of the page are shown as invalid.
Examples
Then 2 fields should be shown as invalid
Then no fields should be shown as invalid
And 1 field should be shown as invalid
Then 3 fields should be shown as invalid
But no fields should be shown as invalid
Pattern
Then(/^(\d+|no) fields? should be shown as invalid$/, …)
Part of @webship-js/material-ui-steps (github.com/webship/material-ui-steps), a step pack for Webship-js 2.0.x.