Then the history should list "Published"

Assert that the history on screen has an entry of an action ("Created", "Draft saved", "Published", "Unpublished", "Locked", "Reverted to previous revision …"), or does not; a part of the words is enough.

Examples

Then the history should list "Published"
Then the history should list "Draft saved"
And the history should list "Reverted to previous revision"
Then the history should not list "Unpublished"
Then the history should list "Created"

Pattern

Then(/^the history should( not)* list "([^"]*)"$/, …)

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