The new account was refused, with the server's words (as a part of the message that popped up); the dialog is still open, and the step closes it.
And the account list should show "editor"
Examples
Then the new account should be refused with "User already exists"
Then the new account should be refused with "already exists"
And the new account should be refused with "User already exists"
Then the new account should be refused with "User already exists"
Then the new account should be refused with "Unable to proceed"
Pattern
Then(/^the new account should be refused with "([^"]*)"$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.