Assert a search result lists an entry whose title contains the text.
Examples
Then the search results should include "Hello world!"
And the search results should include "Sample Page"
Then the search results should not include "Privacy Policy"
But the search results should not include "Draft title"
And the search results should include "News"
Pattern
Then(/^the search results should( not)* include "([^"]*)"$/, …)
Part of @webship-js/wordpress-steps (github.com/webship/wordpress-steps), a step pack for Webship-js 2.0.x.