From 3bda2968a1842d72105acdf101290a7b5fb82601 Mon Sep 17 00:00:00 2001 From: najeeb1023 Date: Sun, 16 Jun 2024 02:24:03 +0200 Subject: [PATCH 1/2] fix: new username added --- src/test/pages/AccountRegister.ts | 6 +++--- src/test/pages/UserLogin.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/pages/AccountRegister.ts b/src/test/pages/AccountRegister.ts index 2002eab..e83868c 100644 --- a/src/test/pages/AccountRegister.ts +++ b/src/test/pages/AccountRegister.ts @@ -38,9 +38,9 @@ export class AccountRegister { }; public async enterUserDetails ():Promise { - await this.registrationPageLocators.firstName().fill('Test 2'); - await this.registrationPageLocators.lastName().fill('Test 3'); - await this.registrationPageLocators.emailAddress().first().fill('tslldasddas@test.com') + await this.registrationPageLocators.firstName().fill('John'); + await this.registrationPageLocators.lastName().fill('Test'); + await this.registrationPageLocators.emailAddress().first().fill('newusername220@test.com') await this.registrationPageLocators.password().first().fill('Te345435345345!@#!@#st'); await this.registrationPageLocators.confirmPass().fill('Te345435345345!@#!@#st'); await pageFixture.page.keyboard.press('PageDown'); diff --git a/src/test/pages/UserLogin.ts b/src/test/pages/UserLogin.ts index a568bef..6bfcc62 100644 --- a/src/test/pages/UserLogin.ts +++ b/src/test/pages/UserLogin.ts @@ -27,7 +27,7 @@ export class LoginUser { }; public async userEntersCorrectCredentials():Promise{ - await this.userLoginLocators.emailAddress().first().fill('testemail@test.com'); + await this.userLoginLocators.emailAddress().first().fill('newusername220@test.com'); await this.userLoginLocators.password().first().fill('Te345435345345!@#!@#st'); await this.userLoginLocators.signInUserBtn().first().click(); }; From 9c8e2e5efc82c20cd1fa6eb8bf531eaa31600ae1 Mon Sep 17 00:00:00 2001 From: najeeb1023 Date: Sun, 16 Jun 2024 02:25:53 +0200 Subject: [PATCH 2/2] fix: new username added --- src/test/pages/AccountRegister.ts | 2 +- src/test/pages/UserLogin.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/pages/AccountRegister.ts b/src/test/pages/AccountRegister.ts index e83868c..b837674 100644 --- a/src/test/pages/AccountRegister.ts +++ b/src/test/pages/AccountRegister.ts @@ -40,7 +40,7 @@ export class AccountRegister { public async enterUserDetails ():Promise { await this.registrationPageLocators.firstName().fill('John'); await this.registrationPageLocators.lastName().fill('Test'); - await this.registrationPageLocators.emailAddress().first().fill('newusername220@test.com') + await this.registrationPageLocators.emailAddress().first().fill('new22username220@test.com') await this.registrationPageLocators.password().first().fill('Te345435345345!@#!@#st'); await this.registrationPageLocators.confirmPass().fill('Te345435345345!@#!@#st'); await pageFixture.page.keyboard.press('PageDown'); diff --git a/src/test/pages/UserLogin.ts b/src/test/pages/UserLogin.ts index 6bfcc62..874b558 100644 --- a/src/test/pages/UserLogin.ts +++ b/src/test/pages/UserLogin.ts @@ -27,7 +27,7 @@ export class LoginUser { }; public async userEntersCorrectCredentials():Promise{ - await this.userLoginLocators.emailAddress().first().fill('newusername220@test.com'); + await this.userLoginLocators.emailAddress().first().fill('new22username220@test.com'); await this.userLoginLocators.password().first().fill('Te345435345345!@#!@#st'); await this.userLoginLocators.signInUserBtn().first().click(); };