playwright-ts-automationframework 1.1.62 → 1.1.63

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.
@@ -18,6 +18,7 @@ export declare class Assertion extends Actions {
18
18
  * verifyIsEquals("Invalid username", "Invalid username");
19
19
  */
20
20
  verifyIsEquals(object1: any, object2: any, controlDescription?: string): void;
21
+ verifyIsNotEquals(object1: any, object2: any, controlDescription?: string): void;
21
22
  verifyIsEqualIgnorecase(object1: any, object2: any, controlDescription?: string, caseInsensitive?: boolean): void;
22
23
  /**
23
24
  * Verify first value contains substring as second.
@@ -86,6 +86,18 @@ var Assertion = /** @class */ (function (_super) {
86
86
  throw error1;
87
87
  }
88
88
  };
89
+ Assertion.prototype.verifyIsNotEquals = function (object1, object2, controlDescription) {
90
+ if (controlDescription === void 0) { controlDescription = ""; }
91
+ try {
92
+ var verificationResult = object1 != object2 ? "✅ PASSED" : "❌ FAILED";
93
+ (0, logs_core_1.logVerification)("VERIFICATION: ".concat(verificationResult, ". ").concat(controlDescription, " Expected: '").concat(object1, "' is NOT equals Actual: '").concat(object2, "'"));
94
+ test_1.expect.soft(object1).not.toEqual(object2);
95
+ }
96
+ catch (error1) {
97
+ (0, logs_core_1.logError)("VERIFICATION: '❌ FAILED'. Expected: '" + object1 + "' Actual: '" + object2 + "'");
98
+ throw error1;
99
+ }
100
+ };
89
101
  Assertion.prototype.verifyIsEqualIgnorecase = function (object1, object2, controlDescription, caseInsensitive) {
90
102
  if (controlDescription === void 0) { controlDescription = ""; }
91
103
  if (caseInsensitive === void 0) { caseInsensitive = false; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playwright-ts-automationframework",
3
- "version": "1.1.62",
3
+ "version": "1.1.63",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",