When I search the site for "apiary"

Search the site: with the "Search form" block of the page when the page has one, otherwise with the form of the search page (/search).

Examples

When I search the site for "apiary"
When I search the site for "queen cells"
When we search the site for "veil"
And I search the site for "no-such-word"
When search the site for "weekends"

Pattern

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

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