When I search the site for "news"

Search the site: open the search page when it is not the current page, type the words and press Enter.

Examples

When I search the site for "news"
When we search the site for "kimchi"
And I search the site for "croissant"
When search the site for "shipping"
And we search the site for "zzzqqq"

Pattern

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

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