@dev-blinq/cucumber_client 1.0.1266-stage → 1.0.1267-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.
@@ -835,7 +835,6 @@ export class BVTRecorder {
835
835
  TEMP_RUN: true,
836
836
  REPORT_FOLDER: this.bvtContext.reportFolder,
837
837
  BLINQ_ENV: this.envName,
838
- //STORE_DETAILED_NETWORK_DATA: listenNetwork ? "true" : "false",
839
838
  DEBUG: "blinq:route",
840
839
  };
841
840
 
@@ -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)) {
@@ -405,6 +406,7 @@ export async function updateStepDefinitions({ scenario, featureName, projectDir
405
406
  console.log("Save routes in temp folder for running:", routesPath);
406
407
  if (existsSync(routesPath)) {
407
408
  console.log("Removing existing temp_routes_folder:", routesPath);
409
+ routesPath = path.join(tmpdir(), `blinq_temp_routes`);
408
410
  rmSync(routesPath, { recursive: true });
409
411
  }
410
412
  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.1266-stage",
3
+ "version": "1.0.1267-stage",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",