Skip to content

Commit baefd37

Browse files
committed
New Login method has been implemented
1 parent 5664cb7 commit baefd37

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pages/LoginPage.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ export class LoginPage extends BasePage {
3434
await this.clickElement(this.btnLogin);
3535
}
3636

37+
async loginWithUsername(userName: string) {
38+
await this.enterText(this.txtUserName, userName);
39+
40+
await this.clickElement(this.btnLogin);
41+
}
42+
3743

3844

3945
}

0 commit comments

Comments
 (0)