When I answer the confirmation with "Delete"

Answer the confirmation the site asks with one of its buttons ("Delete", "Cancel"), and wait for what follows.

Examples

When I answer the confirmation with "Delete"
When we answer the confirmation with "Cancel"
And I answer the confirmation with "Delete"
When I answer the confirmation with "Cancel"
When we answer the confirmation with "Delete"

Pattern

When(/^(?:I|we) answer the confirmation with "([^"]*)"$/, …)

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