Then I should see the access denied page

Assert that the browser shows the Access denied page ("Access denied", "You do not have access to this resource."), where the app sends a signed-in account that a page refuses.

Examples

Then I should see the access denied page
Then we should see the access denied page
And I should see the access denied page
Then I should see the access denied page
And we should see the access denied page

Pattern

Then(/^(I |we )*should see the access denied page$/, …)

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