Then the site navigation should contain "Shop"

Assert the header navigation contains (or does not contain) a page link with the given label. The label is compared after collapsing whitespace and is case sensitive, as written in the page. The links of the header, the folder dropdowns and the burger menu all count, so a template that keeps its navigation only in the burger menu works too.

Examples

Then the site navigation should contain "Shop"
And the site navigation should contain "About"
And the main navigation should contain "Blog"
But the site navigation should not contain "Checkout"
Then the navigation should contain "Contact"

Pattern

Then(/^(?:the )?(?:site |main )?navigation should( not)* contain "([^"]*)"$/, …)

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