From 127ada424d764108abab8601f6ce0dcd140f5bad Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Fri, 5 Jul 2019 13:10:28 +0000 Subject: [PATCH] [FIX] website: improve test with more precise trigger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Why not... If it can avoid a red branch. closes odoo/odoo#34626 Signed-off-by: Jérémy Kersten (jke) --- addons/website/static/src/js/tours/rte.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website/static/src/js/tours/rte.js b/addons/website/static/src/js/tours/rte.js index 157de002abd..a62c5ac131a 100644 --- a/addons/website/static/src/js/tours/rte.js +++ b/addons/website/static/src/js/tours/rte.js @@ -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"]',