When I set the quantity to buy to 2

Set the quantity to buy on the product page.

Examples

When I set the quantity to buy to 2
When we set the quantity to buy to 1
And I set the quantity to buy to 10
When I set the quantity to buy to 3
When set the quantity to buy to 5

Pattern

When(/^(I |we )*set the quantity to buy to (\d+)$/, …)

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