Then I should see the message "1 enrolled users"

Assert that the page shows, or does not show, a message of any kind (see the step above): an alert box, an error under a field, or a toast.

Examples

Then I should see the message "1 enrolled users"
Then I should not see the message "Discussion deleted"
And I should see the message "The changes to the grade and feedback were saved"
Then we should see the message "Class discussion marked as done."
But we should not see the message "Access denied"

Pattern

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

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