Then I should be in the web client

Assert the page is, or is not, the web client: the application internal users work in (body.o_web_client with the navigation bar .o_main_navbar), as opposed to the website and the portal.

Examples

Then I should be in the web client
And we should be in the web client
Then we should be in the backend
And I should not be in the web client
Then I should not be in the backend

Pattern

Then(/^(I |we )*should( not)* be in the (?:web client|backend)$/, …)

Part of @webship-js/odoo-steps (github.com/webship/odoo-steps), a step pack for Webship-js 2.0.x.