Skip to content

Commit ced482f

Browse files
committed
Functional Test Cases
1 parent daf068c commit ced482f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"test": "npx playwright test",
8-
"test:single": "npx playwright test MyAddress.test.ts --project=Chrome",
8+
"test:single": "npx playwright test MyPersonalDetails.test.ts --project=Chrome",
99
"test:parallel": "npx playwright test --grep @Smoke --project=Chrome",
1010
"test:serial": "npx playwright test --grep @Smoke --workers=1 --project=Chrome",
1111
"test:api": "npx playwright test --grep @api --workers=1 --project=Chrome",
@@ -20,7 +20,7 @@
2020
"url": "https://github.com/akshayp7/playwright-typescipt-playwright-test.git"
2121
},
2222
"author": "Akshay Pai",
23-
"license": "ISC",
23+
"license": "MIT",
2424
"dependencies": {
2525
"@playwright/test": "^1.14.1",
2626
"@types/crypto-js": "^4.0.2",

pageFactory/pageRepository/MyPersonalInformationPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ export class MyPersonalInformationPage {
1919
}
2020

2121
async verifyFirstName(firstName: string): Promise<void> {
22-
await webActions.verifyElementText(this.myPersonalInformationPageObjects.FIRST_NAME_ID, firstName);
22+
await webActions.verifyJSElementValue(this.myPersonalInformationPageObjects.FIRST_NAME_ID, firstName);
2323
}
2424
}

0 commit comments

Comments
 (0)