Then the "site" toolbar menu should list "Pages"

Assert a toolbar menu lists (or does not list) an entry. Use "site" for the first menu; write an entry of a sub-menu as "Parent > Child". This is how a feature proves what a role may do: an editor's site menu has no "Users" entry.

Examples

Then the "site" toolbar menu should list "Pages"
Then the "site" toolbar menu should not list "Users"
And the "Page" CMS toolbar menu should list "Page settings"
Then the "Language" toolbar menu should list "Add Translation > Deutsch"
But the "Page" django CMS toolbar menu should not list "Publish"

Pattern

Then(/^the "([^"]*)" (?:(?:django )?CMS )?toolbar menu should( not)* list "([^"]*)"$/, …)

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