Then the form should hold the field "First name"

Assert that the form being edited holds a field with a label, or a submit action with a name (in its "Fields" or "Actions" tab), or does not.

Examples

Then the form should hold the field "First name"
Then the form should hold the action "Ten points for signing up"
And the form should not hold the field "Phone"
Then the form should hold the field "Email"
Then the form should not hold the action "Ten points for signing up"

Pattern

Then(/^the form should( not)? hold the (field|action) "([^"]*)"$/, …)

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