@dev-blinq/cucumber_client 1.0.1242-dev → 1.0.1244-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.
@@ -576,16 +576,13 @@ const _generateCodeFromCommand = (step, elements, userData) => {
576
576
  break;
577
577
  }
578
578
  case Types.VERIFY_PROPERTY: {
579
- if (!codeLines) {
580
- // Only execute if codeLine is empty/undefined
581
- line = `await context.web.verifyProperty(elements["${elementIdentifier}"], `;
582
- input = "_param_0";
583
- if (step.dataSource === "userData" || step.dataSource === "parameters") {
584
- input = "_" + step.dataKey;
585
- }
586
- line += `"${step.parameters[0]}", ${input}, _params, null, this);`;
587
- codeLines.push(line);
579
+ line = `await context.web.verifyProperty(elements["${elementIdentifier}"], `;
580
+ input = "_param_0";
581
+ if (step.dataSource === "userData" || step.dataSource === "parameters") {
582
+ input = "_" + step.dataKey;
588
583
  }
584
+ line += `"${step.parameters[0]}", ${input}, _params, null, this);`;
585
+ codeLines.push(line);
589
586
  break;
590
587
  }
591
588
  case Types.SET_INPUT_FILES: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1242-dev",
3
+ "version": "1.0.1244-dev",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "@cucumber/tag-expressions": "^6.1.1",
29
29
  "@dev-blinq/cucumber-js": "1.0.173-dev",
30
30
  "@faker-js/faker": "^8.1.0",
31
- "automation_model": "1.0.743-dev",
31
+ "automation_model": "1.0.744-dev",
32
32
  "axios": "^1.7.4",
33
33
  "chokidar": "^3.6.0",
34
34
  "create-require": "^1.1.1",