playwright-ts-automationframework 1.1.63 → 1.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -170,7 +170,7 @@ var Assertion = /** @class */ (function (_super) {
|
|
|
170
170
|
_a.sent();
|
|
171
171
|
return [4 /*yield*/, this.isDisplayed(control).then(function (value) {
|
|
172
172
|
var verificationResult = value === expectedIsDisplayed ? "✅ PASSED" : "❌ FAILED";
|
|
173
|
-
var logText = "VERIFICATION: '".concat(verificationResult, "' '").concat(control.controlDescription, "' displayed status is '").concat(value, "' Expected: ").concat(expectedIsDisplayed);
|
|
173
|
+
var logText = "VERIFICATION: '".concat(verificationResult, "' '").concat(control.controlDescription, "' displayed status is '").concat(value, "' Expected: '").concat(expectedIsDisplayed, "'");
|
|
174
174
|
(0, logs_core_1.logVerification)(logText);
|
|
175
175
|
test_1.expect.soft(value, logText).toBe(expectedIsDisplayed);
|
|
176
176
|
}, function (reason) {
|
|
@@ -213,7 +213,7 @@ var Assertion = /** @class */ (function (_super) {
|
|
|
213
213
|
var verificationResult, logText;
|
|
214
214
|
return __generator(this, function (_a) {
|
|
215
215
|
verificationResult = value === true ? "✅ PASSED" : "❌ FAILED";
|
|
216
|
-
logText = "VERIFICATION: '".concat(verificationResult, "'. '").concat(control.controlDescription, "' hidden status is '").concat(value, "' Expected: true");
|
|
216
|
+
logText = "VERIFICATION: '".concat(verificationResult, "'. '").concat(control.controlDescription, "' hidden status is '").concat(value, "' Expected: 'true'");
|
|
217
217
|
(0, logs_core_1.logVerification)(logText);
|
|
218
218
|
test_1.expect.soft(value, logText).toBe(true);
|
|
219
219
|
return [2 /*return*/];
|
|
@@ -338,7 +338,7 @@ var Assertion = /** @class */ (function (_super) {
|
|
|
338
338
|
case 2:
|
|
339
339
|
value = _a.sent();
|
|
340
340
|
verificationResult = value === expValue ? "✅ PASSED" : "❌ FAILED";
|
|
341
|
-
logText = "VERIFICATION: '".concat(verificationResult, "' '").concat(control.controlDescription, "' enabled status is: '").concat(value, "' Expected: ").concat(expValue);
|
|
341
|
+
logText = "VERIFICATION: '".concat(verificationResult, "' '").concat(control.controlDescription, "' enabled status is: '").concat(value, "' Expected: '").concat(expValue, "'");
|
|
342
342
|
(0, logs_core_1.logVerification)(logText);
|
|
343
343
|
test_1.expect.soft(value, logText).toBe(expValue);
|
|
344
344
|
return [2 /*return*/];
|
|
@@ -368,7 +368,7 @@ var Assertion = /** @class */ (function (_super) {
|
|
|
368
368
|
_a.label = 2;
|
|
369
369
|
case 2: return [4 /*yield*/, control.controlLocator.first().isChecked().then(function (isChecked) {
|
|
370
370
|
var verificationResult = isChecked === expValue ? "✅ PASSED" : "❌ FAILED";
|
|
371
|
-
var logText = "VERIFICATION: '".concat(verificationResult, "' '").concat(control.controlDescription, "' selected status is: '").concat(isChecked, "' Expected: ").concat(expValue);
|
|
371
|
+
var logText = "VERIFICATION: '".concat(verificationResult, "' '").concat(control.controlDescription, "' selected status is: '").concat(isChecked, "' Expected: '").concat(expValue, "'");
|
|
372
372
|
(0, logs_core_1.logVerification)(logText);
|
|
373
373
|
test_1.expect.soft(isChecked, logText).toBe(expValue);
|
|
374
374
|
})];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright-ts-automationframework",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.64",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"ignore-case": "^0.1.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@playwright/test": "^1.
|
|
23
|
-
"@types/node": "^24.
|
|
22
|
+
"@playwright/test": "^1.55.0",
|
|
23
|
+
"@types/node": "^24.3.0",
|
|
24
24
|
"log4js": "^6.9.1",
|
|
25
25
|
"nodemailer": "^7.0.5",
|
|
26
|
-
"npm": "^11.5.
|
|
26
|
+
"npm": "^11.5.2",
|
|
27
27
|
"path": "^0.12.7",
|
|
28
|
-
"typescript": "^5.
|
|
28
|
+
"typescript": "^5.9.2"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"lib/**/**"
|