diff options
author | Anike Arni <aarni@thoughtworks.com> | 2017-03-28 16:20:08 -0300 |
---|---|---|
committer | Anike Arni <aarni@thoughtworks.com> | 2017-03-28 18:06:43 -0300 |
commit | 595c218d19f504d4b8c82423b47ff60fc0fb2680 (patch) | |
tree | 9b7f94a1975feb22320eaa31365231d99d4a9c14 /web-ui/test | |
parent | eacd59f75a388c33b73b5eb61a2e22a24685badd (diff) |
[#932] Adds images in account recovery flow
Diffstat (limited to 'web-ui/test')
-rw-r--r-- | web-ui/test/integration/translations.spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web-ui/test/integration/translations.spec.js b/web-ui/test/integration/translations.spec.js index 4b4c7b2d..6faa7483 100644 --- a/web-ui/test/integration/translations.spec.js +++ b/web-ui/test/integration/translations.spec.js @@ -16,15 +16,15 @@ describe('Translations', () => { it('translates all keys on second step', () => { const app = mount(<App i18n={testI18n} child={<AccountRecoveryPage />} />); - app.find('form.admin-code-form').simulate('submit'); + app.find('form.admin-code').simulate('submit'); 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'); + app.find('form.admin-code').simulate('submit'); + app.find('form.user-code').simulate('submit'); expect(app.text()).toNotContain('untranslated', 'Unstranslated message found in the text: ' + app.text()); }); |