Then the menu should have a link labeled "Pricing"

Assert the menu does (or does not) have a link with the given label. The label is the whole text of the link, as it is written in the menu settings.

Examples

Then the menu should have a link labeled "Pricing"
Then the menu should have a link labeled "Blog"
And the menu should have a link labeled "Contact"
But the menu should not have a link labeled "Checkout"
Then menu should have a link labelled "Home"

Pattern

Then(/^(?:the )?menu should( not)* have a link labell?ed "([^"]*)"$/, …)

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