Then the "About" navigation folder should contain "Contact"

Assert a navigation folder holds (or does not hold) a page link with the given label. The dropdown does not need to be open.

Examples

Then the "About" navigation folder should contain "Contact"
And the "About" navigation folder should contain "Projects"
And the "About" navigation folder should contain "Partners"
But the "About" navigation folder should not contain "News"
Then the "Resources" navigation folder should contain "Guides"

Pattern

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

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