Then the status panel should say "Draft"

Assert a status the status side panel of the editor shows: "Draft", "Live", "In Moderation", "Locked by you", "Unlocked", "Visible to all", or a line under one ("Go-live: Jan. 1, 2030, 9 a.m."). A part of the line is enough.

Examples

Then the status panel should say "Draft"
Then the status panel should say "Live"
And the status panel should say "Locked by you"
Then the status panel should say "Go-live: Jan. 1, 2030"
Then the status panel should say "In Moderation"

Pattern

Then(/^the status panel should say "([^"]*)"$/, …)

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