Then the product should have 1 image

Assert how many images the product has (Description tab).

Examples

Then the product should have 1 image
Then the product should have 2 images
And the product should have 0 images
Then the product should have 3 images
Then the product should have 1 images

Pattern

Then(/^the product should have (\d+) images?$/, …)

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