Then I should see the search suggestion "yoga"

Assert the search box shows (or does not show) a suggestion. Suggestions are the terms earlier searches used.

Examples

Then I should see the search suggestion "yoga"
Then I should not see the search suggestion "zzz"
And I should see the search suggestion "bag"
Then we should see the search suggestion "tee"
Then should not see the search suggestion "nothing"

Pattern

Then(/^(I |we )*should( not)* see the search suggestion "([^"]*)"$/, …)

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