Assert the hero section's call-to-action button (the page's first Squarespace button block) does (or does not) link to a given URL.
Examples
Then the hero call-to-action button should link to "/shop.html"
And the hero call-to-action button should link to "/contact.html"
Then the hero call-to-action button should not link to "/about.html"
Then the hero CTA should link to "/blog.html"
Then hero call-to-action button should link to "/"
Pattern
Then(/^(?:the )?hero (?:call-to-action button|CTA) should( not)* link to "([^"]*)?"$/, …)
Part of @webship-js/squarespace-steps (github.com/webship/squarespace-steps), a step pack for Webship-js 2.0.x.