Press the button of the logout confirmation page ("Log Out" on the generated page), and wait for the page the logout leads to.
Examples
When I confirm the logout
When we confirm the logout
And I confirm the logout
When I confirm the logout
Then I confirm the logout
Pattern
When(/^(I |we )*confirm the logout$/, …)
Part of @webship-js/spring-boot-steps (github.com/webship/spring-boot-steps), a step pack for Webship-js 2.0.x.