When I search the store for "hoodie"

Search the store's products for a text, the way the store's product search sends it (the search of the products only, not of the posts and pages), so it works whether or not the theme shows a search box; the results are the product list of the page. A search with one match takes the visitor to that product's page, as the store does.

Examples

When I search the store for "hoodie"
When we search the store for "beanie"
And I search the store for "no such product of the suite"
When I search the store for "logo"
And we search the store for "pocket"

Pattern

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

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