Then I should see "Are you sure" in the dialog

Assert the dialog on top shows, or does not show, a text in its body.

Examples

Then I should see "Are you sure" in the dialog
And I should see "You are not allowed" in the dialog
Then we should see "cancel" in the dialog
And I should not see "error" in the dialog
Then we should not see "Traceback" in the dialog

Pattern

Then(/^(I |we )*should( not)* see "([^"]*)" in the dialog$/, …)

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