Then the admin should refuse this account

The account signed in may not use the admin: the admin shows its refusal ("Unauthorized, this user does not have access to the admin panel.") at /admin/unauthorized. An account without a role is refused so.

Examples

Then the admin should refuse this account
And the admin should refuse this account
Then the admin should refuse this account
And the admin should refuse this account
Then the admin should refuse this account

Pattern

Then(/^the admin should refuse this account$/, …)

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