[FIX] theme_test_custo: adapt test_website_theme_preview tour
Follow-up of f38205873e
closes odoo/design-themes#1071
Signed-off-by: Hubert Van De Walle <huvw@odoo.com>
This commit is contained in:
@@ -13,7 +13,7 @@ registry.category("web_tour.tours").add("website_theme_preview", {
|
|||||||
}, {
|
}, {
|
||||||
content: "insert website name",
|
content: "insert website name",
|
||||||
trigger: '[name="name"] input',
|
trigger: '[name="name"] input',
|
||||||
run: "text Website Test",
|
run: "edit Website Test",
|
||||||
}, {
|
}, {
|
||||||
content: "Validate the website creation modal",
|
content: "Validate the website creation modal",
|
||||||
trigger: "button.btn-primary",
|
trigger: "button.btn-primary",
|
||||||
@@ -28,6 +28,7 @@ registry.category("web_tour.tours").add("website_theme_preview", {
|
|||||||
content: "Click on the Live preview of a theme",
|
content: "Click on the Live preview of a theme",
|
||||||
trigger: ".o_theme_preview .o_button_area .btn-secondary:contains('Live Preview')",
|
trigger: ".o_theme_preview .o_button_area .btn-secondary:contains('Live Preview')",
|
||||||
run: "click",
|
run: "click",
|
||||||
|
allowInvisible: true,
|
||||||
}, {
|
}, {
|
||||||
content: "Switch from desktop to mobile preview",
|
content: "Switch from desktop to mobile preview",
|
||||||
trigger: ".btn[for=themeViewerMobile]",
|
trigger: ".btn[for=themeViewerMobile]",
|
||||||
|
|||||||
Reference in New Issue
Block a user