Then the "Summary" field should be marked as required

Assert that a field of the form is, or is not, marked as required, by its label.

Examples

Then the "Summary" field should be marked as required
Then the "Title" field should be marked as required
Then the "Body" field should not be marked as required
And the "Kind" field should not be marked as required
And the "Text" field should be marked as required

Pattern

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

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