@dev-blinq/cucumber_client 1.0.1217-dev → 1.0.1218-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.
|
@@ -1061,7 +1061,10 @@ class BVTRecorder {
|
|
|
1061
1061
|
mode: "IGNORE_DIGIT",
|
|
1062
1062
|
});
|
|
1063
1063
|
allStrategyLocators["ignore_digit"].push(locator);
|
|
1064
|
-
} else if (
|
|
1064
|
+
} else if (
|
|
1065
|
+
locator.css &&
|
|
1066
|
+
(locator.css.includes("text=") || locator.css.includes("[name=") || locator.css.includes("label="))
|
|
1067
|
+
) {
|
|
1065
1068
|
locs.push(locator);
|
|
1066
1069
|
allStrategyLocators["basic"].push(locator);
|
|
1067
1070
|
} else {
|
|
@@ -71,7 +71,7 @@ class StepsDefinitions {
|
|
|
71
71
|
try {
|
|
72
72
|
codePage.generateModel();
|
|
73
73
|
} catch (error) {
|
|
74
|
-
logger.info("unable to generate model for
|
|
74
|
+
logger.info("unable to generate model for", mjsFile, error);
|
|
75
75
|
if (supressErrors) {
|
|
76
76
|
errors.push({
|
|
77
77
|
file: filePath,
|