Publish, unpublish or delete the selected documents: the selection's button, then "Confirm" in the dialog it opens; then the notification the admin shows ("Updated 2 Posts successfully.", "Deleted 2 Posts successfully.").
Examples
When I publish the selected documents
When I unpublish the selected documents
When I delete the selected documents
And I publish the selected documents
And I delete the selected documents
Pattern
When(/^I (publish|unpublish|delete) the selected documents$/, …)
Part of @webship-js/payload-steps (github.com/webship/payload-steps), a step pack for Webship-js 2.0.x.