summaryrefslogtreecommitdiff
path: root/web-ui/test
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2017-03-28 13:51:56 -0300
committerAnike Arni <aarni@thoughtworks.com>2017-03-28 15:23:47 -0300
commitd133b2876e49bdb285c8e8f1bdf64502d8bf9a02 (patch)
tree19b0142ab4b11f3b9c26ebef61a4b9a6f23f7924 /web-ui/test
parenta6c848f373e4842c29c602ec7071d9b964587095 (diff)
[#932] Adds new password form
Diffstat (limited to 'web-ui/test')
-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', () => {