Press OK in the open confirmation dialog and wait for the action to finish.
Examples
When I confirm the action
And I confirm the action
When we confirm the action
When confirm the action
And we confirm the action
Pattern
When(/^(I |we )*confirm the action$/, …)
Part of @webship-js/magento-steps (github.com/webship/magento-steps), a step pack for Webship-js 2.0.x.