Then the form of the other site should be refused

Assert that the app refused the form a page of another site sent: it answered with a refusal (400) or sent the browser to the login page (the sign-in cookie is not sent with a form of another site), and nothing it guards was done.

Examples

Then the form of the other site should be refused
And the form of the other site should be refused
Then the form of the other site should be refused
But the form of the other site should be refused
Then the form of the other site should be refused

Pattern

Then(/^the form of the other site should be refused$/, …)

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