@dev-blinq/cucumber_client 1.0.1335-stage → 1.0.1336-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.
@@ -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);
@@ -427,7 +427,6 @@ export const toRecordingStep = (cmd, parametersMap) => {
427
427
 
428
428
  locatorsObject.locators = allStrategyLocators[allStrategyLocators.strategy] ?? locatorsObject.locators;
429
429
 
430
-
431
430
  return {
432
431
  ...step,
433
432
  locators: locatorsObject,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1335-stage",
3
+ "version": "1.0.1336-stage",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",