@dev-blinq/cucumber_client 1.0.1200-dev → 1.0.1201-dev
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.
|
@@ -311,6 +311,12 @@ class Feature {
|
|
|
311
311
|
stepInfo.template = step.getTemplate();
|
|
312
312
|
scenarioInfo.steps.push(stepInfo);
|
|
313
313
|
const stepDef = stepsDefinitions.findMatchingStep(stepInfo.template);
|
|
314
|
+
stepInfo.implemented = stepDef ? true : false;
|
|
315
|
+
if (stepDef) {
|
|
316
|
+
stepInfo.mjsFile = stepDef.file;
|
|
317
|
+
stepInfo.functionName = stepDef.functionName;
|
|
318
|
+
stepInfo.implemented_at = stepDef.implemented_at;
|
|
319
|
+
}
|
|
314
320
|
if (!stepDef && parseFailedFiles) {
|
|
315
321
|
//Check if the stepName exists in one of the failedToParseFiles
|
|
316
322
|
try {
|
|
@@ -333,12 +339,6 @@ class Feature {
|
|
|
333
339
|
console.error(`Error while checking step ${stepInfo.template} in failed files:`, e);
|
|
334
340
|
}
|
|
335
341
|
}
|
|
336
|
-
stepInfo.implemented = stepDef ? true : false;
|
|
337
|
-
if (stepDef) {
|
|
338
|
-
stepInfo.mjsFile = stepDef.file;
|
|
339
|
-
stepInfo.functionName = stepDef.functionName;
|
|
340
|
-
stepInfo.implemented_at = stepDef.implemented_at;
|
|
341
|
-
}
|
|
342
342
|
}
|
|
343
343
|
document.scenarios.push(scenarioInfo);
|
|
344
344
|
}
|