Assert that the login page refused the login with an error (or a part of it), and that nobody got into the admin. The admin writes one error for a wrong password, an unknown user name and an inactive account alike, another for an account that may not use the admin, and "This field is required." under an empty field.
Examples
Then the login should be refused with "Your username and password didn't match. Please try again."
Then the login should be refused with "You do not have permission to access the admin."
And the login should be refused with "didn't match"
Then the login should be refused with "This field is required."
Then the login should be refused with "Please try again."
Pattern
Then(/^the login should be refused with "([^"]*)"$/, …)
Part of @webship-js/wagtail-steps (github.com/webship/wagtail-steps), a step pack for Webship-js 2.0.x.