@dev-blinq/cucumber_client 1.0.1275-stage → 1.0.1276-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,11 @@ 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
|
+
|
|
385
|
+
step.locators = locatorsObject;
|
|
386
|
+
step.allStrategyLocators = allStrategyLocators;
|
|
387
|
+
step.isLocatorsAssigned = true;
|
|
383
388
|
|
|
384
389
|
if (!isValueVariable && !isTextVariable) {
|
|
385
390
|
return step;
|
|
@@ -389,7 +394,6 @@ export const toRecordingStep = (cmd, parametersMap) => {
|
|
|
389
394
|
step.dataSource = "parameters";
|
|
390
395
|
step.dataKey = convertToIdentifier(cmd.value.slice(1, -1))
|
|
391
396
|
}
|
|
392
|
-
const allStrategyLocators = JSON.parse(JSON.stringify(cmd?.allStrategyLocators ?? null));
|
|
393
397
|
|
|
394
398
|
if (!allStrategyLocators) {
|
|
395
399
|
let locs = locatorsObject.locators;
|