From 70afeddcbb1a6bcd114b69eb86b1cbc92b6e1217 Mon Sep 17 00:00:00 2001 From: Odalys Adam Date: Wed, 12 Jun 2024 12:41:07 +0200 Subject: [PATCH] remove loggings --- page-objects/pages/NavigationLeftPage.js | 1 - runtime/helpers/elementHelpers.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/page-objects/pages/NavigationLeftPage.js b/page-objects/pages/NavigationLeftPage.js index ca8022f3..6e7b53cc 100644 --- a/page-objects/pages/NavigationLeftPage.js +++ b/page-objects/pages/NavigationLeftPage.js @@ -184,7 +184,6 @@ async function areSubMenuItemsVisible(listOfExpectedSubItems) { return item.trim(); }); const listOfSubItems = await getListOfSubItems(); - // console.log('pampelmuse', listOfSubItems); const isSame = listOfExpectedSubItems.length == listOfSubItems.length && listOfSubItems.every(function (element, index) { diff --git a/runtime/helpers/elementHelpers.js b/runtime/helpers/elementHelpers.js index 27f92feb..10e2d8eb 100644 --- a/runtime/helpers/elementHelpers.js +++ b/runtime/helpers/elementHelpers.js @@ -216,7 +216,6 @@ async function getValueOfElement(selector) { async function getTextFromAllElements(selector) { await waitHelpers.waitUntilPageLoads(); const listOfElements = await getListOfAllElements(selector); - console.log('pampelmuse', listOfElements); let textList = await getTextListFromListOfElements(listOfElements); return textList; } @@ -226,7 +225,6 @@ async function getListOfAllElements(selector) { try { await waitHelpers.waitUntilElementIsVisible(selector); } catch (err) { - console.log('krokodil'); return []; } return driver.$$(selector);