When I type "yog" in the store search

Type a text in the search box of the header the way a person does, key by key, without submitting: the store answers with suggestions.

Examples

When I type "yog" in the store search
When I type "bag" in the store search
And I type "tee" in the store search
When we type "yoga" in the store search
When type "wat" in the store search

Pattern

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

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