From d133b2876e49bdb285c8e8f1bdf64502d8bf9a02 Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Tue, 28 Mar 2017 13:51:56 -0300 Subject: [#932] Adds new password form --- 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 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.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', () => { -- cgit v1.2.3