Assert that every form of the page that posts carries a CSRF token (a hidden _csrf field with a value). Without one, Spring Security refuses every one of its saves with HTTP 403.
Examples
Then every form that posts on this page should carry a CSRF token
And every form that posts on this page should carry a CSRF token
Then every form that posts on this page should carry a CSRF token
But every form that posts on this page should carry a CSRF token
Then every form that posts on this page should carry a CSRF token
Pattern
Then(/^every form that posts on this page should carry a CSRF token$/, …)
Part of @webship-js/spring-boot-steps (github.com/webship/spring-boot-steps), a step pack for Webship-js 2.0.x.