playwright-ts-automationframework 1.1.29 → 1.1.30

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,7 +220,7 @@ var Assertion = /** @class */ (function (_super) {
220
220
  var verificationResult = value === expectedAttributeValue ? "PASSED" : "FAILED";
221
221
  var logText = "VERIFICATION: ".concat(verificationResult, ". Attribute value of ").concat(control.controlDescription, " Expected: '").concat(expectedAttributeValue, "' Actual : '").concat(value, "'");
222
222
  (0, logs_core_1.logVerification)(logText);
223
- (0, test_1.expect)(control.controlLocator, logText).toHaveAttribute(expectedAttributeValue);
223
+ (0, test_1.expect)(control.controlLocator.first(), logText).toHaveAttribute(expectedAttributeValue);
224
224
  })];
225
225
  case 1:
226
226
  _a.sent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playwright-ts-automationframework",
3
- "version": "1.1.29",
3
+ "version": "1.1.30",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",