Assert the messages the admin shows above a page after an action: success, warning, error or info, by their text or a part of it (straight quotes match the admin's typographic ones).
Examples
Then I should see the success message "The question “What is new?” was added successfully."
Then I should see the success message "was changed successfully"
And I should see the warning message "No action selected."
Then I should not see the error message "Please correct the error below."
And we should see the success message "Successfully deleted 2 questions."
Pattern
Then(/^(I |we )*should( not)* see the (success|warning|error|info) message "([^"]*)"$/, …)
Part of @webship-js/django-steps (github.com/webship/django-steps), a step pack for Webship-js 2.0.x.