Then I should be refused the repository "owner/webship-site"

Assert that the session may not open a repository: the forge answers 404 ("…not authorized to view it"), as it does for a private repository an account has no access to. Give such a scenario @js-off: the browser logs the 404.

Examples

Then I should be refused the repository "owner/webship-site"
Then we should be refused the repository "owner/webship-site"
And I should be refused the repository "owner/webship-site"
But I should be refused the repository "owner/webship-site"
Then should be refused the repository "owner/webship-site"

Pattern

Then(/^(I |we )*should be refused the repository "([^"]*)"$/, …)

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