@dev-blinq/cucumber_client 1.0.1180-dev → 1.0.1182-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.
|
@@ -391,7 +391,7 @@ const invertStableCommand = (call, elements, stepParams) => {
|
|
|
391
391
|
if (inputParam.type === "literal") {
|
|
392
392
|
step.parameters = [inputParam.value];
|
|
393
393
|
}
|
|
394
|
-
step.
|
|
394
|
+
step.selectors = call.arguments[0].value;
|
|
395
395
|
break;
|
|
396
396
|
}
|
|
397
397
|
default:
|
|
@@ -288,10 +288,10 @@ const _generateCodeFromCommand = (step, elements, userData) => {
|
|
|
288
288
|
}
|
|
289
289
|
case Types.VERIFY_PAGE_SNAPSHOT:
|
|
290
290
|
comment = step.nestFrmLoc
|
|
291
|
-
? `// Verify page snapshot ${step.parameters[0]} in the frame ${step.
|
|
291
|
+
? `// Verify page snapshot ${step.parameters[0]} in the frame ${step.selectors.iframe_src}`
|
|
292
292
|
: `// Verify page snapshot ${step.parameters[0]}`;
|
|
293
293
|
codeLines.push(escapeNonPrintables(comment));
|
|
294
|
-
line = `const frameLocator = ${JSON.stringify(step.
|
|
294
|
+
line = `const frameLocator = ${JSON.stringify(step.selectors ?? null)}`;
|
|
295
295
|
codeLines.push(line);
|
|
296
296
|
line = `await context.web.snapshotValidation(frameLocator, _param_0 , _params, ${JSON.stringify(options)}, this);`;
|
|
297
297
|
codeLines.push(line);
|
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.1182-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.171-dev",
|
|
30
30
|
"@faker-js/faker": "^8.1.0",
|
|
31
|
-
"automation_model": "1.0.
|
|
31
|
+
"automation_model": "1.0.716-dev",
|
|
32
32
|
"axios": "^1.7.4",
|
|
33
33
|
"chokidar": "^3.6.0",
|
|
34
34
|
"create-require": "^1.1.1",
|