diff --git a/test/javascripts/widgets/widget-dropdown-test.js b/test/javascripts/widgets/widget-dropdown-test.js index 511af7964fc..46625d7d7b2 100644 --- a/test/javascripts/widgets/widget-dropdown-test.js +++ b/test/javascripts/widgets/widget-dropdown-test.js @@ -204,11 +204,17 @@ widgetTest("content with translatedLabel", { widgetTest("content with label", { template: TEMPLATE, + _translations: I18n.translations, + beforeEach() { I18n.translations = { en: { js: { foo: "FooBaz" } } }; this.setProperties(DEFAULT_CONTENT); }, + afterEach() { + I18n.translations = this._translations; + }, + test(assert) { assert.equal(rowById(1).innerText.trim(), "FooBaz"); }