Then I should see the login form

Assert the Django admin login form (#login-form) is (or is not) on the page. An anonymous visitor who opens an admin page is sent to it.

Examples

Then I should see the login form
Then I should not see the login form
And we should see the admin login form
Then should see the login form
But we should not see the admin login form

Pattern

Then(/^(I |we )*should( not)* see the (?:admin )?login form$/, …)

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