Skip to content

[IMP] test_themes: whitelist carousel snippet classes in themes test - #1199

Open
rusp-odoo wants to merge 1 commit into
odoo:masterfrom
odoo-dev:master-imp-website-dynamic-carousels-rusp
Open

[IMP] test_themes: whitelist carousel snippet classes in themes test#1199
rusp-odoo wants to merge 1 commit into
odoo:masterfrom
odoo-dev:master-imp-website-dynamic-carousels-rusp

Conversation

@rusp-odoo

@rusp-odoo rusp-odoo commented Dec 15, 2025

Copy link
Copy Markdown

The new blog posts, events, and appointments carousel snippets introduce
layout classes that are not anchored to a data-snippet attribute. The
themes test flags these as unexpected, so they must be explicitly
whitelisted to prevent false test failures.

Community PR - odoo/odoo#238099
Enterprise PR - https://github.com/odoo/enterprise/pull/101478

task-5090459

@robodoo

robodoo commented Dec 15, 2025

Copy link
Copy Markdown
Collaborator

Pull request status dashboard

@rusp-odoo
rusp-odoo force-pushed the master-imp-website-dynamic-carousels-rusp branch 3 times, most recently from aec77bd to 996874f Compare December 16, 2025 08:38
@rusp-odoo
rusp-odoo force-pushed the master-imp-website-dynamic-carousels-rusp branch from 996874f to 581335f Compare December 18, 2025 09:37
@rusp-odoo
rusp-odoo force-pushed the master-imp-website-dynamic-carousels-rusp branch 2 times, most recently from aa7444f to 4ecd213 Compare January 1, 2026 08:58
@rusp-odoo
rusp-odoo force-pushed the master-imp-website-dynamic-carousels-rusp branch from 4ecd213 to 9ccd018 Compare January 12, 2026 06:37
@rusp-odoo
rusp-odoo force-pushed the master-imp-website-dynamic-carousels-rusp branch from 9ccd018 to 2d38abc Compare January 27, 2026 11:58
@rusp-odoo
rusp-odoo force-pushed the master-imp-website-dynamic-carousels-rusp branch 2 times, most recently from ba17ea8 to 19dc4be Compare March 2, 2026 09:42
@rusp-odoo
rusp-odoo force-pushed the master-imp-website-dynamic-carousels-rusp branch 4 times, most recently from d2fabd6 to 977a97b Compare March 20, 2026 06:38
@rusp-odoo
rusp-odoo force-pushed the master-imp-website-dynamic-carousels-rusp branch 5 times, most recently from c415f8a to c546da9 Compare April 2, 2026 06:19
@rusp-odoo rusp-odoo changed the title [IMP] test_themes: adapt dynamic carousel snippets themes test [IMP] test_themes: whitelist carousel snippet classes in themes test Apr 2, 2026
@rusp-odoo
rusp-odoo force-pushed the master-imp-website-dynamic-carousels-rusp branch 3 times, most recently from 9959a97 to a6fddfc Compare April 3, 2026 07:38
@rusp-odoo
rusp-odoo force-pushed the master-imp-website-dynamic-carousels-rusp branch 5 times, most recently from 5379bc2 to 08caed6 Compare April 29, 2026 12:08
@rusp-odoo
rusp-odoo force-pushed the master-imp-website-dynamic-carousels-rusp branch 4 times, most recently from e26976e to 39c94d0 Compare May 15, 2026 05:15
@rusp-odoo
rusp-odoo marked this pull request as ready for review May 18, 2026 05:44
@rushil-b-patel
rushil-b-patel force-pushed the master-imp-website-dynamic-carousels-rusp branch 4 times, most recently from af31d9c to 2f53dd7 Compare June 11, 2026 05:24
@rushil-b-patel
rushil-b-patel force-pushed the master-imp-website-dynamic-carousels-rusp branch from 2f53dd7 to fd5eb7d Compare July 1, 2026 11:27
@rushil-b-patel
rushil-b-patel force-pushed the master-imp-website-dynamic-carousels-rusp branch 4 times, most recently from 8f98e57 to bada545 Compare August 24, 2026 12:13
The new blog posts, events, and appointments carousel snippets introduce
layout classes that are not anchored to a data-snippet attribute. The
themes test flags these as unexpected, so they must be explicitly
whitelisted to prevent false test failures.

task-5090459
@rushil-b-patel
rushil-b-patel force-pushed the master-imp-website-dynamic-carousels-rusp branch from bada545 to c210674 Compare August 25, 2026 11:16
Comment on lines +117 to +119
's_carousel_indicators_hidden', 's_blog_posts_carousel', 's_events_carousel',
's_dynamic', 's_blog_posts_post', 's_blog_posts_effect_marley',
's_blog_posts_post_picture_size_default', 's_appointments_carousel', 's_events_event',

@loco-odoo loco-odoo Aug 27, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually indicates that few of the classes you used in your new snippets do not correctly follow the convention. I let you check the test_render_applied_templates test but let's take the example of s_blog_posts_post: if you drop your new blog carousel on the page, there are s_blog_posts_post elements that do not have a .s_blog_posts ancestor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants