playwright-ts-automationframework 1.1.14 → 1.1.16

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.
@@ -12,6 +12,6 @@ export declare class BasePage {
12
12
  * and URL provided in AppConfigurations.json
13
13
  */
14
14
  initializeBrowser(url?: string): Promise<void>;
15
- static setTestCaseID(testInfo: TestInfo, testCaseID?: string): void;
16
- static executionCompleted(testinfo: TestInfo): void;
15
+ static setTestCaseID(testInfo: TestInfo): void;
16
+ static executionCompleted(testInfo: TestInfo): void;
17
17
  }
@@ -70,17 +70,15 @@ var BasePage = /** @class */ (function () {
70
70
  });
71
71
  });
72
72
  };
73
- BasePage.setTestCaseID = function (testInfo, testCaseID) {
74
- if (testCaseID === void 0) { testCaseID = "0"; }
75
- testInfo.testId = testCaseID;
73
+ BasePage.setTestCaseID = function (testInfo) {
76
74
  (0, logs_core_1.logTestResult)('');
77
- (0, logs_core_1.logTestResult)("===== START Of Execution For TestCase ID: " + testCaseID + " Title: '" + testInfo.title + "' ======");
75
+ (0, logs_core_1.logTestResult)("===== START Of Execution For Title: '".concat(testInfo.title, "' ======"));
78
76
  (0, logs_core_1.logTestResult)('');
79
77
  };
80
- BasePage.executionCompleted = function (testinfo) {
78
+ BasePage.executionCompleted = function (testInfo) {
81
79
  var _a;
82
80
  (0, logs_core_1.logTestResult)('');
83
- (0, logs_core_1.logTestResult)("===== END Of Execution For Test Case: '" + testinfo.title + "' With Test Result: '" + ((_a = testinfo.status) === null || _a === void 0 ? void 0 : _a.toUpperCase()) + "' =====");
81
+ (0, logs_core_1.logTestResult)("===== END Of Execution For Test Case: ".concat(testInfo.title, " ' ").concat(testInfo.title, " ' With Test Result: ' ").concat((_a = testInfo.status) === null || _a === void 0 ? void 0 : _a.toUpperCase(), "' ====="));
84
82
  (0, logs_core_1.logTestResult)('');
85
83
  };
86
84
  return BasePage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playwright-ts-automationframework",
3
- "version": "1.1.14",
3
+ "version": "1.1.16",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",