Then the HubSpot CTA "See Pricing" should link to "/pricing.html"

Assert a HubSpot CTA module button/link does (or does not) point at the given href.

Examples

Then the HubSpot CTA "See Pricing" should link to "/pricing.html"
Then the HubSpot CTA "Talk to Sales" should link to "/contact-us.html"
And the CTA "Get Started" should link to "/contact-us.html"
But the HubSpot CTA "Get in Touch" should not link to "/pricing.html"
Then CTA "Start Free Trial" should link to "/contact-us.html"

Pattern

Then(/^(?:the )?(?:HubSpot )?CTA "([^"]*)?" should( not)* link to "([^"]*)?"$/, …)

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