The login was refused, and the webmail says why. The login form is still there.
Examples
Then the webmail should refuse the login with "Login failed."
Then the webmail should refuse the login with "Login failed"
And the webmail should refuse the login with "Login failed."
Then the webmail should refuse the login with "failed"
And the webmail should refuse the login with "Login failed."
Pattern
Then(/^the webmail should refuse the login with "([^"]*)"$/, …)
Part of @webship-js/roundcube-steps (github.com/webship/roundcube-steps), a step pack for Webship-js 2.0.x.