Then I should see "Your Template" in the search results

Assert an entry of the Smart Search result list contains (or does not contain) the given text. The text is matched in the entries of the list (title, description, type, author, category), not in the sentence that repeats the search term.

Examples

Then I should see "Your Template" in the search results
And I should see "Template positions" in the search results
Then I should not see "Checkout" in the search results
And we should see "Blog" in the search results
Then should see "Welcome" in the search results

Pattern

Then(/^(I |we )*should( not)* see "([^"]*)?" in the search results$/, …)

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