Then I should be on the Odoo events page

Assert the current page is, or is not, the Events index/listing template. Matches .o_wevent_index, rendered by the Events app's event-list view.

Examples

Then I should be on the Odoo events page
And I should be on the event page
Then we should be on the Odoo events page
And should not be on the events index
Then I should be on the events listing page

Pattern

Then(/^(I |we )*should( not)* be on the (?:Odoo )?events? (?:page|index|listing page)$/, …)

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