Then I should be on an Odoo website page

Assert the current page was, or was not, rendered by the Odoo Website builder: it has the #wrapwrap element every Odoo Website page wraps its header, main and footer in, regardless of which front-end app (Website, eCommerce, Blog, Events, Jobs, ...) rendered the page.

Examples

Then I should be on an Odoo website page
And I should be on a website page
Then we should be on an Odoo website page
And should not be on a website page
Then I should not be on an Odoo website page

Pattern

Then(/^(I |we )*should( not)* be on an? (?:Odoo )?website page$/, …)

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