Then the moderation sidebar should show "Draft"

Assert the open Moderation Sidebar shows, or does not show, a text: the current state, or an action such as "Edit content" or "Delete". Scoped to the off-canvas panel and matched case-insensitively.

Examples

Then the moderation sidebar should show "Draft"
And the moderation sidebar should show "Edit content"
Then the moderation sidebar should not show "Delete"
And moderation sidebar should show "Published"
Then the moderation sidebar should not show "Archived"

Pattern

Then(/^(?:the )?moderation sidebar should( not)* show "([^"]*)"$/, …)

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