summaryrefslogtreecommitdiff
path: root/web-ui/test
diff options
context:
space:
mode:
authorSriram Viswanathan <sriramv@thoughtworks.com>2017-03-22 16:26:50 -0300
committerSriram Viswanathan <sriramv@thoughtworks.com>2017-03-23 17:16:40 -0300
commitc56bf133feddfcfed9487c16229138fcdb046983 (patch)
tree44ebc2038d66c81b7b5a6911c3cd429cb7ef3ee1 /web-ui/test
parentfc074ea9f9b7cd6708a5a878a7b56a4d76a9124e (diff)
|#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.js6
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', () => {