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 @@