When I type "tote" in the search box

Types a text in the store's search box, a key at a time as a person does, and waits for the store's suggestions (GET /search/suggest) and for the theme to show them. A search box behind a "Search" button is opened first.

Examples

When I type "tote" in the search box
When I type "wool" in the search box
And I type "note" in the search box
When we type "mug" into the search box
When type "card" in the search box

Pattern

When(/^(?:I |we )?type "([^"]*)" in(?:to)? the search box$/, …)

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