Search for a word taken from the first article on the current page (its .item-title), so the search is guaranteed to match content the site really has without naming any article in the feature file. The word is kept for I should see that word in the search results.
Examples
When I search the site for a word from the first article
When we search the site for a word from the first article
And I search the site for a word from the first article
When search the site for a word from the first article
And we search the site for a word from the first article
Pattern
When(/^(I |we )*search the site for a word from the first article$/, …)
Part of @webship-js/joomla-steps (github.com/webship/joomla-steps), a step pack for Webship-js 2.0.x.