Assert that the site asks a question before it acts ("Delete this contact?"), in its confirmation dialog.
Examples
Then the site should ask "Delete this contact?"
Then the site should ask "Delete this note?"
And the site should ask "Delete the segment, Webship test segment"
Then the site should ask "Delete this contact?"
Then the site should ask "Delete"
Pattern
Then(/^the site should ask "([^"]*)"$/, …)
Part of @webship-js/mautic-steps (github.com/webship/mautic-steps), a step pack for Webship-js 2.0.x.