[FIX] test_themes: whitelist fa-stack with fa-

Some snippet may come with the `fa-stack` class which breaks the
design-themes tests.

task-4156290
Part of: task-4077427

Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
mano-odoo
2024-09-06 17:29:47 +02:00
committed by qsm-odoo
parent 297eb898a5
commit a808eaf1c3
+2 -1
View File
@@ -64,7 +64,8 @@ CONFLICTUAL_CLASSES_RE = {
re.compile(r'^(p(y|b)?-?\d+|padding-.+)$'): ['p0'],
# Font awesome
re.compile(r'^fa-\dx$'): [],
re.compile(r'^fa-...+'): [],
# Whitelist workaround for s_social_media inner snippet Layout: None
re.compile(r'^fa-...+'): ['fa-stack'],
# Rounded
re.compile(r'^rounded-.+'): [],
# Shadow