Assert the main button of the editor header offers an action, by its label: "Publish" for an editor or an author, "Submit for Review" for a contributor, "Save" or "Update" for an entry that is published already.
Examples
Then the editor should offer "Publish"
And the editor should offer "Submit for Review"
Then the editor should not offer "Publish"
And the editor should not offer "Submit for Review"
Then the editor should offer "Save"
Pattern
Then(/^the editor should( not)* offer "([^"]*)"$/, …)
Part of @webship-js/wordpress-steps (github.com/webship/wordpress-steps), a step pack for Webship-js 2.0.x.