File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
theme_odoo_experts/static/src/js
theme_test_custo/static/tests/tours Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 11/** @odoo -module */
22
33import * as wTourUtils from '@website/js/tours/tour_utils' ;
4- import { _t } from "@web/core/l10n/translation" ;
54
65const snippets = [
76 {
@@ -52,8 +51,7 @@ wTourUtils.registerThemeHomepageTour("odoo_experts_tour", () => [
5251 ...wTourUtils . insertSnippet ( snippets [ 4 ] ) ,
5352 ...wTourUtils . insertSnippet ( snippets [ 5 ] ) ,
5453 ...wTourUtils . clickOnSnippet ( snippets [ 5 ] , 'top' ) ,
55- wTourUtils . changeOption ( 'FAQ Block' , 'toggleBgShape' , _t ( 'Background Shape' ) ) ,
56- wTourUtils . clickOnElement ( "shape" , ".builder_select_page [data-action-id='setBackgroundShape']" ) ,
54+ ...wTourUtils . changeBackgroundShape ( ) ,
5755 wTourUtils . goBackToBlocks ( ) ,
5856 ...wTourUtils . insertSnippet ( snippets [ 6 ] ) ,
5957] ) ;
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ wTourUtils.registerWebsitePreviewTour('theme_menu_hierarchies', {
4747 run : "click" ,
4848 } , {
4949 content : 'The theme custom "Blob 01" shape should be listed and selected' ,
50- trigger : '[data-container-title="Image"] [data-label="Shape"] div.dropdown :contains("Blob 01")' ,
50+ trigger : '[data-container-title="Image"] [data-label="Shape"] button.btn-secondary :contains("Blob 01")' ,
5151 } , {
5252 content : 'Click on section which has a bg shape' ,
5353 trigger : ':iframe #wrap .s_text_block[data-oe-shape-data]' ,
You can’t perform that action at this time.
0 commit comments