From bda2429337a83c65a3f05768e4ae15dee92675f0 Mon Sep 17 00:00:00 2001 From: Nico Schedel Date: Thu, 17 Jun 2021 12:18:13 +0200 Subject: [PATCH] TT#122872 selenium: fix customer status box missing customer status box wasnt clicked properly sometimes, fixing that Change-Id: Iabcc1983613b58e4898a3054b93ac6a6924d7160 --- 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 df3d60df12..69fe322bac 100644 --- a/t/selenium/testrun.py +++ b/t/selenium/testrun.py @@ -474,7 +474,7 @@ class testrun(unittest.TestCase): print("OK") print("Try to edit customer status...", end="") scroll_to_element(driver, '//*[@id="q-app"]/div//main//div//table/tbody/tr[1]/td[10]/span') - driver.find_element_by_xpath('//*[@id="q-app"]/div//main//div//table/tbody/tr[1]/td[10]/span').click() + click_js(driver, '//*[@id="q-app"]/div//main//div//table/tbody/tr[1]/td[10]/span') driver.implicitly_wait(1) if len(driver.find_elements_by_xpath('/html/body//div[@class="q-item__label"][contains(., "Locked")]')) == 0: driver.find_element_by_xpath('/html/body/div[4]/label').click()