When a page of another site sends a form to "/Identity/Account/Logout"

Send a form to a path of the app from a page of another site, with the browser's cookies as the browser sends them (a forged cross-site request): an empty form, with no token of the app. The app must refuse it; assert it with "the form of the other site should be refused" and what it changed with the steps after. The page of the other site is closed afterwards and the scenario goes on in its own page.

Examples

When a page of another site sends a form to "/Identity/Account/Logout"
When a page of another site sends a form to "/Identity/Account/Manage"
And a page of another site sends a form to "/Movies/Delete/1"
When a page of another site sends a form to "/Identity/Account/Manage/ChangePassword"
When a page of another site sends a form to "/Identity/Account/Manage/Disable2fa"

Pattern

When(/^a page of another site sends a form to "([^"]*)"$/, …)

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