Then the route announcer should announce "About | Astro Steps Demo"

Assert the route announcer has (or has not) announced a text after a navigation. Astro announces the title of the new page (else its h1, else its path).

Examples

Then the route announcer should announce "About | Astro Steps Demo"
And the route announcer should announce "Blog | Astro Steps Demo"
But the route announcer should not announce "Home | Astro Steps Demo"
Then route announcer should announce "Contact | Astro Steps Demo"
And the route announcer should announce "Islands | Astro Steps Demo"

Pattern

Then(/^(?:the )?route announcer should( not)* announce "([^"]*)?"$/, …)

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