Then the "Page Title" record field should be marked as invalid

Assert a field of the record form is (or is not) marked as invalid: FormEngine adds has-error to the label and the input of a field that fails its validation, for example an empty required field.

Examples

Then the "Page Title" record field should be marked as invalid
And the "Page Title" record field should not be marked as invalid
Then the "Header" record field should not be marked as invalid
And the "Email" record field should be marked as invalid
Then the "Subheader" record field should not be marked as invalid

Pattern

Then(/^the "([^"]*)?" record field should( not)* be marked as invalid$/, …)

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