Then the page should have a route announcer

The route announcer: the live region the router fills with the title of each new page (an empty region after the first load, as a screen reader reads that page itself).

Examples

Then the page should have a route announcer
And page should have a route announcer
Then the page should not have a route announcer
Then the page should have a route announcer
And the page should have a route announcer

Pattern

Then(/^(?:the )?page should( not)* have a route announcer$/, …)

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