Commit Graph

11 Commits

Author SHA1 Message Date
Romain Derie 1d47f8ad57 [IMP] test_themes: add test for fix about primary template generation
See previous commit.

closes odoo/design-themes#761

X-original-commit: 14c3bbb9ff
Related: odoo/odoo#151375
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2024-02-03 06:07:04 +00:00
Benoit Socias 51c310c785 [IMP] test_themes: test that theme_default templates are generated
This commit adds a test that verifies if the theme_default's
configurator templates are generated whenever the website module is
either installed or updated.

Related to https://github.com/odoo/odoo/pull/151501.

task-3670496

closes odoo/design-themes#763

X-original-commit: b8aae07df4
Related: odoo/odoo#151682
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-01-30 10:54:18 +00:00
Benoit Socias ee58e3eb6c [IMP] test_themes: add tests to ensure theme compatibility with website
This commit adds a test that makes sure templates can be rendered on
all themes and that they neither contain duplicate classes nor
contradicting ones.

Covered templates:
- snippet blocks
- configurator snippet customizations
- new page template snippet customizations

task-3562147

closes odoo/design-themes#744

X-original-commit: 758e2ab819
Related: odoo/odoo#141074
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-11-05 04:52:43 +00:00
Xavier-Do 6d5a448450 [IMP] test_themes: adapt asset url
see companion pr odoo/odoo#131353

closes odoo/design-themes#734

X-original-commit: 102270967b
Related: odoo/odoo#140124
Related: odoo/enterprise#49743
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
2023-10-27 15:05:26 +00:00
Romain Derie 35f4de9674 [FIX] test_themes: fix theme_upgrade standalone test
Ripple option is now an ir.asset, not an ir.ui.view anymore, see [1].

[1]: https://github.com/odoo/odoo/commit/9f56357cc1f4a7b8606ef4d5fd431fc396bdf1e8

closes odoo/design-themes#585

X-original-commit: 96e713a14f
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2022-08-30 21:25:43 +02:00
Younn Olivier 163a8b6fae [IMP] test_themes: adapt to website_preview client action
This commit removes the tooltips shown when hovering over a theme in
the website switcher dropdown. This feature will be reimplemented later,
patching the WebsiteSwitcherSystray component.

It also adapts the ?fw= url parameter to force a website id during the
tours.

task-2687506

closes odoo/design-themes#572

Related: odoo/odoo#89223
Related: odoo/enterprise#28448
Related: odoo/upgrade#3464
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-06-24 12:39:29 +02:00
Romain Derie ab4f5e6178 [IMP] test_themes: add a test for the _post_copy() community fix
Now, `_post_copy()` is only called when the module is installed for the
first time on a website, not when the module is updated.

See counterpart commit in community for more details.

opw-2824045

closes odoo/design-themes#571

X-original-commit: 0e324061d1
Related: odoo/odoo#93109
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2022-06-08 16:50:59 +02:00
qsm-odoo 751cdc54e6 [FIX] test_themes: add a test which goes over all theme tours
This is a backport of [1] which at the same time finally enables the
test to be able to test all theme tours. Notice that the tours should
be improved so that each step properly checks that the previous step
actually had an effect (as those tours are normally made to display to
the user and were not designed for testing). However, this is already
really useful as only checking if *entering* edit mode in each theme
does not crash is already covering most issues that can be created when
designing a theme at the moment.

[1]: https://github.com/odoo/design-themes/commit/52fef46388ec880af78c5a5f3e6152c4510548f4

closes odoo/design-themes#535

X-original-commit: 208f6134a6
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-12-09 10:27:10 +00:00
qsm-odoo 336d7d9fe2 [IMP] test_themes: add a test which goes over all theme tours
Part of https://github.com/odoo/design-themes/pull/2
task-2491890

X-original-commit: 52d224fd9b
2021-06-04 15:52:42 +00:00
Jeremy Kersten 84ba083d17 [ADD] theme saas-14.3 2021-05-10 15:46:42 +02:00
Jeremy Kersten cb1e3be3f8 [ADD] theme 14.0 2021-05-10 15:45:35 +02:00