Assert the value a field of the record form shows does (or does not) contain a text: the value of an input or a text area, the text of the rich text editor, or the selected option of a select box.
Examples
Then the "Page Title" record field should contain "News"
And the "Header" record field should contain "Welcome"
Then the "Alignment" record field should contain "Center"
And the "Subheader" record field should not contain "Draft"
Then the "Page Title" record field should not contain "Checkout"
Pattern
Then(/^the "([^"]*)?" record field should( not)* contain "([^"]*)?"$/, …)
Part of @webship-js/typo3-steps (github.com/webship/typo3-steps), a step pack for Webship-js 2.0.x.