Then I should see the dialog "Add block"

Assert a dialog with a title is (or is not) open. The title only needs to contain the text ("Add block" matches the dialog of any region).

Examples

Then I should see the dialog "Add block"
Then I should not see the dialog "Add block"
And I should see the dialog "Configure block"
Then we should see the dialog "Add condition"
And should not see the dialog "Configure region"

Pattern

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

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