When I search the site for "joomla"

Submit the Joomla Smart Search form (com_finder) with the given search term, using whichever search box is visible (header search or the dedicated search page).

Examples

When I search the site for "joomla"
When I search the site for "template"
When we search the site for "articles"
And I search the site for "blog"
When search the site for "modules"

Pattern

When(/^(I |we )*search the site for "([^"]*)?"$/, …)

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