When I create a new document from the list

Make a new document from the list ("Create New"). A collection with autosave makes the document at once (a draft); the steps delete it after the scenario.

Examples

When I create a new document from the list
And I create a new document from the list
When I create a new document from the list
Then I create a new document from the list
When I create a new document from the list

Pattern

When(/^I create a new document from the list$/, …)

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