Then the announcement bar should say "Free shipping on orders over 50"

Assert the announcement bar shows (or does not show) exactly this text, compared after collapsing whitespace.

Examples

Then the announcement bar should say "Free shipping on orders over 50"
And the announcement bar should say "Closed on Monday"
And the announcement bar should say "New collection online now"
But the announcement bar should not say "Sale ends today"
Then announcement bar should say "Welcome"

Pattern

Then(/^(?:the )?announcement bar should( not)* say "([^"]*)"$/, …)

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