Skip to content

Commit 3b94657

Browse files
committed
[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: odoo/odoo#142350 Solution ======== Since 1aa6700, some h1 tags were replaced by h2. Since 68c6874, The banner has been replaced by a text cover. opw-3595512 X-original-commit: 2e263a4 Part-of: #746
1 parent 936f086 commit 3b94657

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

theme_anelusia/static/src/js/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import wTourUtils from '@website/js/tours/tour_utils';
55
const snippets = [
66
{
77
id: 's_text_cover',
8-
name: 'Banner',
8+
name: 'Text Cover',
99
},
1010
{
1111
id: 's_images_wall',

theme_artists/static/src/js/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ wTourUtils.registerThemeHomepageTour("artists_tour", () => [
3737
wTourUtils.goBackToBlocks(),
3838
wTourUtils.dragNDrop(snippets[2]),
3939
wTourUtils.dragNDrop(snippets[3]),
40-
wTourUtils.clickOnText(snippets[3], 'h1'),
40+
wTourUtils.clickOnText(snippets[3], 'h2'),
4141
wTourUtils.goBackToBlocks(),
4242
wTourUtils.dragNDrop(snippets[4]),
4343
wTourUtils.dragNDrop(snippets[5]),

theme_notes/static/src/js/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const snippets = [
3333
wTourUtils.registerThemeHomepageTour("notes_tour", () => [
3434
wTourUtils.assertCssVariable('--color-palettes-name', '"notes-1"'),
3535
wTourUtils.dragNDrop(snippets[0]),
36-
wTourUtils.clickOnText(snippets[0], 'h1'),
36+
wTourUtils.clickOnText(snippets[0], 'h2'),
3737
wTourUtils.goBackToBlocks(),
3838
wTourUtils.dragNDrop(snippets[1]),
3939
wTourUtils.dragNDrop(snippets[2]),

theme_yes/static/src/js/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ wTourUtils.registerThemeHomepageTour("yes_tour", () => [
3333
wTourUtils.assertCssVariable('--color-palettes-name', '"yes-3"'),
3434
wTourUtils.dragNDrop(snippets[0]),
3535
wTourUtils.dragNDrop(snippets[1]),
36-
wTourUtils.clickOnText(snippets[1], 'h1'),
36+
wTourUtils.clickOnText(snippets[1], 'h2'),
3737
wTourUtils.goBackToBlocks(),
3838
wTourUtils.dragNDrop(snippets[2]),
3939
wTourUtils.dragNDrop(snippets[3]),

0 commit comments

Comments
 (0)