When I choose "M" for the product option "Size"

Choose a value for an option of the product (a combination): a size in a list, a color among swatches. The page loads the combination and changes its address.

Examples

When I choose "M" for the product option "Size"
When I choose "Black" for the product option "Color"
When we choose "L" for the product option "Size"
And I choose "White" for the product option "Color"
When I choose "Ruled" for the product option "Paper Type"

Pattern

When(/^(I |we )*choose "([^"]*)" for the product option "([^"]*)"$/, …)

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