Then the page explorer should list "About"

Assert that the page explorer on screen lists a page, by its title, or does not.

Examples

Then the page explorer should list "About"
Then the page explorer should not list "Webship test page"
And the page explorer should list "Contact Us"
Then the page explorer should list "Anadama"
And the page explorer should not list "Breads"

Pattern

Then(/^the page explorer should( not)* list "([^"]*)"$/, …)

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