changed login username input to email and changed test
This commit is contained in:
parent
e1230c770a
commit
1739e998a5
2 changed files with 3 additions and 3 deletions
|
@ -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', () => {
|
||||
|
|
Reference in a new issue