@dev-blinq/cucumber_client 1.0.1650-dev → 1.0.1651-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.
|
@@ -621,11 +621,13 @@ export async function saveRecording({ step, cucumberStep, codePage, projectDir,
|
|
|
621
621
|
stepsDefinitions
|
|
622
622
|
);
|
|
623
623
|
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
624
|
+
if (!step.renamedText) {
|
|
625
|
+
stepsDefinitions.addStep({
|
|
626
|
+
name: step.text,
|
|
627
|
+
file: result.codePage.sourceFileName,
|
|
628
|
+
source: "recorder",
|
|
629
|
+
});
|
|
630
|
+
}
|
|
629
631
|
|
|
630
632
|
cucumberStep.methodName = result.methodName;
|
|
631
633
|
return result.codePage;
|
|
@@ -674,11 +676,13 @@ export async function saveRecording({ step, cucumberStep, codePage, projectDir,
|
|
|
674
676
|
step.finalTimeout
|
|
675
677
|
);
|
|
676
678
|
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
679
|
+
if (!step.renamedText) {
|
|
680
|
+
stepsDefinitions.addStep({
|
|
681
|
+
name: step.text,
|
|
682
|
+
file: codePage.sourceFileName,
|
|
683
|
+
source: "recorder",
|
|
684
|
+
});
|
|
685
|
+
}
|
|
682
686
|
|
|
683
687
|
codePage.removeUnusedElements();
|
|
684
688
|
codePage.mergeSimilarElements();
|