playwright-ts-automationframework 1.1.33 → 1.1.35
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.
- package/lib/core/assertion.core.js +5 -10
- package/package.json +5 -5
|
@@ -220,16 +220,11 @@ var Assertion = /** @class */ (function (_super) {
|
|
|
220
220
|
case 0: return [4 /*yield*/, this.getAttributeValue(control, attributeName).then(function (value) { return __awaiter(_this, void 0, void 0, function () {
|
|
221
221
|
var verificationResult, logText;
|
|
222
222
|
return __generator(this, function (_a) {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
return [4 /*yield*/, (0, test_1.expect)(control.controlLocator.first(), logText).toHaveAttribute(expectedAttributeValue)];
|
|
229
|
-
case 1:
|
|
230
|
-
_a.sent();
|
|
231
|
-
return [2 /*return*/];
|
|
232
|
-
}
|
|
223
|
+
verificationResult = value === expectedAttributeValue ? "PASSED" : "FAILED";
|
|
224
|
+
logText = "VERIFICATION: ".concat(verificationResult, ". Attribute value of ").concat(control.controlDescription, " Expected: '").concat(expectedAttributeValue, "' Actual : '").concat(value, "'");
|
|
225
|
+
(0, logs_core_1.logVerification)(logText);
|
|
226
|
+
(0, test_1.expect)(value, logText).toBe(expectedAttributeValue);
|
|
227
|
+
return [2 /*return*/];
|
|
233
228
|
});
|
|
234
229
|
}); })];
|
|
235
230
|
case 1:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright-ts-automationframework",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.35",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"ignore-case": "^0.1.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@playwright/test": "^1.
|
|
23
|
-
"@types/node": "^
|
|
22
|
+
"@playwright/test": "^1.49.0",
|
|
23
|
+
"@types/node": "^22.9.1",
|
|
24
24
|
"log4js": "^6.9.1",
|
|
25
|
-
"nodemailer": "^6.9.
|
|
26
|
-
"npm": "^10.9.
|
|
25
|
+
"nodemailer": "^6.9.16",
|
|
26
|
+
"npm": "^10.9.1",
|
|
27
27
|
"path": "^0.12.7",
|
|
28
28
|
"typescript": "^5.6.3"
|
|
29
29
|
},
|