Log out of the admin panel through the account menu of the header.
Examples
When I log out of the admin panel
And I log out of the admin panel
When we log out of the admin panel
When log out of the admin panel
And we log out of the admin panel
Pattern
When(/^(I |we )*log out of the admin panel$/, …)
Part of @webship-js/magento-steps (github.com/webship/magento-steps), a step pack for Webship-js 2.0.x.