Publish or unpublish a page from the page tree, with the menu of its state indicator (djangocms-versioning). "Publish" needs a draft; "Unpublish" needs a published version and asks for a confirmation, which the step gives.
Examples
When I publish the page "Draft notes" in the page tree
When I unpublish the page "Contact" in the page tree
And we publish the page "News" in the page tree
When unpublish the page "Team" in the CMS page tree
And we unpublish the page "Old news" in the page tree
Pattern
When(/^(I |we )*(publish|unpublish) the page "([^"]*)" 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.