Then every form that posts on this page should carry an anti-forgery token

Assert that every form of the page that posts carries its anti-forgery token (a hidden __RequestVerificationToken field with a value), the token the app checks on every post.

Examples

Then every form that posts on this page should carry an anti-forgery token
Then every form that posts on this page should carry a CSRF token
And every form that posts on this page should carry an anti-forgery token
Then every form that posts on this page should carry a CSRF token
And every form that posts on this page should carry an anti-forgery token

Pattern

Then(/^every form that posts on this page should carry (?:an anti-forgery|a CSRF) token$/, …)

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