When I confirm the dialog

Confirm the open dialog: press its confirming button ("Delete", "Duplicate", "Yes"…), whatever its label.

Examples

When I confirm the dialog
When we confirm the dialog
And I confirm the dialog
Then I confirm the dialog
When confirm the dialog

Pattern

When(/^(I |we )*confirm the dialog$/, …)

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