summaryrefslogtreecommitdiff
path: root/web-ui/test
diff options
context:
space:
mode:
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', () => {