Then the search results should contain "News"

Assert the search results do (or do not) list a result with the given title, compared exactly.

Examples

Then the search results should contain "News"
And the search results should contain "Kimchi"
And the search results should contain "Our story"
But the search results should not contain "Checkout"
Then the search results should not contain "Gift card"

Pattern

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

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