Then the page should have a route announcer

Assert the page has (or has not) Gatsby's route announcer: the live region #gatsby-announcer that tells screen readers about client-side navigation.

Examples

Then the page should have a route announcer
And the page should have a route announcer
But the page should not have a route announcer
Then 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/gatsby-steps (github.com/webship/gatsby-steps), a step pack for Webship-js 2.0.x.