ajout test creation interrogation
This commit is contained in:
parent
ee35b75772
commit
ecc313bc65
@ -14,6 +14,7 @@ SCODOC_PASS = "enseignant@"
|
||||
nomDPT = "AurelienUS"
|
||||
SCODOC_ADMIN_ID = "admin"
|
||||
SCODOC_ADMIN_PASS = "root_pass_42"
|
||||
baseURL = "https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/"
|
||||
|
||||
|
||||
class PythonOrgSearch(unittest.TestCase):
|
||||
@ -21,10 +22,10 @@ class PythonOrgSearch(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.driver = webdriver.Firefox()
|
||||
self.url = (
|
||||
"https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/" + nomDPT + "/Scolarite"
|
||||
baseURL + nomDPT + "/Scolarite"
|
||||
)
|
||||
self.wait = WebDriverWait(self.driver, 10)
|
||||
self.driver.get("https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/")
|
||||
self.driver.get(baseURL)
|
||||
self.driver.find_element_by_id("name").send_keys(SCODOC_ID)
|
||||
self.driver.find_element_by_id("password").send_keys(SCODOC_PASS)
|
||||
self.driver.find_element_by_id("submit").click()
|
||||
@ -149,9 +150,16 @@ class PythonOrgSearch(unittest.TestCase):
|
||||
except NoSuchElementException:
|
||||
self.assertTrue(True)
|
||||
|
||||
#Test : Création d'une interrogation en tant qu'enseignant reponsable d'un module
|
||||
#@eexpected : L'interrogation apparait désormais dans ce module
|
||||
def test_08creation_interrogation(self):
|
||||
driver = self.driver
|
||||
url = self.url
|
||||
driver.get(url)
|
||||
|
||||
# Test : Suppression d'un enseignant responsable d'un module
|
||||
# @expected : L'enseignant n'apparait plus comme responsable dans ce module
|
||||
def test_08suppression_enseignant_sur_module(self):
|
||||
def test_09suppression_enseignant_sur_module(self):
|
||||
driver = self.driver
|
||||
url = self.url
|
||||
self.driver.get(
|
||||
|
@ -3,7 +3,7 @@ Script 1 : Création de département
|
||||
Script 2 : Création de la formation
|
||||
|
||||
Script 3 : Création des semestres
|
||||
|
||||
4 semestre comme prérempli
|
||||
Script 4 : Création des étudiants
|
||||
Deux étudiants par semestre (semestre 1,2,3,4)
|
||||
Nommage des étudiants : Nom de famille : SemestreX
|
||||
@ -13,4 +13,4 @@ Script 5 : Création d'interrogation
|
||||
Une interrogation nommé InterroTest
|
||||
|
||||
Script 6 : Ajout des notes aux étudiants
|
||||
1 étudiant par semestre à 12 à l'interrogation précédente, l'autre à 7
|
||||
1 étudiant par semestre avec une note de 12 à l'interrogation précédente, l'autre avec une note à 7
|
||||
|
1352
formation_export.json
Normal file
1352
formation_export.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
geckodriver
Executable file
BIN
geckodriver
Executable file
Binary file not shown.
@ -5165,3 +5165,26 @@ JavaScript error: , line 0: uncaught exception: Object
|
||||
JavaScript error: , line 0: uncaught exception: Object
|
||||
JavaScript error: resource://gre/modules/AsyncShutdown.jsm, line 554: uncaught exception: Object
|
||||
JavaScript error: resource://gre/modules/AsyncShutdown.jsm, line 554: uncaught exception: Object
|
||||
1620371224719 geckodriver INFO Listening on 127.0.0.1:39471
|
||||
1620371224725 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile1fQlut"
|
||||
1620371226991 Marionette INFO Listening on port 37729
|
||||
1620371227031 Marionette WARN TLS certificate errors will be ignored for this session
|
||||
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
|
||||
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
|
||||
1620371227479 Marionette INFO Stopped listening on port 37729
|
||||
JavaScript error: resource://gre/modules/UrlClassifierListManager.jsm, line 691: TypeError: this.tablesData[table] is undefined
|
||||
1620371229088 geckodriver INFO Listening on 127.0.0.1:46731
|
||||
1620371229092 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilex9HUTV"
|
||||
1620371231294 Marionette INFO Listening on port 39817
|
||||
1620371231299 Marionette WARN TLS certificate errors will be ignored for this session
|
||||
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
|
||||
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
|
||||
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
|
||||
1620371231950 Marionette INFO Stopped listening on port 39817
|
||||
1620375536691 geckodriver INFO Listening on 127.0.0.1:51979
|
||||
1620375536696 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileq77ZC0"
|
||||
1620375539172 Marionette INFO Listening on port 44545
|
||||
1620375539205 Marionette WARN TLS certificate errors will be ignored for this session
|
||||
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
|
||||
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
|
||||
1620375539920 Marionette INFO Stopped listening on port 44545
|
||||
|
Loading…
Reference in New Issue
Block a user