Then I should see the CMS message "Version published"

Assert a message with the given text was (or was not) shown: the toolbar's own message (.cms-messages, which fades after a few seconds but keeps its text) or a Django admin message (ul.messagelist).

Examples

Then I should see the CMS message "Version published"
Then I should not see the CMS message "Version published"
And we should see the django CMS message "The page content"
Then should see the CMS message "was changed successfully"
But we should not see the CMS message "Error"

Pattern

Then(/^(I |we )*should( not)* see the (?:django )?CMS message "([^"]*)"$/, …)

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