@dev-blinq/cucumber_client 1.0.1478-dev → 1.0.1480-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.
|
@@ -105,6 +105,11 @@ const _generateCodeFromCommand = (step, elements, userData) => {
|
|
|
105
105
|
// handle element
|
|
106
106
|
let element_name = null;
|
|
107
107
|
let allStrategyLocators = null;
|
|
108
|
+
const codeLines = [];
|
|
109
|
+
|
|
110
|
+
if (_isCodeGenerationStep(step) === false)
|
|
111
|
+
return { codeLines, elements: elementsChanged ? elements : null, elementIdentifier, allStrategyLocators };
|
|
112
|
+
|
|
108
113
|
if (_isCodeGenerationStep(step) && step.type !== Types.VERIFY_PAGE_SNAPSHOT) {
|
|
109
114
|
allStrategyLocators = step.allStrategyLocators ?? splitToLocatorsGroups(step.locators);
|
|
110
115
|
let node = null;
|
|
@@ -167,8 +172,6 @@ const _generateCodeFromCommand = (step, elements, userData) => {
|
|
|
167
172
|
}
|
|
168
173
|
}
|
|
169
174
|
|
|
170
|
-
const codeLines = [];
|
|
171
|
-
|
|
172
175
|
let line = null;
|
|
173
176
|
let comment = null;
|
|
174
177
|
let input = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dev-blinq/cucumber_client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1480-dev",
|
|
4
4
|
"description": " ",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"types": "bin/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@cucumber/tag-expressions": "^6.1.1",
|
|
40
40
|
"@dev-blinq/cucumber-js": "1.0.187-dev",
|
|
41
41
|
"@faker-js/faker": "^8.1.0",
|
|
42
|
-
"automation_model": "1.0.
|
|
42
|
+
"automation_model": "1.0.853-dev",
|
|
43
43
|
"axios": "^1.7.4",
|
|
44
44
|
"chokidar": "^3.6.0",
|
|
45
45
|
"create-require": "^1.1.1",
|