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.
@@ -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
- switch (_a.label) {
224
- case 0:
225
- verificationResult = value === expectedAttributeValue ? "PASSED" : "FAILED";
226
- logText = "VERIFICATION: ".concat(verificationResult, ". Attribute value of ").concat(control.controlDescription, " Expected: '").concat(expectedAttributeValue, "' Actual : '").concat(value, "'");
227
- (0, logs_core_1.logVerification)(logText);
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.33",
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.48.0",
23
- "@types/node": "^20.16.11",
22
+ "@playwright/test": "^1.49.0",
23
+ "@types/node": "^22.9.1",
24
24
  "log4js": "^6.9.1",
25
- "nodemailer": "^6.9.15",
26
- "npm": "^10.9.0",
25
+ "nodemailer": "^6.9.16",
26
+ "npm": "^10.9.1",
27
27
  "path": "^0.12.7",
28
28
  "typescript": "^5.6.3"
29
29
  },