Then the page should use view transitions

Assert the page uses (or does not use) view transitions: its layout has <ClientRouter />, which writes <meta name="astro-view-transitions-enabled">.

Examples

Then the page should use view transitions
And the page should use view transitions
But the page should not use view transitions
Then page should use view transitions
And the page should not use view transitions

Pattern

Then(/^(?:the )?page should( not)* use view transitions$/, …)

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