Then the dialog "Quick Add" should be open

Assert that a dialog is open over the page, with its title (or a part of it): the forms of one thing ("Quick Add", "New note", "Send a custom email to …", a field or an action of a form or a campaign).

Examples

Then the dialog "Quick Add" should be open
Then the dialog "New note" should be open
And the dialog "Send a custom email to" should be open
Then the dialog "Modify contact's tags" should be open
Then the dialog "What type of email do you want to create?" should be open

Pattern

Then(/^the dialog "([^"]*)" should be open$/, …)

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