Close the record form with the Close button of the button bar (.t3js-editform-close) and return to the module the record was opened from. Unsaved changes raise a dialog.
Examples
When I close the record
When we close the record
And I close the record
When I close the page
And I close the content element
Pattern
When(/^(I |we )*close the (?:record|page|content element)$/, …)
Part of @webship-js/typo3-steps (github.com/webship/typo3-steps), a step pack for Webship-js 2.0.x.