Log out through the menu of the account (the button with its name at the bottom of the dashboard's side bar): "Logout". The session of the account is forgotten.
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/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.