[FIX] website: improve test with more precise trigger

Why not... If it can avoid a red branch.

closes odoo/odoo#34626

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
Jeremy Kersten
2019-07-05 15:20:05 +00:00
parent be5e8fdab8
commit 127ada424d
+1 -1
View File
@@ -174,7 +174,7 @@ tour.register('rte_translator', {
}, {
content: "check bis: content is translated",
trigger: '#wrap p font:first:contains(translated french text)',
extra_trigger: 'body:not(:has(button[data-action=save]))',
extra_trigger: 'html[lang*="fr"] body:not(:has(button[data-action=save]))',
}, {
content: "check bis: placeholder translation",
trigger: 'input[placeholder="test french placeholder"]',