@zest-pw/test 1.0.7 → 1.0.8
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.
|
@@ -106,7 +106,7 @@ function getPlannedSteps(test) {
|
|
|
106
106
|
* Combines executed and unexecuted steps
|
|
107
107
|
* @param executedSteps - Array of executed step objects
|
|
108
108
|
* @param plannedSteps - Array of planned step titles
|
|
109
|
-
* @returns Combined array with executed steps and unexecuted steps marked as '
|
|
109
|
+
* @returns Combined array with executed steps and unexecuted steps marked as 'Not Executed'
|
|
110
110
|
*/
|
|
111
111
|
function combineSteps(executedSteps, plannedSteps) {
|
|
112
112
|
const executedStepTitles = executedSteps.map((step) => step.stepTitle);
|
|
@@ -116,7 +116,7 @@ function combineSteps(executedSteps, plannedSteps) {
|
|
|
116
116
|
...notExecutedSteps.map((stepTitle) => ({
|
|
117
117
|
stepTitle: stepTitle,
|
|
118
118
|
actualResult: [],
|
|
119
|
-
statusName: '
|
|
119
|
+
statusName: 'Not Executed'
|
|
120
120
|
}))
|
|
121
121
|
];
|
|
122
122
|
}
|
|
@@ -69,7 +69,7 @@ function printTestResults(result) {
|
|
|
69
69
|
case 'fail':
|
|
70
70
|
failedCount++;
|
|
71
71
|
break;
|
|
72
|
-
case '
|
|
72
|
+
case 'Not Executed':
|
|
73
73
|
skippedCount++;
|
|
74
74
|
break;
|
|
75
75
|
}
|
|
@@ -87,7 +87,7 @@ function printTestResults(result) {
|
|
|
87
87
|
function printTestSteps(allSteps, testTitle, outputDir) {
|
|
88
88
|
console.log('');
|
|
89
89
|
allSteps.forEach((step, stepIndex) => {
|
|
90
|
-
if (step.statusName === '
|
|
90
|
+
if (step.statusName === 'Not Executed') {
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
93
|
let stepTitle;
|
package/package.json
CHANGED