Log out as a person does: "Logout" in the menu under the user name at the top of the page; the board answers with its index, as a visitor sees it. On a page without that menu, the step opens the board index first.
Examples
When I log out
When we log out
And I log out
Then I log out
Given I log out
Pattern
When(/^(I |we )*log out$/, …)
Part of @webship-js/phpbb-steps (github.com/webship/phpbb-steps), a step pack for Webship-js 2.0.x.