playwright-ts-automationframework 1.1.15 → 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
|
|
16
|
-
static executionCompleted(
|
|
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
|
|
74
|
-
if (testCaseID === void 0) { testCaseID = "0"; }
|
|
75
|
-
testInfo.testId = testCaseID.toString();
|
|
73
|
+
BasePage.setTestCaseID = function (testInfo) {
|
|
76
74
|
(0, logs_core_1.logTestResult)('');
|
|
77
|
-
(0, logs_core_1.logTestResult)("===== START Of Execution For
|
|
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 (
|
|
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: ' ".concat(
|
|
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;
|