diff --git a/addons/website/static/tests/tours/edit_menus.js b/addons/website/static/tests/tours/edit_menus.js index 93bbe91df44..b7fd682f624 100644 --- a/addons/website/static/tests/tours/edit_menus.js +++ b/addons/website/static/tests/tours/edit_menus.js @@ -250,6 +250,11 @@ wTourUtils.registerWebsitePreviewTour('edit_menus', { .scrollIntoView(true); } }, + { + content: "Check that the mega menu is closed", + trigger: 'iframe #top_menu .nav-item:contains("Megaaaaa!"):has(div[data-name="Mega Menu"]:not(.show))', + run:() => {}, // It's a check. + }, { content: "Open the mega menu after scroll", trigger: 'iframe #top_menu .nav-item a.o_mega_menu_toggle:contains("Megaaaaa!")',