Then the gallery should show 3 images

Assert the page shows a given number of gallery images (items of a gallery grid or reel).

Examples

Then the gallery should show 3 images
And the gallery should show 1 image
Then the gallery should show 6 images
Then gallery should show 0 images
And the gallery should show 12 images

Pattern

Then(/^(?:the )?gallery should show (\d+) images?$/, …)

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