TT#122872 selenium: fix one instance of invalid xpath syntax

Change-Id: Ib4b44442303ad5c842ff7f63443e0023ef1427e1
mr9.5.1
Nico Schedel 4 years ago
parent 8eeee42d20
commit f8ce039b15

@ -477,7 +477,7 @@ class testrun(unittest.TestCase):
driver.find_element_by_xpath('//*[@id="q-app"]/div//main//div//table/tbody/tr[1]/td[9]/span').click()
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//label//').click()
driver.find_element_by_xpath('/html/body/div[4]/label').click()
driver.implicitly_wait(10)
driver.find_element_by_xpath('/html/body//div[@class="q-item__label"][contains(., "Locked")]').click()
wait_for_invisibility(driver, '/html/body//div[@class="q-virtual-scroll__content"]')

Loading…
Cancel
Save