@dev-blinq/cucumber_client 1.0.1727-dev → 1.0.1728-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.
|
@@ -691,7 +691,7 @@ const _generateCodeFromCommand = (step, elements, userData) => {
|
|
|
691
691
|
if (step.dataSource === "userData" || step.dataSource === "parameters") {
|
|
692
692
|
input = "_" + step.dataKey;
|
|
693
693
|
}
|
|
694
|
-
|
|
694
|
+
options = options ?? {};
|
|
695
695
|
// options.context = input;
|
|
696
696
|
line = `await context.web.click(elements["${elementIdentifier}"], _params, ${serializeOptions(options, input)}, this);`;
|
|
697
697
|
codeLines.push(line);
|
|
@@ -716,7 +716,7 @@ const _generateCodeFromCommand = (step, elements, userData) => {
|
|
|
716
716
|
if (step.dataSource === "userData" || step.dataSource === "parameters") {
|
|
717
717
|
input = "_" + step.dataKey;
|
|
718
718
|
}
|
|
719
|
-
|
|
719
|
+
options = options ?? {};
|
|
720
720
|
// options.context = input;
|
|
721
721
|
line = `await context.web.click(elements["${elementIdentifier}"], _params, ${serializeOptions(options, input)}, this);`;
|
|
722
722
|
codeLines.push(line);
|