Then the search results should list "Anadama"

Assert that the results of a search of the site list a page by (a part of) its title, or do not.

Examples

Then the search results should list "Anadama"
Then the search results should not list "Webship test page"
And the search results should list "Bread and Circuses"
Then the search results should list "Hot Cross Bun"
Then the search results should not list "Anadama"

Pattern

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

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