Then the search results should list the page "Reading test page"

Assert that the results page lists, or does not list, a page.

Examples

Then the search results should list the page "Reading test page"
Then the search results should not list the page "Second test page"
And the search results should list the page "Second test page"
Then the search results should list the page "History test page"
And the search results should not list the page "Main Page"

Pattern

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

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