Assert an element has (or has not) a view transition: transition:animate or transition:name puts data-astro-transition-scope on it.
Examples
Then the "main" element should have a view transition
And the "main" element should have a view transition
But the "footer" element should not have a view transition
Then the "header" element should not have a view transition
And the "main" element should have a view transition
Pattern
Then(/^the "([^"]*)?" element should( not)* have a view transition$/, …)
Part of @webship-js/astro-steps (github.com/webship/astro-steps), a step pack for Webship-js 2.0.x.