@dev-blinq/cucumber_client 1.0.1446-dev → 1.0.1447-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,7 +834,6 @@ 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",
838
837
  DEBUG: "blinq:route",
839
838
  };
840
839
 
@@ -73,7 +73,7 @@ function makeStepTextUnique(step, stepsDefinitions) {
73
73
  export async function saveRecording({ step, cucumberStep, codePage, projectDir, stepsDefinitions }) {
74
74
  let routesPath = path.join(tmpdir(), "blinq_temp_routes");
75
75
 
76
- if (process.env.TEMP_RUN) {
76
+ if (process.env.TEMP_RUN === "true") {
77
77
  if (existsSync(routesPath)) {
78
78
  rmSync(routesPath, { recursive: true });
79
79
  }
@@ -111,6 +111,7 @@ export async function saveRecording({ step, cucumberStep, codePage, projectDir,
111
111
  }
112
112
  }
113
113
 
114
+ routesPath = path.join(tmpdir(), "blinq_temp_routes");
114
115
  if (process.env.TEMP_RUN === "true") {
115
116
  console.log("Save routes in temp folder for running:", routesPath);
116
117
  if (existsSync(routesPath)) {
@@ -404,6 +405,7 @@ export async function updateStepDefinitions({ scenario, featureName, projectDir
404
405
  console.log("Save routes in temp folder for running:", routesPath);
405
406
  if (existsSync(routesPath)) {
406
407
  console.log("Removing existing temp_routes_folder:", routesPath);
408
+ routesPath = path.join(tmpdir(), `blinq_temp_routes`);
407
409
  rmSync(routesPath, { recursive: true });
408
410
  }
409
411
  mkdirSync(routesPath, { recursive: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1446-dev",
3
+ "version": "1.0.1447-dev",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",