@dev-blinq/cucumber_client 1.0.1171-stage → 1.0.1172-stage
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.
|
@@ -883,7 +883,15 @@ export class BVTRecorder {
|
|
|
883
883
|
};
|
|
884
884
|
}
|
|
885
885
|
async getStepsAndCommandsForScenario({ name, featureName }) {
|
|
886
|
-
|
|
886
|
+
const steps = this.scenariosStepsMap.get(name) || [];
|
|
887
|
+
for (const step of steps) {
|
|
888
|
+
if (step.isImplemented) {
|
|
889
|
+
step.commands = this.getCommandsForImplementedStep({ stepName: step.text });
|
|
890
|
+
} else {
|
|
891
|
+
step.commands = [];
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
return steps;
|
|
887
895
|
// return getStepsAndCommandsForScenario({
|
|
888
896
|
// name,
|
|
889
897
|
// featureName,
|