@dev-blinq/cucumber_client 1.0.1300-stage → 1.0.1301-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.
@@ -367,6 +367,10 @@ export const toRecordingStep = (cmd, parametersMap) => {
367
367
  const locatorsObject = JSON.parse(JSON.stringify(cmd.locators ?? null));
368
368
 
369
369
  if (!locatorsObject) return step;
370
+
371
+ const element_name = cmd?.locators?.element_name ?? `${cmd.label} ${cmd.role ?? "Text"}`;
372
+ locatorsObject.element_name = element_name;
373
+
370
374
  const isValueVariable = isVariable(cmd.value);
371
375
  const isTextVariable = isVariable(cmd.text);
372
376
  const allStrategyLocators = JSON.parse(JSON.stringify(cmd?.allStrategyLocators ?? null));
@@ -415,6 +419,7 @@ export const toRecordingStep = (cmd, parametersMap) => {
415
419
 
416
420
  locatorsObject.locators = allStrategyLocators[allStrategyLocators.strategy] ?? locatorsObject.locators;
417
421
 
422
+
418
423
  return {
419
424
  ...step,
420
425
  locators: locatorsObject,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1300-stage",
3
+ "version": "1.0.1301-stage",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",