[FIX] website: make 'edit_menus' tour work without website_sale

The tour mentioned the "Shop" menu item since [1]. This is obviously
a mistake: the tour should work when only the website app is installed.

[1]: https://github.com/odoo/odoo/commit/a4b1c268131ed771dd68616a26a9f1ce50a189f0

runbot-60696

closes odoo/odoo#161073

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
qsm-odoo
2024-04-09 15:06:52 +00:00
parent 7a7d6d0353
commit ce3b096de7
@@ -175,14 +175,14 @@ wTourUtils.registerWebsitePreviewTour('edit_menus', {
debugHelp: "This is a hack/workaround for the next step",
},
{
content: "Drag item into parent",
content: "Drag 'Contact Us' item below the 'Home' item",
trigger: '.oe_menu_editor li:contains("Contact us") .fa-bars',
run: "drag_and_drop_native .oe_menu_editor li:contains('Shop') .fa-bars",
run: "drag_and_drop_native .oe_menu_editor li:contains('Home') + li .fa-bars",
},
{
content: "Drag item into parent",
content: "Drag 'Contact Us' item as a child of the 'Home' item",
trigger: '.oe_menu_editor li:contains("Contact us") .fa-bars',
run: 'drag_and_drop_native .oe_menu_editor li:contains("Contact us") .form-control',
run: "drag_and_drop_native .oe_menu_editor li:contains('Home') + li .form-control",
},
{
content: "Wait for drop",