Then I should see the Odoo top menu

Assert the Website top menu (main navigation) is, or is not, visible. Matches #top_menu, the <ul> every Odoo Website header renders its menu items into.

Examples

Then I should see the Odoo top menu
And I should see the main menu
Then we should see the Odoo menu
And should not see the top menu
Then I should see the main navigation menu

Pattern

Then(/^(I |we )*should( not)* see the (?:Odoo )?(?:top |main )?(?:menu|navigation menu)$/, …)

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