Then the selected items should offer the action "Delete"

Assert that the selected items of the index offer, or do not offer, an action: a button of the action bar or an item of its gear menu. What an account may do with the selection decides what it is offered.

Examples

Then the selected items should offer the action "Delete"
Then the selected items should not offer the action "Delete"
Then the selected items should offer the action "Duplicate"
And the selected items should offer the action "Restore"
Then the selected items should not offer the action "Move to…"

Pattern

Then(/^the selected items should( not)* offer the action "([^"]*)"$/, …)

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