@dev-blinq/cucumber_client 1.0.1201-dev → 1.0.1202-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.
|
@@ -511,7 +511,7 @@ function findContext(element) {
|
|
|
511
511
|
const textsInnerText = [];
|
|
512
512
|
for (let i = 0; i < texts.length; i++) {
|
|
513
513
|
const text = texts[i];
|
|
514
|
-
textsInnerText.push(text.textContent);
|
|
514
|
+
textsInnerText.push(text.parentElement.textContent.trim());
|
|
515
515
|
// set attribute to the text: blinq-text-${key}-${i}
|
|
516
516
|
text.parentElement.setAttribute(`blinq-text-${key}-${i}`, "");
|
|
517
517
|
}
|