Then the editor should offer "Publish"

Assert that the editor offers an action (in its footer or its "More actions" menu), or does not: what an account may do with the page.

Examples

Then the editor should offer "Publish"
Then the editor should not offer "Publish"
And the editor should offer "Submit to Moderators approval"
Then the editor should offer "Unpublish"
And the editor should not offer "Unpublish"

Pattern

Then(/^the editor should( not)* offer "([^"]*)"$/, …)

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