From 1739e998a51e3e1e06177ca6349ffce60d337fcf Mon Sep 17 00:00:00 2001 From: piratefinn Date: Mon, 13 Nov 2017 15:49:17 +0000 Subject: [PATCH] changed login username input to email and changed test --- e2e/login.e2e-spec.ts | 4 ++-- src/app/auth/login.component.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/login.e2e-spec.ts b/e2e/login.e2e-spec.ts index 7fc72be..2bb5bd5 100644 --- a/e2e/login.e2e-spec.ts +++ b/e2e/login.e2e-spec.ts @@ -12,9 +12,9 @@ describe('Login Page', () => { expect(page.getLoginHeaderText()).toEqual('Login'); }); - it('should have a username box of type text', () => { + it('should have a username box of type email', () => { expect(page.isUsernameFieldPresent()).toBeTruthy(); - expect(page.getUsernameFieldType()).toBe('text'); + expect(page.getUsernameFieldType()).toEqual('email'); }); it('should have a password box of type password', () => { diff --git a/src/app/auth/login.component.html b/src/app/auth/login.component.html index d1992f5..9a87e9b 100644 --- a/src/app/auth/login.component.html +++ b/src/app/auth/login.component.html @@ -10,7 +10,7 @@
@ - +