Then the post should be published in the editor

Assert the status of the entry in the editor, as saved: published, a draft, pending review or scheduled.

Examples

Then the post should be published in the editor
And the page should be a draft in the editor
Then the post should be pending review in the editor
And the post should not be published in the editor
Then the page should be scheduled in the editor

Pattern

Then(/^the (post|page) should( not)* be (published|a draft|pending review|scheduled) in the editor$/, …)

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