Assert the open confirmation dialog shows a text ("Are you sure you want to delete this category?").
Examples
Then I should see the confirmation "Are you sure you want to delete this category?"
Then I should see the confirmation "You haven't selected any items!"
And I should see the confirmation "Are you sure you want to delete this address?"
Then we should see the confirmation "Delete items"
Then should see the confirmation "Are you sure you want to delete the selected customers?"
Pattern
Then(/^(I |we )*should see the confirmation "([^"]*)"$/, …)
Part of @webship-js/magento-steps (github.com/webship/magento-steps), a step pack for Webship-js 2.0.x.