From 7b06d9f10c5a6a186ab29ebe33e8b8dfb172bdda Mon Sep 17 00:00:00 2001 From: Odalys Adam Date: Tue, 11 Jun 2024 16:50:46 +0200 Subject: [PATCH] try different selector --- page-objects/pages/NavigationLeftPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page-objects/pages/NavigationLeftPage.js b/page-objects/pages/NavigationLeftPage.js index ca8022f3..4741f142 100644 --- a/page-objects/pages/NavigationLeftPage.js +++ b/page-objects/pages/NavigationLeftPage.js @@ -69,7 +69,7 @@ const navItemHelpTrainings = navItemString2ndLevel.replace('XXX', 'Fortbildungen const navItemHelpContact = navItemString2ndLevel.replace('XXX', 'Kontakt'); const item = '.sidebar-list .link-name'; -const subitem = '.subitem .link-name'; +const subitem = '.sidebar ul li .subitem .link-name'; async function clickNavItemLogo() { await clickElementFromNavigation(navItemLogo);