From b6f1e446a142c19bc4b77750e505652f53935edc Mon Sep 17 00:00:00 2001 From: Nico Schedel Date: Wed, 12 Apr 2023 13:10:55 +0200 Subject: [PATCH] MT#56388 fix call forwards csc test Change-Id: I94490f9f4d39dad33f3116652db76a0870b0c68f --- 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 366b0144..030161bb 100644 --- a/t/selenium/testrun.py +++ b/t/selenium/testrun.py @@ -252,7 +252,7 @@ class testrun(unittest.TestCase): driver.find_element_by_xpath('/html/body//div[@class="q-list q-list--dark"]/div[contains(., "Disable")]').click() wait_for_invisibility(driver, '//*[@id="csc-wrapper-call-forwarding"]/div/div[4]/svg') self.assertTrue( - len(driver.find_elements_by_xpath('//*[@id="csc-wrapper-call-forwarding"]/div/div[contains(@class, "disabled")]')) > 0, + len(driver.find_elements_by_xpath('//*[@id="csc-wrapper-call-forwarding"]//div[@data-cy="q-item-section"][@disabled="disabled"]')) > 0, "Call forward was not disabled") print("OK") print("Try to enable a call forward...", end="")