[FIX] theme_test_custo: fix nightly theme preview tour

The theme preview feature before selection was disabled in [1]. This
commit disables the related tour steps that were testing it a nightly
tour... that was red since then.

[1]: https://github.com/odoo/odoo/commit/7cb71e9479df0ee9af0b7ad39302857666726177

Related to task-3454790

closes odoo/design-themes#1080

X-original-commit: 9580ef86ac
Related: odoo/odoo#210221
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
qsm-odoo
2025-05-15 12:56:51 +00:00
parent 22d216a7a7
commit fb69687603
2 changed files with 6 additions and 0 deletions
@@ -26,6 +26,9 @@ registry.category("web_tour.tours").add("website_theme_preview", {
}, {
content: "Click on the Live preview of a theme",
trigger: ".o_theme_preview button:not(:visible)",
/*
TODO The feature that the following steps are testing is currently disabled.
It will either be restored or entirely removed at some point. See task-3454790.
run: "click",
}, {
content: "Switch from desktop to mobile preview",
@@ -43,4 +46,5 @@ registry.category("web_tour.tours").add("website_theme_preview", {
content: "Check that the desktop view is active",
trigger: ".o_view_form_theme_preview_controller .o_field_iframe > div:not(.is_mobile):visible",
run: () => null, // it's a check
*/
}]});