diff options
author | Anike Arni <anikarni@gmail.com> | 2017-03-28 11:37:00 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-28 11:37:00 -0300 |
commit | a9462a5d761aab4d4bcd89412fb265155c981972 (patch) | |
tree | 1212bc94b9b607c40ab82778725d3396271002ca /web-ui/test | |
parent | 367ad8bb015f69e287765137646a6bc6c1c5aff5 (diff) | |
parent | 66129892c9e9c8f2f3c2ff230499dbe10d04ddd0 (diff) |
Merge pull request #1026 from pixelated/forgot-password-page
Forgot password page
Diffstat (limited to 'web-ui/test')
-rw-r--r-- | web-ui/test/integration/translations.spec.js | 8 |
1 files changed, 8 insertions, 0 deletions
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(<App i18n={testI18n} child={<AccountRecoveryPage />} />); + expect(app.text()).toNotContain('untranslated', 'Unstranslated message found in the text: ' + app.text()); + }); + }); + context('Backup Account Page', () => { it('translates all key', () => { const app = mount(<App i18n={testI18n} child={<BackupAccountPage />} />); |