Then the edit form should have the "Summary" field

Assert that the form in front (the page, the slide-out editor or the preview) has, or does not have, a field with a label, on any of its tabs: the field layout and the permissions of the account decide which fields a form shows.

Examples

Then the edit form should have the "Summary" field
Then the edit form should not have the "Subtitle" field
Then the edit form should have the "Post Date" field
And the edit form should have the "Parent" field
Then the edit form should not have the "Author" field

Pattern

Then(/^the edit form should( not)* have the "([^"]*)" field$/, …)

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