Then the navigation should list "Home"

Assert the Navbar lists, or does not list, a link by its exact text. The links of a collapsed menu are in the markup whether or not the menu is open, so the step does not open it.

Examples

Then the navigation should list "Home"
And the navigation menu should list "Services"
Then the navigation should not list "Admin"
And the webflow navigation should list "Contact"
Then the navigation menu should not list "Login"

Pattern

Then(/^the (?:webflow )?navigation( menu)? should( not)* list "([^"]*)"$/, …)

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