Assert the state the page tree shows for a page, in the language the tree shows: "published", "a draft" (never published, or a new draft with no published version), "unpublished", "archived", "changed" (published, with a newer draft) or "empty" (no content in this language).
Examples
Then the page "About" should be published in the page tree
Then the page "Draft notes" should be a draft in the page tree
And the page "Draft notes" should not be published in the page tree
Then the page "Old news" should be unpublished in the page tree
And the page "Home" should be changed in the CMS page tree
Pattern
Then(/^the page "([^"]*)" should( not)* be (published|a draft|draft|unpublished|archived|changed|empty) in the (?:(?:django )?CMS )?page tree$/, …)
Part of @webship-js/django-cms-steps (github.com/webship/django-cms-steps), a step pack for Webship-js 2.0.x.