@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.
|
@@ -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 });
|