Assert the login screen shows, or does not show, an informational message (#login .message), optionally containing a text. WordPress uses it for "You are now logged out." and "Check your email for the confirmation link."
Examples
Then I should see a login message
And we should see a login message "logged out"
Then should see a sign-in message "Check your email"
Then I should not see a login message
But we should not see a login message "logged out"
Pattern
Then(/^(I |we )*should( not)* see an? (?:login|sign[- ]?in) message(?: "([^"]*)")?$/, …)
Part of @webship-js/wordpress-steps (github.com/webship/wordpress-steps), a step pack for Webship-js 2.0.x.