Then the navigation toolbar should list "Content"

Assert the Navigation sidebar lists, or does not list, a menu link by its exact text, collapsed sections included (their links are in the markup). Which links a role sees is how a site scopes the back end, so this is the quick permission check for a role.

Examples

Then the navigation toolbar should list "Content"
And the navigation sidebar should list "Pages"
Then the navigation menu should not list "People"
And the admin menu should list "Media"
Then the navigation toolbar should not list "Extend"

Pattern

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

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