TT#70901 selenium: disable "rename conference" and "copy conference link" test

- said functions no longer work on machines without an active rtc:engine.
disabling them for now until we test on machines with an active engine.

Change-Id: I70a3c17d1e1752f7fda206f7f9e2c7dcb18ab342
changes/22/37022/2
Nico Schedel 5 years ago
parent 88c44275eb
commit c81c3afd8a

@ -1221,19 +1221,20 @@ class testrun(unittest.TestCase):
driver.find_element_by_xpath( driver.find_element_by_xpath(
'//*[@id="main-menu"]//div[@class="q-item-label"]' '//*[@id="main-menu"]//div[@class="q-item-label"]'
'[contains(text(), "Join conference")]').click() '[contains(text(), "Join conference")]').click()
driver.find_element_by_xpath( # --------Disabled. Active RTC:Engine required for these tests--------
'//*[@id="csc-conf-link-input"]/div/input').send_keys( # driver.find_element_by_xpath(
"testconference") # '//*[@id="csc-conf-link-input"]/div/input').send_keys(
driver.find_element_by_xpath( # "testconference")
'//*[@id="csc-conf-link-input"]/div/button[contains' # driver.find_element_by_xpath(
'(@class, "text-primary")]').click() # '//*[@id="csc-conf-link-input"]/div/button[contains'
self.assertEqual(driver.current_url, driver.find_element_by_xpath( # '(@class, "text-primary")]').click()
'//div/input[@readonly="readonly"]').get_attribute('value'), # self.assertEqual(driver.current_url, driver.find_element_by_xpath(
"Sharing URL is not correct") # '//div/input[@readonly="readonly"]').get_attribute('value'),
driver.find_element_by_xpath('/html/body').send_keys(Keys.ESCAPE) # "Sharing URL is not correct")
WebDriverWait(driver, 10).until(EC.presence_of_element_located(( # driver.find_element_by_xpath('/html/body').send_keys(Keys.ESCAPE)
By.XPATH, '/html/body/div[@class="modal fullscreen row minimized' # WebDriverWait(driver, 10).until(EC.presence_of_element_located((
' flex-center"][@style="display: none;"]'))) # By.XPATH, '/html/body/div[@class="modal fullscreen row minimized'
# ' flex-center"][@style="display: none;"]')))
driver.find_element_by_xpath( driver.find_element_by_xpath(
'//*[@id="csc-conf-header"]/div/button').click() '//*[@id="csc-conf-header"]/div/button').click()
WebDriverWait(driver, 10).until(EC.element_to_be_clickable(( WebDriverWait(driver, 10).until(EC.element_to_be_clickable((

Loading…
Cancel
Save