mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
b9d48ebe86
Rename all imports with alias old system to the new js module system Task ID: 3266759 closes odoo/design-themes#671 Related: odoo/odoo#127414 Related: odoo/enterprise#43716 Signed-off-by: Bastien Pierre (ipb) <ipb@odoo.com>
43 lines
942 B
JavaScript
43 lines
942 B
JavaScript
/** @odoo-module */
|
|
|
|
import wTourUtils from '@website/js/tours/tour_utils';
|
|
|
|
const snippets = [
|
|
{
|
|
id: 's_cover',
|
|
name: 'Cover',
|
|
},
|
|
{
|
|
id: 's_text_image',
|
|
name: 'Text - Image',
|
|
},
|
|
{
|
|
id: 's_title',
|
|
name: 'Title',
|
|
},
|
|
{
|
|
id: 's_product_list',
|
|
name: 'Items',
|
|
},
|
|
{
|
|
id: 's_company_team',
|
|
name: 'Team',
|
|
},
|
|
{
|
|
id: 's_call_to_action',
|
|
name: 'Call to Action',
|
|
},
|
|
];
|
|
|
|
wTourUtils.registerThemeHomepageTour("beauty_tour", [
|
|
wTourUtils.assertCssVariable('--color-palettes-name', '"beauty-1"'),
|
|
wTourUtils.dragNDrop(snippets[0]),
|
|
wTourUtils.clickOnText(snippets[0], 'h1'),
|
|
wTourUtils.goBackToBlocks(),
|
|
wTourUtils.dragNDrop(snippets[1]),
|
|
wTourUtils.dragNDrop(snippets[2]),
|
|
wTourUtils.dragNDrop(snippets[3]),
|
|
wTourUtils.dragNDrop(snippets[4]),
|
|
wTourUtils.dragNDrop(snippets[5]),
|
|
]);
|