Then the report should list "Contact Us"

Assert that the report on screen lists a row that holds a text (a page's title, an object's name), or does not.

Examples

Then the report should list "Contact Us"
Then the report should not list "Webship test page"
And the report should list "Southern Cornbread"
Then the report should list "Bread Page"
Then the report should not list "About"

Pattern

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

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