@dev-blinq/cucumber_client 1.0.1382-dev → 1.0.1383-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.
|
@@ -429,6 +429,20 @@ const invertStableCommand = (call, elements, stepParams) => {
|
|
|
429
429
|
}
|
|
430
430
|
break;
|
|
431
431
|
}
|
|
432
|
+
case "verifyProperty": {
|
|
433
|
+
step.type = Types.VERIFY_PROPERTY;
|
|
434
|
+
step.element = extractElement(call.arguments[0]);
|
|
435
|
+
const property = call.arguments[1].value;
|
|
436
|
+
const value = parseDataSource(call.arguments[2], stepParams);
|
|
437
|
+
if (value.type === "literal") {
|
|
438
|
+
step.parameters = [property, value.value];
|
|
439
|
+
} else {
|
|
440
|
+
step.dataSource = value.dataSource;
|
|
441
|
+
step.dataKey = value.dataKey;
|
|
442
|
+
step.parameters = [property, toVariableName(value.dataKey)];
|
|
443
|
+
}
|
|
444
|
+
break;
|
|
445
|
+
}
|
|
432
446
|
default:
|
|
433
447
|
return; // Skip if no matching method
|
|
434
448
|
}
|