Assert that the suggestions of the search box list, or do not list, a page by its title.
Examples
Then the search suggestions should list "Reading test page"
Then the search suggestions should not list "Second test page"
And the search suggestions should list "Main Page"
Then the search suggestions should list "Category:Test guides"
And the search suggestions should not list "Reading test page"
Pattern
Then(/^the search suggestions should( not)* list "([^"]*)"$/, …)
Part of @webship-js/mediawiki-steps (github.com/webship/mediawiki-steps), a step pack for Webship-js 2.0.x.