mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] theme_test_custo: use new utility to enter in edit mode
This commit permits to use the new utility to enter in edit mode. This
way, we make sure that the edit mode is enabled before testing the next
step of the test. This avoids race conditions during tests.
task-3203820
closes odoo/design-themes#655
X-original-commit: f4d818e772
Related: odoo/odoo#120335
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Guillaume-gdi <gdi@odoo.com>
This commit is contained in:
@@ -29,11 +29,9 @@ wTourUtils.registerWebsitePreviewTour('theme_menu_hierarchies', {
|
||||
trigger: 'iframe footer ul li a[href="/dogs"]',
|
||||
run: () => null, // It's a check.
|
||||
},
|
||||
wTourUtils.clickOnEdit(),
|
||||
...wTourUtils.clickOnEditAndWaitEditMode(),
|
||||
{
|
||||
content: 'Click on footer',
|
||||
// TODO: this extra_trigger should be part of the `clickOnEdit` util
|
||||
extra_trigger: "#oe_snippets.o_loaded",
|
||||
trigger: 'iframe footer',
|
||||
}, {
|
||||
content: 'The theme custom footer template should be listed and selected',
|
||||
|
||||
Reference in New Issue
Block a user