Open a product from the shop grid on screen: the first one by default, or the n-th. Reads the product link from #products_grid and navigates to it, so no product slug appears in the feature file.
Examples
When I open the first product in the Odoo shop
And I open the first product in the shop
When we open the 2nd product in the shop
And open the first item in the Odoo shop
When I open the 3rd product in the shop
Pattern
When(/^(I |we )*open the (first|\d+(?:st|nd|rd|th)) (?:product|item) in the (?:Odoo )?shop$/, …)
Part of @webship-js/odoo-steps (github.com/webship/odoo-steps), a step pack for Webship-js 2.0.x.