Then I should be in edit mode

Assert the page is (or is not) in edit mode: django CMS reports the "draft" mode and serves the page from its edit endpoint.

Examples

Then I should be in edit mode
Then I should not be in edit mode
And we should be in edit mode
Then should be in edit mode
But we should not be in edit mode

Pattern

Then(/^(I |we )*should( not)* be in edit mode$/, …)

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