@dev-blinq/cucumber_client 1.0.1277-stage → 1.0.1278-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.
@@ -380,6 +380,10 @@ export const toRecordingStep = (cmd, parametersMap) => {
380
380
  if (!locatorsObject) return step;
381
381
  const isValueVariable = isVariable(cmd.value);
382
382
  const isTextVariable = isVariable(cmd.text);
383
+ const allStrategyLocators = JSON.parse(JSON.stringify(cmd?.allStrategyLocators ?? null));
384
+ step.locators = locatorsObject;
385
+ step.allStrategyLocators = allStrategyLocators;
386
+ step.isLocatorsAssigned = true;
383
387
 
384
388
  if (!isValueVariable && !isTextVariable) {
385
389
  return step;
@@ -389,7 +393,6 @@ export const toRecordingStep = (cmd, parametersMap) => {
389
393
  step.dataSource = "parameters";
390
394
  step.dataKey = convertToIdentifier(cmd.value.slice(1, -1))
391
395
  }
392
- const allStrategyLocators = JSON.parse(JSON.stringify(cmd?.allStrategyLocators ?? null));
393
396
 
394
397
  if (!allStrategyLocators) {
395
398
  let locs = locatorsObject.locators;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1277-stage",
3
+ "version": "1.0.1278-stage",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",