Then I should see that word in the search results

Assert the Smart Search results list contains (or does not contain) the word the previous search the site for a word from the first article step searched for.

Examples

Then I should see that word in the search results
And we should see that word in the search results
Then should see that word in the search results
Then I should not see that word in the search results
And we should not see that word in the search results

Pattern

Then(/^(I |we )*should( not)* see that word in the search results$/, …)

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