summaryrefslogtreecommitdiff
path: root/web-ui/test/integration/translations.spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/test/integration/translations.spec.js')
-rw-r--r--web-ui/test/integration/translations.spec.js8
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 7821ac55..4b4c7b2d 100644
--- a/web-ui/test/integration/translations.spec.js
+++ b/web-ui/test/integration/translations.spec.js
@@ -20,6 +20,14 @@ describe('Translations', () => {
expect(app.text()).toNotContain('untranslated', 'Unstranslated message found in the text: ' + app.text());
});
+
+ it('translates all keys on third step', () => {
+ const app = mount(<App i18n={testI18n} child={<AccountRecoveryPage />} />);
+ app.find('form.admin-code-form').simulate('submit');
+ app.find('form.user-code-form').simulate('submit');
+
+ expect(app.text()).toNotContain('untranslated', 'Unstranslated message found in the text: ' + app.text());
+ });
});
context('Backup Account Page', () => {