Then the dialog should list a visibility condition containing "Editor"

Assert the block configuration dialog lists (or does not list) a visibility condition, by a text of its summary ("Editor", "is one of").

Examples

Then the dialog should list a visibility condition containing "Editor"
Then the dialog should list a visibility condition containing "Home page"
And the dialog should not list a visibility condition containing "Administrator"
Then the dialog should list a visibility condition containing "role"
And the dialog should not list a visibility condition containing "URL path"

Pattern

Then(/^the dialog should( not)* list a visibility condition containing "([^"]*)"$/, …)

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