An account of the users registry (or an email address) has a role, as the administration panel's users list shows it.
Examples
Then the account "editor" should have the role "Editor"
Then the account "author" should have the role "Author"
And the account "administrator" should have the role "Super Admin"
Then the account "editor@example.com" should have the role "Editor"
Then the account "author" should have the role "Author"
Pattern
Then(/^the account "([^"]*)" should have the role "([^"]*)"$/, …)
Part of @webship-js/strapi-steps (github.com/webship/strapi-steps), a step pack for Webship-js 2.0.x.