From c56bf133feddfcfed9487c16229138fcdb046983 Mon Sep 17 00:00:00 2001 From: Sriram Viswanathan Date: Wed, 22 Mar 2017 16:26:50 -0300 Subject: |#973| Thais + Sriram | Adds logout component to be shown on the header --- web-ui/test/integration/backup_account.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web-ui/test') 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', () => { -- cgit v1.2.3