Then every optimized image should have a width and a height

Assert every optimized image has a width and a height, so the browser can reserve the space and the page does not jump while the image loads.

Examples

Then every optimized image should have a width and a height
And every optimized image should have a width and a height
But every optimized image should have a width and a height
Then all optimized images should have a width and a height
And every optimized image should have a width and a height

Pattern

Then(/^(?:every|all) optimized images? should have a width and a height$/, …)

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