mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[REF] theme_*: remove extra_trigger
In order to simplify the tours API, it was decided to remove the extra_trigger key from the steps. To check that an element is in the DOM, simply create a step with a trigger. task~3974087 closes odoo/design-themes#816 Related: odoo/odoo#171309 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -32,15 +32,15 @@ const snippets = [
|
||||
|
||||
wTourUtils.registerThemeHomepageTour("aviato_tour", () => [
|
||||
wTourUtils.assertCssVariable('--color-palettes-name', '"treehouse-5"'),
|
||||
wTourUtils.dragNDrop(snippets[0]),
|
||||
wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
|
||||
...wTourUtils.dragNDrop(snippets[0]),
|
||||
...wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
wTourUtils.dragNDrop(snippets[1]),
|
||||
wTourUtils.dragNDrop(snippets[2]),
|
||||
wTourUtils.dragNDrop(snippets[3]),
|
||||
wTourUtils.dragNDrop(snippets[4]),
|
||||
wTourUtils.dragNDrop(snippets[5]),
|
||||
wTourUtils.clickOnSnippet(snippets[5], 'top'),
|
||||
...wTourUtils.dragNDrop(snippets[1]),
|
||||
...wTourUtils.dragNDrop(snippets[2]),
|
||||
...wTourUtils.dragNDrop(snippets[3]),
|
||||
...wTourUtils.dragNDrop(snippets[4]),
|
||||
...wTourUtils.dragNDrop(snippets[5]),
|
||||
...wTourUtils.clickOnSnippet(snippets[5], 'top'),
|
||||
wTourUtils.changeOption('ColoredLevelBackground', 'we-button[data-toggle-bg-shape]', _t('Background Shape')),
|
||||
wTourUtils.selectNested('we-select-page', 'BackgroundShape', ':not(.o_we_pager_controls)', _t('Background Shape')),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user