Then I should see search results for "hello world"

Assert the search-results template rendered for the expected term — named inline, or taken from whatever a prior search step stashed.

Examples

Then I should see search results for "hello world"
And we should see search results for that content
Then should see search results for the content
And should see search results for "contact"
Then we should see search results for "example"

Pattern

Then(/^(I |we )*should see search results for (?:"([^"]*)?"|(?:that|the) content)$/, …)

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