Then I should see the CMS toolbar

Assert the django CMS toolbar is (or is not) visible. It renders for logged-in staff users and never for anonymous visitors.

Examples

Then I should see the CMS toolbar
Then I should not see the CMS toolbar
And we should see the django CMS toolbar
But we should not see the CMS toolbar
Then should see the toolbar

Pattern

Then(/^(I |we )*should( not)* see the (?:(?:django )?CMS )?toolbar$/, …)

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