diff options
author | Sriram Viswanathan <sriramv@thoughtworks.com> | 2017-03-24 15:57:21 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-24 15:57:21 -0300 |
commit | 643184750bbecff57b96da47d7064f67a66f4586 (patch) | |
tree | 7fd16e01110f2d345792f86b05e54d4da0d49bcd /web-ui/test | |
parent | f7bb5b60dae726f9a92b2d0286b6235cdcbb4ea5 (diff) | |
parent | ccc31c1e1867c37335ee3fbdd4bc729ad6917883 (diff) |
Merge pull request #1020 from pixelated/logout_button_header
|#973| Thais + Sriram | Adds logout component to be shown on the header
Diffstat (limited to 'web-ui/test')
-rw-r--r-- | web-ui/test/integration/backup_account.spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web-ui/test/integration/backup_account.spec.js b/web-ui/test/integration/backup_account.spec.js index b44c3b2c..b9667a41 100644 --- a/web-ui/test/integration/backup_account.spec.js +++ b/web-ui/test/integration/backup_account.spec.js @@ -16,7 +16,7 @@ describe('Backup account email validation', () => { context('with valid email', () => { beforeEach(() => { - backupAccountPage.find('input').simulate('change', {target: {value: 'test@test.com'}}); + backupAccountPage.find('input[name="email"]').simulate('change', {target: {value: 'test@test.com'}}); }); it('shows no validation error', () => { @@ -30,7 +30,7 @@ describe('Backup account email validation', () => { context('with invalid email', () => { beforeEach(() => { - backupAccountPage.find('input').simulate('change', {target: {value: 'test'}}); + backupAccountPage.find('input[name="email"]').simulate('change', {target: {value: 'test'}}); }); it('shows validation error', () => { @@ -44,7 +44,7 @@ describe('Backup account email validation', () => { context('with empty email', () => { beforeEach(() => { - backupAccountPage.find('input').simulate('change', {target: {value: ''}}); + backupAccountPage.find('input[name="email"]').simulate('change', {target: {value: ''}}); }); it('shows no validation error', () => { |