changed login username input to email and changed test

This commit is contained in:
piratefinn 2017-11-13 15:49:17 +00:00
parent e1230c770a
commit 1739e998a5
2 changed files with 3 additions and 3 deletions

View file

@ -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', () => {