When I log out

Log out. On a CMS page the step uses the toolbar's "Logout <username>" entry (an AJAX POST: Django's logout view rejects a GET); on a Django admin page, which has no CMS toolbar, it submits the admin's own logout form (#logout-form).

Examples

When I log out
When we log out
And I sign out
When log out
And we logout

Pattern

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

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