[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:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user