Then every optimized image should load lazily

Assert every optimized image loads lazily (loading="lazy" and decoding="async", the defaults of <Image /> and <Picture />), except ones that opt out with loading="eager", which the negative form finds.

Examples

Then every optimized image should load lazily
And every optimized image should load lazily
But every optimized image should not load lazily
Then all optimized images should load lazily
And every optimized image should load lazily

Pattern

Then(/^(?:every|all) optimized images? should( not)* load lazily$/, …)

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