diff options
author | Anike Arni <anikarni@gmail.com> | 2017-03-29 15:48:33 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-29 15:48:33 -0300 |
commit | 3616a6b950b0fb9d3e4842f90878d0beb4d5bc3f (patch) | |
tree | 5064ad57cb88df4efefbb8c75a65c0b6dc822c83 /web-ui/test | |
parent | 75eccfc3ea988a20919c95e892b314ccd816e7c2 (diff) | |
parent | 6daf4311d32ab64fa73292e131611ee6a38ff18a (diff) |
Merge pull request #1032 from pixelated/forgot-password-page
UI improvements for 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()); }); |