Then I should see Odoo shop search results for "mug"

Assert the shop search returned results for the given term: the product grid is present and the URL's search query parameter carries the term.

Examples

Then I should see Odoo shop search results for "mug"
And I should see shop search results for "polo shirt"
Then we should see Odoo shop search results for "t-shirt"
And should see shop search results for "backpack"
Then I should see the shop search results for "notebook"

Pattern

Then(/^(I |we )*should see (?:the )?(?:Odoo )?shop search results for "([^"]*)?"$/, …)

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