Upload an image of the product from the fixtures folder of the suite (tests/fixtures), on the Description tab. The back office saves it at once; the step waits until the image is stored.
Examples
When I upload the product image "product.png"
When we upload the product image "product.png"
And I upload the product image "product.png"
When I upload the product image "tests/fixtures/product.png"
When upload the product image "product.png"
Pattern
When(/^(I |we )*upload the product image "([^"]*)"$/, …)
Part of @webship-js/prestashop-steps (github.com/webship/prestashop-steps), a step pack for Webship-js 2.0.x.