Then I should see shop search results for "desk"

Assert the shop search returned, or did not return, products for the given term: the URL's search parameter carries the term and the product grid lists at least one product (#products_grid .oe_product). With "not" the grid must list none.

Examples

Then I should see shop search results for "desk"
And I should see shop search results for "office chair"
Then we should see shop search results for "cabinet"
And I should not see shop search results for "no-such-product"
Then I should see the shop search results for "lamp"

Pattern

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

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