@dev-blinq/cucumber_client 1.0.1739-dev → 1.0.1740-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.
|
@@ -867,6 +867,7 @@ export async function executeStep({ stepsDefinitions, cucumberStep, context, cod
|
|
|
867
867
|
}
|
|
868
868
|
}
|
|
869
869
|
|
|
870
|
+
// deprecated
|
|
870
871
|
export async function updateStepDefinitionsOld({ scenario, featureName, projectDir, logger }) {
|
|
871
872
|
// set the candidate step definition file name
|
|
872
873
|
// set the utils file path
|
|
@@ -951,6 +952,7 @@ export async function updateStepDefinitionsOld({ scenario, featureName, projectD
|
|
|
951
952
|
|
|
952
953
|
export async function updateStepDefinitions({ scenario, featureName, projectDir, logger, bvtSnapshotsDir }) {
|
|
953
954
|
try {
|
|
955
|
+
logger.info("🔵 Starting updateStepDefinitions()");
|
|
954
956
|
const { featureFolder, utilsFilePath, utilsContent } = handleFileInitOps(projectDir, logger);
|
|
955
957
|
const steps = scenario.steps;
|
|
956
958
|
|
|
@@ -55,7 +55,7 @@ export function handleFileInitOps(projectDir, logger) {
|
|
|
55
55
|
} catch (error) {
|
|
56
56
|
throw new UpdateStepDefinitionsError({
|
|
57
57
|
type: SaveJobErrorType.FILE_SYSTEM_ERROR,
|
|
58
|
-
message: "Failed to initialize step definition folder structure",
|
|
58
|
+
message: "❌ Failed to initialize step definition folder structure",
|
|
59
59
|
meta: { reason: getErrorMessage(error) },
|
|
60
60
|
});
|
|
61
61
|
}
|