From f8056e0c76ed3875f803d82390d03ac309619010 Mon Sep 17 00:00:00 2001 From: Nico Schedel Date: Mon, 22 Jul 2024 12:47:55 +0200 Subject: [PATCH] MT#56388 fix failing call blocking selenium tests Change-Id: I63ea1952d7deaf74ddcfda6ca42581a8fefe28d0 --- t/selenium/testrun.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/selenium/testrun.py b/t/selenium/testrun.py index 88aab1e9..e8cb73aa 100644 --- a/t/selenium/testrun.py +++ b/t/selenium/testrun.py @@ -90,7 +90,7 @@ class testrun(unittest.TestCase): print("Go to 'Block Incoming' page...", end="") driver.find_element(By.XPATH, '//*[@id="csc-main-menu-top"]//div[contains(., "Call Settings")]').click() time.sleep(1) - driver.find_element(By.XPATH, '//*[@id="csc-main-menu-top"]//div/a[contains(., "Block incoming")]').click() + driver.find_element(By.XPATH, '//*[@id="csc-main-menu-top"]//div/a[contains(., "Block Incoming")]').click() self.assertTrue( len(driver.find_elements(By.XPATH, '//*[@id="csc-page-call-blocking-incoming"]')) > 0, "'Block Incoming' page wasnt opened") print("OK")