Assert a CTA does (or does not) lead to the given address, written as a path ("/pricing") or a full address. The destination is the CTA's cta_dest_link; its href is HubSpot's tracking redirect, so it is only the fallback.
Examples
Then the CTA "See Pricing" should link to "/pricing"
Then the CTA "Talk to Sales" should link to "/contact-us"
And the CTA "Get Started" should link to "https://example.com/get-started"
But the CTA "Get in Touch" should not link to "/pricing"
Then CTA "Start Free Trial" should link to "/contact-us"
Pattern
Then(/^(?:the )?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.