This commit is contained in:
Aurélien Plancke 2021-06-08 16:00:31 +02:00
parent 13af9b200a
commit 5cda25ad04

View File

@ -117,13 +117,11 @@ class PythonOrgSearch(unittest.TestCase):
def test_020_ajout_note_seconde_ue(self):
global listeEtudiant
global MOY_UE2
glboal URL_SEMESTRE
global URL_SEMESTRE
linkAddNote = "formnotes_note_"
driver = self.driver
url = self.url
driver.get(url)
linkAddNote = "formnotes_note_"
driver.find_element_by_link_text("semestre 1").click()
URL_SEMESTRE = driver.current_url
driver.get(URL_SEMESTRE)
ue_name = driver.find_elements_by_class_name("status_ue_acro")[1].text
driver.find_element_by_link_text("M1201").click()
self.wait.until(EC.url_changes(URL_SEMESTRE))
@ -178,7 +176,7 @@ class PythonOrgSearch(unittest.TestCase):
driver.get(url)
driver.find_element_by_id("ProgrammesLink").click()
driver.find_element_by_id("titre_DUT Info").click()
driver.find_element_by_xpath("//span[contains(text(),'M1101'").click()
driver.find_element_by_xpath("//span[contains(text(),'M1101')]").click()
driver.find_element_by_id("tf_coefficient").clear()
driver.find_element_by_id("tf_coefficient").send_keys("3")
driver.find_element_by_id("tf_submit").click()