@dev-blinq/cucumber_client 1.0.1457-dev → 1.0.1458-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.
|
@@ -369,6 +369,10 @@ export const toRecordingStep = (cmd, parametersMap) => {
|
|
|
369
369
|
if (!locatorsObject) return step;
|
|
370
370
|
const isValueVariable = isVariable(cmd.value);
|
|
371
371
|
const isTextVariable = isVariable(cmd.text);
|
|
372
|
+
const allStrategyLocators = JSON.parse(JSON.stringify(cmd?.allStrategyLocators ?? null));
|
|
373
|
+
step.locators = locatorsObject;
|
|
374
|
+
step.allStrategyLocators = allStrategyLocators;
|
|
375
|
+
step.isLocatorsAssigned = true;
|
|
372
376
|
|
|
373
377
|
if (!isValueVariable && !isTextVariable) {
|
|
374
378
|
return step;
|
|
@@ -378,7 +382,6 @@ export const toRecordingStep = (cmd, parametersMap) => {
|
|
|
378
382
|
step.dataSource = "parameters";
|
|
379
383
|
step.dataKey = convertToIdentifier(cmd.value.slice(1, -1));
|
|
380
384
|
}
|
|
381
|
-
const allStrategyLocators = JSON.parse(JSON.stringify(cmd?.allStrategyLocators ?? null));
|
|
382
385
|
|
|
383
386
|
if (!allStrategyLocators) {
|
|
384
387
|
let locs = locatorsObject.locators;
|