Then I should see the dialog "Delete this record?"

Assert a dialog with the given title is (or is not) open, for example "Delete this record?".

Examples

Then I should see the dialog "Delete this record?"
And I should not see the dialog "Delete this record?"
Then we should see the dialog "New Page Content"
And I should see the dialog "Refresh required"
Then should not see the dialog "New Page Content"

Pattern

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

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