@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
- return this.scenariosStepsMap.get(name) || [];
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1171-stage",
3
+ "version": "1.0.1172-stage",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",