diff --git a/addons/web_editor/static/tests/field_html_tests.js b/addons/web_editor/static/tests/field_html_tests.js index 9f87e04f649..81a0d9675b0 100644 --- a/addons/web_editor/static/tests/field_html_tests.js +++ b/addons/web_editor/static/tests/field_html_tests.js @@ -460,8 +460,7 @@ QUnit.module('web_editor', {}, function () { QUnit.module('translation'); - // TODO : need to be checked and fixed to pass with new JW editor - QUnit.skip('field html translatable', async function (assert) { + QUnit.test('field html translatable', async function (assert) { assert.expect(4); var multiLang = _t.database.multi_lang; diff --git a/addons/web_editor/static/tests/test_utils.js b/addons/web_editor/static/tests/test_utils.js index e931dc7ffbf..9d514ff6049 100644 --- a/addons/web_editor/static/tests/test_utils.js +++ b/addons/web_editor/static/tests/test_utils.js @@ -309,6 +309,7 @@ async function createWysiwyg() { var self = this return this.wysiwyg.attachTo(this).then(function () { + self._appendTranslateButton(); if (wysiwygOptions.snippets) { var defSnippets = testUtils.makeTestPromise(); testUtils.mock.intercept(self.wysiwyg, "snippets_loaded", function () {