mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] theme_*: Update homepage tours
Steps to reproduce ================== Run the `test_02_homepage_tour_every_theme` tour. Cause of the issue ================== There is an homepage tour for every theme. Since the owl conversion of web_tour, none of the custom theme tour were run and for every website, the default homepage tour was used instead. Some updates to those themes caused the tours to fail, but since they weren't run, no one noticed. The issue has been fixed in community: https://github.com/odoo/odoo/pull/142350 Solution ======== Since1aa6700c98, some h1 tags were replaced by h2. Since68c68740bf, The banner has been replaced by a text cover. opw-3595512 X-original-commit:2e263a4f6bPart-of: odoo/design-themes#746
This commit is contained in:
committed by
Hubert Van De Walle
parent
936f086d9a
commit
3b94657c59
@@ -5,7 +5,7 @@ import wTourUtils from '@website/js/tours/tour_utils';
|
||||
const snippets = [
|
||||
{
|
||||
id: 's_text_cover',
|
||||
name: 'Banner',
|
||||
name: 'Text Cover',
|
||||
},
|
||||
{
|
||||
id: 's_images_wall',
|
||||
|
||||
@@ -37,7 +37,7 @@ wTourUtils.registerThemeHomepageTour("artists_tour", () => [
|
||||
wTourUtils.goBackToBlocks(),
|
||||
wTourUtils.dragNDrop(snippets[2]),
|
||||
wTourUtils.dragNDrop(snippets[3]),
|
||||
wTourUtils.clickOnText(snippets[3], 'h1'),
|
||||
wTourUtils.clickOnText(snippets[3], 'h2'),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
wTourUtils.dragNDrop(snippets[4]),
|
||||
wTourUtils.dragNDrop(snippets[5]),
|
||||
|
||||
@@ -33,7 +33,7 @@ const snippets = [
|
||||
wTourUtils.registerThemeHomepageTour("notes_tour", () => [
|
||||
wTourUtils.assertCssVariable('--color-palettes-name', '"notes-1"'),
|
||||
wTourUtils.dragNDrop(snippets[0]),
|
||||
wTourUtils.clickOnText(snippets[0], 'h1'),
|
||||
wTourUtils.clickOnText(snippets[0], 'h2'),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
wTourUtils.dragNDrop(snippets[1]),
|
||||
wTourUtils.dragNDrop(snippets[2]),
|
||||
|
||||
@@ -33,7 +33,7 @@ wTourUtils.registerThemeHomepageTour("yes_tour", () => [
|
||||
wTourUtils.assertCssVariable('--color-palettes-name', '"yes-3"'),
|
||||
wTourUtils.dragNDrop(snippets[0]),
|
||||
wTourUtils.dragNDrop(snippets[1]),
|
||||
wTourUtils.clickOnText(snippets[1], 'h1'),
|
||||
wTourUtils.clickOnText(snippets[1], 'h2'),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
wTourUtils.dragNDrop(snippets[2]),
|
||||
wTourUtils.dragNDrop(snippets[3]),
|
||||
|
||||
Reference in New Issue
Block a user