@dev-blinq/cucumber_client 1.0.1467-dev → 1.0.1469-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.
|
@@ -480,6 +480,9 @@ function makeStepTextUnique(step, stepsDefinitions) {
|
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
export async function saveRecording({ step, cucumberStep, codePage, projectDir, stepsDefinitions, parametersMap }) {
|
|
483
|
+
if (step.commands && Array.isArray(step.commands)) {
|
|
484
|
+
step.commands = step.commands.map((cmd) => toRecordingStep(cmd, parametersMap));
|
|
485
|
+
}
|
|
483
486
|
let routesPath = path.join(tmpdir(), "blinq_temp_routes");
|
|
484
487
|
|
|
485
488
|
if (process.env.TEMP_RUN === "true") {
|
|
@@ -551,7 +554,7 @@ export async function saveRecording({ step, cucumberStep, codePage, projectDir,
|
|
|
551
554
|
|
|
552
555
|
cucumberStep.text = step.text;
|
|
553
556
|
const recording = new Recording();
|
|
554
|
-
|
|
557
|
+
|
|
555
558
|
const steps = step.commands;
|
|
556
559
|
|
|
557
560
|
recording.loadFromObject({ steps, step: cucumberStep });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dev-blinq/cucumber_client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1469-dev",
|
|
4
4
|
"description": " ",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"types": "bin/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@cucumber/tag-expressions": "^6.1.1",
|
|
40
40
|
"@dev-blinq/cucumber-js": "1.0.186-dev",
|
|
41
41
|
"@faker-js/faker": "^8.1.0",
|
|
42
|
-
"automation_model": "1.0.
|
|
42
|
+
"automation_model": "1.0.848-dev",
|
|
43
43
|
"axios": "^1.7.4",
|
|
44
44
|
"chokidar": "^3.6.0",
|
|
45
45
|
"create-require": "^1.1.1",
|