Then the main menu should offer "Campaigns"

Assert that the main menu offers an item (or a group) to the account logged in, or does not: the menu leaves out what its role has no right to.

Examples

Then the main menu should offer "Campaigns"
Then the main menu should not offer "Campaigns"
And the main menu should offer "Components"
Then the main menu should not offer "Emails"
And the main menu should offer "Contacts"

Pattern

Then(/^the main menu should( not)? offer "([^"]*)"$/, …)

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