How many fields of the page are shown as invalid: a number, or "no". The step waits for the count.
Examples
Then 5 fields should be shown as invalid
Then no field should be shown as invalid
Then 1 field should be shown as invalid
Then no fields should be shown as invalid
Then 6 fields should be shown as invalid
Pattern
Then(/^(\d+|no) fields? should be shown as invalid$/, …)
Part of @webship-js/bootstrap-steps (github.com/webship/bootstrap-steps), a step pack for Webship-js 2.0.x.