@dev-blinq/cucumber_client 1.0.1436-dev → 1.0.1438-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.
@@ -834,12 +834,15 @@ export class BVTRecorder {
834
834
  TEMP_RUN: true,
835
835
  REPORT_FOLDER: this.bvtContext.reportFolder,
836
836
  BLINQ_ENV: this.envName,
837
- STORE_DETAILED_NETWORK_DATA: listenNetwork ? "true" : "false",
837
+ //STORE_DETAILED_NETWORK_DATA: listenNetwork ? "true" : "false",
838
838
  DEBUG: "blinq:route",
839
839
  };
840
840
 
841
841
  this.bvtContext.navigate = true;
842
842
  this.bvtContext.loadedRoutes = null;
843
+ if (listenNetwork) {
844
+ process.env.STORE_DETAILED_NETWORK_DATA = "true";
845
+ }
843
846
  for (const [key, value] of Object.entries(_env)) {
844
847
  process.env[key] = value;
845
848
  }
@@ -265,8 +265,8 @@ export class BVTStepRunner {
265
265
 
266
266
  for (const cmdId of cmdIDs) {
267
267
  this.liveExecutionMap.set(cmdId, {
268
- resolve: () => {},
269
- reject: () => {},
268
+ resolve: () => { },
269
+ reject: () => { },
270
270
  });
271
271
  }
272
272
 
@@ -380,13 +380,18 @@ export class BVTStepRunner {
380
380
  this.#currentStepController = null;
381
381
  global.__BVT_STEP_ABORT_SIGNAL = null;
382
382
 
383
- // Clean up temp folder
384
- const __temp_features_FolderName = process.env.tempFeaturesFolderPath;
385
- if (__temp_features_FolderName) {
386
- const tempFolderPath = path.join(this.projectDir, __temp_features_FolderName);
387
- if (fs.existsSync(tempFolderPath)) {
388
- fs.rmSync(tempFolderPath, { recursive: true });
383
+
384
+ try {
385
+ // Clean up temp folder
386
+ const __temp_features_FolderName = process.env.tempFeaturesFolderPath;
387
+ if (__temp_features_FolderName) {
388
+ const tempFolderPath = path.join(this.projectDir, __temp_features_FolderName);
389
+ if (fs.existsSync(tempFolderPath)) {
390
+ fs.rmSync(tempFolderPath, { recursive: true });
391
+ }
389
392
  }
393
+ } catch (error) {
394
+ console.error("Error cleaning up temp folder", error);
390
395
  }
391
396
  }
392
397
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1436-dev",
3
+ "version": "1.0.1438-dev",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",