When I add the product to the cart

Add the product of the product page to the cart ("Add to cart") and wait for the dialog that confirms it.

Examples

When I add the product to the cart
When we add the product to the cart
And I add the product to the cart
Then I add the product to the cart
When add the product to the cart

Pattern

When(/^(I |we )*add the product to the cart$/, …)

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