Assert that the search results on screen show a text (in the title or the text of a result), or do not.
Examples
Then the search results should show "Weekend baking thread"
Then the search results should not show "Board rules"
And the search results should show "The sourdough came out well"
And the search results should not show "Moderation notes"
Then the search results should show "No suitable matches were found."
Pattern
Then(/^the search results should (not )?show "([^"]*)"$/, …)
Part of @webship-js/phpbb-steps (github.com/webship/phpbb-steps), a step pack for Webship-js 2.0.x.