Then the hero title should be "Handmade goods, honestly sourced."

Assert the page's hero section does (or does not) show the given title: the first level-one heading of the page content.

Examples

Then the hero title should be "Handmade goods, honestly sourced."
Then the hero title should be "About Demo Studio"
And the hero title should be "Shop"
But the hero title should not be "Journal"
Then hero title should be "Contact us"

Pattern

Then(/^(?:the )?hero title should( not)* be "([^"]*)?"$/, …)

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