Commit Graph

4 Commits

Author SHA1 Message Date
qsm-odoo c0d3a66313 [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#1082

X-original-commit: b4dfb01abe
Related: odoo/odoo#210890
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-05-22 20:28:05 +00:00
qsm-odoo 9eecd12db1 [IMP] *: remove useless utf-8 declaration
Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-21 16:34:53 +00:00
Robin Lejeune (role) cc958193fb [FIX] theme_test_custo: add test for the mobile/desktop theme preview
With the Milk redesign in [1], the possibility to use the mobile/desktop
switcher on a theme preview to see how it behaves/displays on those
devices didn't work anymore.

It has been fixed in [2], but in order to prevent future breaks, this
commit tests this functionality.

task-3355253

[1]: https://github.com/odoo/odoo/commit/caef16ee4e5351142ef04f02798999ccb38a56bc
[2]: https://github.com/odoo/odoo/commit/9445f61bcaee88bc6ac2fc373d7eca4e4b38c154

closes odoo/design-themes#670

X-original-commit: ed2fdd45f2
Related: odoo/odoo#127911
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-07-10 18:16:28 +02:00
Romain Derie 0e2497b8e8 [IMP] test_themes, theme_test_custo: add new test theme for tests
This commit introduces a new theme for tests purpose.
The goal is to be able to create records and simulate a real use case
without only testing through unit tests in python.
For instance, with this commit, we now fully test:
- menu creation
- page creation
- new header & footer template
- new image shape & background shape

This will be extended later to be able to test other stuff too, maybe
like changing the website logo (not supported yet). Also, our existing
standalone test in themes should use this theme instead of nano to not
rely on a real theme that might change.

Courtesy of NMI as this theme is partly based on his job.

closes odoo/design-themes#586

Related: odoo/odoo#99099
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-09-07 23:10:56 +02:00