[FIX] theme_test_custo: use new utility to enter in edit mode

This commit permit to use the new utility to enter in edit mode.

See https://github.com/odoo/odoo/pull/118849

task-3203820
This commit is contained in:
Guillaume (gdi)
2023-04-18 12:53:20 +02:00
parent 57de963baf
commit 1f8d96f5e6
@@ -29,11 +29,9 @@ wTourUtils.registerWebsitePreviewTour('theme_menu_hierarchies', {
trigger: 'iframe footer ul li a[href="/dogs"]', trigger: 'iframe footer ul li a[href="/dogs"]',
run: () => null, // It's a check. run: () => null, // It's a check.
}, },
wTourUtils.clickOnEdit(), ...wTourUtils.clickOnEditAndWaitEditMode(),
{ {
content: 'Click on footer', content: 'Click on footer',
// TODO: this extra_trigger should be part of the `clickOnEdit` util
extra_trigger: "#oe_snippets.o_loaded",
trigger: 'iframe footer', trigger: 'iframe footer',
}, { }, {
content: 'The theme custom footer template should be listed and selected', content: 'The theme custom footer template should be listed and selected',