When I try to create the account "editor"

Try to make an account with a name that is taken, as a person does ("New account", its name and a password, "Add new account"): for the refusal. The server refuses it and the dialog stays open; no account is made.

            Then the new account should be refused with "User already exists"

Examples

When I try to create the account "editor"
When I try to create the account "user"
When we try to create the account "administrator"
And I try to create the account "editor"
When I try to create the account "user"

Pattern

When(/^(?:I|we) try to create the account "([^"]*)"$/, …)

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