When I confirm with "Delete"

Answer a confirmation form with its button, by the text of the button ("Delete", "Confirm", "Cancel account"), and wait for the next page.

Examples

When I confirm with "Delete"
When I confirm with "Confirm"
When we confirm with "Delete"
And I confirm with "Revert"
When confirm with "Delete"

Pattern

When(/^(I |we )*confirm with "([^"]*)"$/, …)

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