From b901ffde59378b447454fab054fa30228b43a56b Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Mon, 27 Mar 2017 13:52:01 -0300 Subject: [#932] Adds integration test for translations in acount recovery page --- web-ui/test/integration/translations.spec.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'web-ui/test') diff --git a/web-ui/test/integration/translations.spec.js b/web-ui/test/integration/translations.spec.js index fe17838b..f8cf6c52 100644 --- a/web-ui/test/integration/translations.spec.js +++ b/web-ui/test/integration/translations.spec.js @@ -2,11 +2,19 @@ import { mount } from 'enzyme'; import expect from 'expect'; import React from 'react'; import App from 'src/common/app'; +import AccountRecoveryPage from 'src/account_recovery/page'; import BackupAccountPage from 'src/backup_account/page'; import LoginPage from 'src/login/page'; import testI18n from './i18n'; describe('Translations', () => { + context('Account Recovery Page', () => { + it('translates all key', () => { + const app = mount(} />); + expect(app.text()).toNotContain('untranslated', 'Unstranslated message found in the text: ' + app.text()); + }); + }); + context('Backup Account Page', () => { it('translates all key', () => { const app = mount(} />); -- cgit v1.2.3