When I log out

Log out of the Django admin / CMS toolbar.

django CMS's "Logout <username>" toolbar link submits an AJAX POST (Django's admin logout view rejects a bare GET), so this step opens the toolbar's site-name menu and clicks through it rather than navigating to /admin/logout/ directly.

Examples

When I log out
When we log out
And I log out
When log out
And we log out

Pattern

When(/^(I |we )*log out$/, …)

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