@dev-blinq/cucumber_client 1.0.1237-dev → 1.0.1239-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.
|
@@ -236,13 +236,17 @@ export const getImplementedSteps = async (projectDir) => {
|
|
|
236
236
|
for (const tag of scenario.tags) {
|
|
237
237
|
delete tag.location;
|
|
238
238
|
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
239
|
+
for (const scenario of scenarios) {
|
|
240
|
+
for (const step of scenario.steps) {
|
|
241
|
+
if (step.templateIndex === undefined) {
|
|
242
|
+
const cleanStepName = stepsDefinitions._stepNameToTemplate(step.text);
|
|
243
|
+
const index = implementedSteps.findIndex((istep) => {
|
|
244
|
+
return cleanStepName === istep.pattern;
|
|
245
|
+
});
|
|
246
|
+
step.templateIndex = index;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
246
250
|
}
|
|
247
251
|
if (foundErrors.length > 0) {
|
|
248
252
|
console.log("foundErrors", foundErrors);
|
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.1239-dev",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"types": "bin/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@cucumber/tag-expressions": "^6.1.1",
|
|
29
29
|
"@dev-blinq/cucumber-js": "1.0.173-dev",
|
|
30
30
|
"@faker-js/faker": "^8.1.0",
|
|
31
|
-
"automation_model": "1.0.
|
|
31
|
+
"automation_model": "1.0.742-dev",
|
|
32
32
|
"axios": "^1.7.4",
|
|
33
33
|
"chokidar": "^3.6.0",
|
|
34
34
|
"create-require": "^1.1.1",
|