@dev-blinq/cucumber_client 1.0.1538-dev → 1.0.1540-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.
@@ -284,6 +284,20 @@ export class BVTStepRunner {
284
284
  return cId;
285
285
  };
286
286
  }
287
+ if (bvtContext.api) {
288
+ bvtContext.api.getCmdId = () => {
289
+ if (cmdIDs.length === 0) {
290
+ cmdIDs = (step.commands || []).map((cmd) => cmd.cmdId ?? cmd.id);
291
+ }
292
+ const cId = cmdIDs.shift();
293
+ this.sendExecutionStatus({
294
+ type: "cmdExecutionStart",
295
+ cmdId: cId,
296
+ });
297
+ this.#lastAttemptedCmdId = cId;
298
+ return cId;
299
+ };
300
+ }
287
301
 
288
302
  const __temp_features_FolderName = "__temp_features" + Math.random().toString(36).substring(2, 7);
289
303
  const tempFolderPath = path.join(this.projectDir, __temp_features_FolderName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1538-dev",
3
+ "version": "1.0.1540-dev",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "@cucumber/tag-expressions": "^6.1.1",
40
40
  "@dev-blinq/cucumber-js": "1.0.196-dev",
41
41
  "@faker-js/faker": "^8.4.1",
42
- "automation_model": "1.0.878-dev",
42
+ "automation_model": "1.0.879-dev",
43
43
  "axios": "^1.7.4",
44
44
  "chokidar": "^3.6.0",
45
45
  "create-require": "^1.1.1",