mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: add precondition on tour to ensure expected theme
This commit adds a precondition to verify the presence of the specific
theme at the beginning of their tour.
See https://github.com/odoo/odoo/pull/100690.
task-2687506
closes odoo/design-themes#594
X-original-commit: 8b377af3a7
Related: odoo/odoo#101119
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit is contained in:
@@ -31,6 +31,7 @@ const snippets = [
|
||||
];
|
||||
|
||||
wTourUtils.registerThemeHomepageTour("notes_tour", [
|
||||
wTourUtils.assertCssVariable('--color-palettes-name', '"notes-1"'),
|
||||
wTourUtils.dragNDrop(snippets[0]),
|
||||
wTourUtils.clickOnText(snippets[0], 'h1'),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
|
||||
Reference in New Issue
Block a user