Compare commits

...

4 Commits

Author SHA1 Message Date
09a80e8dd5 maj gitignore 2021-06-01 17:20:11 +02:00
8efa07055a fix typo 2021-06-01 17:19:34 +02:00
812a55f185 creation utilisateurs chef et enseignant pour tests 2021-06-01 17:02:25 +02:00
7d52d21bc1 création utilisateurs chef et enseignant 2021-06-01 16:50:45 +02:00
14 changed files with 130 additions and 454 deletions

10
.env
View File

@ -1,10 +0,0 @@
BASE_URL = "https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/"
NOM_DPT = "test01"
SCODOC_ADMIN_ID = "admin"
SCODOC_ADMIN_PASS = "root_pass_42"
SCODOC_ENS_ID = "enseignantUS"
SCODOC_ENS_PASS = "enseignant@"
SCODOC_CHEF_ID = "chefdesetudesUS"
SCODOC_CHEF_PASS = "passwordUS42"
LINK_SCODOC_SERVER = "root@scodoc-dev-iutinfo.univ-lille.fr"
BASE_NOT_SECURED_URL = "scodoc-dev-iutinfo.univ-lille.fr/"

10
.envmodel Normal file
View File

@ -0,0 +1,10 @@
BASE_URL = "https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/"
NOM_DPT = "test01"
SCODOC_ADMIN_ID = "admin_id"
SCODOC_ADMIN_PASS = "admin_password"
SCODOC_ENS_ID = "enseignant_id"
SCODOC_ENS_PASS = "enseignant_password"
SCODOC_CHEF_ID = "chef_id"
SCODOC_CHEF_PASS = "password"
LINK_SCODOC_SERVER = "root@ssh_server_scodoc"
BASE_NOT_SECURED_URL = "scodoc-dev-iutinfo.univ-lille.fr/"

4
.gitignore vendored
View File

@ -1,2 +1,6 @@
settings.json
.vscode
.env
*__pycache__*
*__pycache__/*
geckodriver.log

View File

@ -9,6 +9,7 @@ from setting import (
NOM_DPT,
LINK_SCODOC_SERVER,
BASE_NOT_SECURED_URL,
NAVIGATEUR,
)
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
@ -22,7 +23,10 @@ class PythonOrgSearch(unittest.TestCase):
process.wait()
# Permet de se connecter et se remettre sur la page d'accueil avant chaque test
def setUp(self):
if NAVIGATEUR == "firefox":
self.driver = webdriver.Firefox()
else:
self.driver = webdriver.Chrome()
self.driver.get(
"https://"
+ SCODOC_ADMIN_ID

View File

@ -9,6 +9,7 @@ from setting import (
NOM_DPT,
LINK_SCODOC_SERVER,
BASE_NOT_SECURED_URL,
NAVIGATEUR,
)
from selenium import webdriver
from selenium.webdriver.support import expected_conditions as EC
@ -29,7 +30,10 @@ class PythonOrgSearch(unittest.TestCase):
process.wait()
# Permet de se connecter et se remettre sur la page d'accueil avant chaque test
def setUp(self):
if NAVIGATEUR == "firefox":
self.driver = webdriver.Firefox()
else:
self.driver = webdriver.Chrome()
self.wait = WebDriverWait(self.driver, 10)
self.driver.get(
"https://"

View File

@ -8,6 +8,7 @@ from setting import (
NOM_DPT,
LINK_SCODOC_SERVER,
BASE_NOT_SECURED_URL,
NAVIGATEUR,
)
import urllib.parse as urlparse
from urllib.parse import parse_qs
@ -19,8 +20,8 @@ from selenium.webdriver.support.ui import Select, WebDriverWait
from selenium.webdriver.support.select import Select
URL = BASE_URL + NOM_DPT + "/Scolarite"
nomEtu = "UnAutreEtudiant"
prenomEtu = "Normal"
nomEtu = "Semestre11"
prenomEtu = "Etudiant1"
nip = "11122234"
domicile = "50 rue de la marmite"
codepostaldomicile = "59000"
@ -41,7 +42,10 @@ class PythonOrgSearch(unittest.TestCase):
process.wait()
# Permet de se connecter et se remettre sur la page d'accueil avant chaque test
def setUp(self):
if NAVIGATEUR == "firefox":
self.driver = webdriver.Firefox()
else:
self.driver = webdriver.Chrome()
self.wait = WebDriverWait(self.driver, 10)
self.driver.get(
"https://"

View File

@ -9,6 +9,7 @@ from setting import (
NOM_DPT,
LINK_SCODOC_SERVER,
BASE_NOT_SECURED_URL,
NAVIGATEUR,
)
from urllib.parse import parse_qs
from selenium import webdriver
@ -18,8 +19,10 @@ from selenium.webdriver.support.ui import Select, WebDriverWait
from selenium.webdriver.support.select import Select
URL = BASE_URL + NOM_DPT + "/Scolarite"
NOM_ETU = "Semestre1"
NOM_ETU = "Semestre11"
PRENOM_ETU = "EtudiantNumero1"
dateDebutAbsenceNonJustifiee = "31/05/2021"
dateDebutAbsenceJustifiee = "30/05/2021"
class PythonOrgSearch(unittest.TestCase):
@ -36,7 +39,10 @@ class PythonOrgSearch(unittest.TestCase):
process.wait()
# Permet de se connecter et se remettre sur la page d'accueil avant chaque test
def setUp(self):
if NAVIGATEUR == "firefox":
self.driver = webdriver.Firefox()
else:
self.driver = webdriver.Chrome()
self.wait = WebDriverWait(self.driver, 10)
self.driver.get(
"https://"
@ -58,17 +64,15 @@ class PythonOrgSearch(unittest.TestCase):
element.send_keys(NOM_ETU)
element.submit()
self.wait.until(EC.url_changes(URL))
driver.find_element_by_xpath("//a[contains(text(),'Etudiantnumero1')]").click()
time.sleep(5)
URL = driver.current_url
self.assertTrue(NOM_ETU in driver.page_source)
self.assertTrue(NOM_ETU.upper() in driver.page_source)
# Test : creer une absence non justifiée
# @expected : La fiche étudiante est incrémentée avec le nombre d'absence injustifiée correspondant
def test_020_ajout_absence_non_justifiee(self):
driver = self.driver
global URL
driver.find_element_by_link_text("Ajouter").click()
driver.find_element_by_id("ajout_Absence").click()
driver.find_element_by_name("datedebut").send_keys(dateDebutAbsenceNonJustifiee)
driver.find_element_by_id("butsubmit").submit()
time.sleep(1)
@ -87,14 +91,14 @@ class PythonOrgSearch(unittest.TestCase):
# Test pour ajouter deux absences justifiées
# @expected : La fiche d'information de l'étudiant concerné à son compteur d'absence augmenté de 2
def test_ajout_absence_justifiee(self):
def test_021_ajout_absence_justifiee(self):
driver = self.driver
global URL
driver.find_element_by_link_text("Ajouter").click()
driver.find_element_by_id("ajout_Absence").click()
driver.find_element_by_name("datedebut").send_keys(dateDebutAbsenceJustifiee)
driver.find_element_by_name("estjust").click()
driver.find_element_by_id("butsubmit").submit()
time.sleep(1)
self.wait.until(EC.url_changes(URL))
self.assertTrue("Ajout de 2 absences <b>justifiées</b>" in driver.page_source)
driver = self.driver
driver.find_element_by_link_text("Liste").click()
@ -107,13 +111,14 @@ class PythonOrgSearch(unittest.TestCase):
# Test Justification d'une absence non justifiée
# @expected : Le champs des absences non justifiées diminue et celui des justifiés augmente du nombre d'absence
def test_ajout_justification(self):
def test_022_ajout_justification(self):
driver = self.driver
global URL
driver.find_element_by_link_text("Justifier").click()
driver.find_element_by_id("justifier_Absence").click()
driver.find_element_by_name("datedebut").send_keys(dateDebutAbsenceJustifiee)
driver.find_element_by_name("description").send_keys("Un test selenium")
driver.find_element_by_xpath("//input[@value='Envoyer']").click()
self.wait.until(EC.url_changes(URL))
self.assertTrue("Ajout de 2 <b>justifications</b>" in driver.page_source)
driver = self.driver
driver.find_element_by_link_text("Liste").click()
@ -128,19 +133,19 @@ class PythonOrgSearch(unittest.TestCase):
# Test Suppression des absences pour un élève
# @expected : Les compteurs d'absences sont remplacés par "Pas d'absences"
def test_supprimer_absence(self):
def test_024_supprimer_absence(self):
driver = self.driver
global URL
driver.find_element_by_link_text("Supprimer").click()
driver.find_element_by_id("supprimer_Absence").click()
driver.find_element_by_name("datedebut").send_keys(dateDebutAbsenceJustifiee)
driver.find_element_by_xpath("//input[@value='Supprimer les absences']").click()
self.wait.until(EC.url_changes(URL))
self.assertTrue("Annulation sur 2 demi-journées " in driver.page_source)
driver = self.driver
driver.find_element_by_link_text("Supprimer").click()
driver.find_element_by_id("supprimer_Absence ").click()
driver.find_element_by_name("datedebut").send_keys(dateDebutAbsenceNonJustifiee)
driver.find_element_by_xpath("//input[@value='Supprimer les absences']").click()
driver = self.driver
driver.find_element_by_link_text("Liste").click()
self.wait.until(EC.url_changes(URL))
driver.find_element_by_id("afficher_Liste_Absence").click()
self.assertTrue("Pas d'absences justifiées" in driver.page_source)
self.assertTrue("Pas d'absences non justifiées" in driver.page_source)

View File

@ -1,5 +1,6 @@
import unittest
import time
import subprocess
import urllib.parse as urlparse
from setting import (
SCODOC_ADMIN_ID,
@ -10,6 +11,9 @@ from setting import (
SCODOC_ENS_PASS,
SCODOC_CHEF_ID,
SCODOC_CHEF_PASS,
NAVIGATEUR,
LINK_SCODOC_SERVER,
BASE_NOT_SECURED_URL,
)
from urllib.parse import parse_qs
from selenium import webdriver
@ -19,17 +23,23 @@ from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import Select, WebDriverWait
from selenium.webdriver.support.select import Select
urlMatiere = ""
URL_MATIERE = ""
# Prérequis
class PythonOrgSearch(unittest.TestCase):
# Permet de se connecter et se remettre sur la page d'accueil avant chaque test
def setUp(self):
if NAVIGATEUR == "firefox":
self.driver = webdriver.Firefox()
else:
self.driver = webdriver.Chrome()
self.url = BASE_URL + NOM_DPT + "/Scolarite"
self.wait = WebDriverWait(self.driver, 10)
self.driver.get(BASE_URL)
self.driver.find_element_by_id("utilisateur_Vue").click()
self.driver.find_element_by_id("name").send_keys(SCODOC_ENS_ID)
self.driver.find_element_by_id("password").send_keys(SCODOC_ENS_PASS)
self.driver.find_element_by_id("submit").click()
@ -256,4 +266,56 @@ class PythonOrgSearch(unittest.TestCase):
if __name__ == "__main__":
if NAVIGATEUR == "firefox":
driver = webdriver.Firefox()
else:
driver = webdriver.Chrome()
cmdProcess = ["./scriptCreationDepartement.sh", LINK_SCODOC_SERVER, NOM_DPT]
process = subprocess.Popen(cmdProcess)
process.wait()
cmdProcess = [
"./scriptExecution.sh",
LINK_SCODOC_SERVER,
NOM_DPT,
"test_scenario2_formation.py",
]
process = subprocess.Popen(cmdProcess)
process.wait()
time.sleep(5)
driver.get(
"https://"
+ SCODOC_ADMIN_ID
+ ":"
+ SCODOC_ADMIN_PASS
+ "@"
+ BASE_NOT_SECURED_URL
+ "force_admin_authentication"
)
driver.get(BASE_URL + NOM_DPT + "/Scolarite")
driver.find_element_by_id("utilisateurs_Vue").click()
time.sleep(5)
if SCODOC_CHEF_ID not in driver.page_source:
constructValue = "Ens" + NOM_DPT
driver.find_element_by_id("creer_Utilisateur").click()
driver.find_element_by_id("tf_nom").send_keys(SCODOC_CHEF_ID)
driver.find_element_by_id("tf_user_name").send_keys(SCODOC_CHEF_ID)
driver.find_element_by_id("tf_prenom").send_keys("chef")
driver.find_element_by_id("tf_passwd").send_keys(SCODOC_CHEF_PASS)
driver.find_element_by_id("tf_passwd2").send_keys(SCODOC_CHEF_PASS)
driver.find_element_by_xpath("//input[@value='" + constructValue + "']").click()
driver.find_element_by_xpath("//input[@value='force:list']").click()
driver.find_element_by_id("tf_submit").click()
driver.find_element_by_id("utilisateurs_Vue").click()
if SCODOC_ENS_ID not in driver.page_source:
constructValue = "Ens" + NOM_DPT
driver.find_element_by_id("creer_Utilisateur").click()
driver.find_element_by_id("tf_nom").send_keys(SCODOC_CHEF_ID)
driver.find_element_by_id("tf_user_name").send_keys(SCODOC_CHEF_ID)
driver.find_element_by_id("tf_prenom").send_keys("ens")
driver.find_element_by_id("tf_passwd").send_keys(SCODOC_CHEF_PASS)
driver.find_element_by_id("tf_passwd2").send_keys(SCODOC_CHEF_PASS)
driver.find_element_by_xpath("//input[@value='" + constructValue + "']").click()
driver.find_element_by_xpath("//input[@name='force:list']").click()
driver.find_element_by_id("tf_submit").click()
driver.find_element_by_id("utilisateurs_Vue").click()
unittest.main()

Binary file not shown.

View File

@ -1,395 +0,0 @@
1622186259317 geckodriver INFO Listening on 127.0.0.1:42579
1622186260311 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilef2AFYZ"
1622186265717 Marionette INFO Listening on port 43429
1622186265762 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
1622186270265 Marionette INFO Stopped listening on port 43429
1622186274047 geckodriver INFO Listening on 127.0.0.1:48697
1622186275051 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile2UxtxW"
1622186279542 Marionette INFO Listening on port 36227
1622186279641 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
1622186283606 Marionette INFO Stopped listening on port 36227
1622186289335 geckodriver INFO Listening on 127.0.0.1:35223
1622186290338 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileVAM3AQ"
1622186293302 Marionette INFO Listening on port 37095
1622186293343 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
1622186298944 Marionette INFO Stopped listening on port 37095
1622186302685 geckodriver INFO Listening on 127.0.0.1:45495
1622186303689 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofiledVYT9T"
1622186307091 Marionette INFO Listening on port 42191
1622186307165 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
1622186312426 Marionette INFO Stopped listening on port 42191
1622186318135 geckodriver INFO Listening on 127.0.0.1:35283
1622186319140 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile8krSzL"
1622186322224 Marionette INFO Listening on port 41713
1622186322313 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
1622186329559 Marionette INFO Stopped listening on port 41713
1622186545059 geckodriver INFO Listening on 127.0.0.1:33197
1622186546063 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileLpqLqn"
1622186550548 Marionette INFO Listening on port 38203
1622186550612 Marionette WARN TLS certificate errors will be ignored for this session
1622186550715 geckodriver INFO Listening on 127.0.0.1:45775
1622186551716 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilebpOIx2"
1622186557229 Marionette INFO Listening on port 45123
1622186557301 Marionette WARN TLS certificate errors will be ignored for this session
1622186557672 geckodriver INFO Listening on 127.0.0.1:43173
1622186558676 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileSPDL3D"
1622186564571 Marionette INFO Listening on port 39439
1622186564650 Marionette WARN TLS certificate errors will be ignored for this session
1622186564730 geckodriver INFO Listening on 127.0.0.1:44127
1622186565732 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileRnPRMs"
1622186573361 Marionette INFO Listening on port 38141
1622186573431 Marionette WARN TLS certificate errors will be ignored for this session
1622186591555 geckodriver INFO Listening on 127.0.0.1:47563
1622186592560 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileSzj9ZS"
1622186596712 Marionette INFO Listening on port 35305
1622186596734 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
1622186598996 geckodriver INFO Listening on 127.0.0.1:58387
1622186599999 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileX33Mt8"
1622186605847 Marionette INFO Listening on port 32997
1622186605865 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
1622186608294 geckodriver INFO Listening on 127.0.0.1:45867
1622186609283 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile7LvtPA"
1622186615254 Marionette INFO Listening on port 35907
1622186615350 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
1622186617594 geckodriver INFO Listening on 127.0.0.1:46863
1622186618589 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileWJ8Uj7"
1622186623497 Marionette INFO Listening on port 42093
1622186623558 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
1622186661393 geckodriver INFO Listening on 127.0.0.1:55113
1622186662397 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileZwYJA6"
1622186666737 Marionette INFO Listening on port 39173
1622186666757 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
1622186669027 Marionette INFO Stopped listening on port 39173
1622186672913 geckodriver INFO Listening on 127.0.0.1:57481
1622186673916 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilem4SWHK"
1622186678527 Marionette INFO Listening on port 38413
1622186678620 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
1622186682865 Marionette INFO Stopped listening on port 38413
1622186690473 geckodriver INFO Listening on 127.0.0.1:55973
1622186691478 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilegeIu4j"
1622186696075 Marionette INFO Listening on port 40931
1622186696180 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
1622186698423 Marionette INFO Stopped listening on port 40931
1622186707080 geckodriver INFO Listening on 127.0.0.1:46479
1622186708083 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileBFJozT"
1622186714106 Marionette INFO Listening on port 35383
1622186714217 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
1622186716872 Marionette INFO Stopped listening on port 35383
1622186742174 Marionette INFO Stopped listening on port 42093
1622186742561 Marionette INFO Stopped listening on port 35907
1622186742904 Marionette INFO Stopped listening on port 32997
1622186743270 Marionette INFO Stopped listening on port 35305
1622186743617 Marionette INFO Stopped listening on port 38141
1622186743993 Marionette INFO Stopped listening on port 39439
1622186744380 Marionette INFO Stopped listening on port 45123
1622186744846 Marionette INFO Stopped listening on port 38203
1622186802625 geckodriver INFO Listening on 127.0.0.1:57427
1622186803629 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileXwAOJ3"
1622186807283 Marionette INFO Listening on port 34473
1622186807337 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
1622186808562 geckodriver INFO Listening on 127.0.0.1:34519
1622186809563 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileJ9ZXXv"
1622186812643 Marionette INFO Listening on port 37927
1622186812729 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
1622186814572 geckodriver INFO Listening on 127.0.0.1:36187
1622186815573 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile6Xco4n"
console.warn: services.settings: main/fxmonitor-breaches sync interrupted by shutdown
console.warn: services.settings: main/cfr-fxa sync interrupted by shutdown
console.warn: services.settings: main/cfr sync interrupted by shutdown
console.warn: services.settings: main/whats-new-panel sync interrupted by shutdown
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
JavaScript error: , line 0: uncaught exception: 2147500036
console.error: Region.jsm: "Failed to fetch region" (new TypeError("NetworkError when attempting to fetch resource.", ""))
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
1622186842357 geckodriver INFO Listening on 127.0.0.1:38823
1622186843361 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileorjqIE"
1622186847029 Marionette INFO Listening on port 42897
1622186847061 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
1622186848632 geckodriver INFO Listening on 127.0.0.1:52273
1622186849633 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile91vRiU"
1622186853850 Marionette INFO Listening on port 46499
1622186853930 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
1622186855218 geckodriver INFO Listening on 127.0.0.1:37941
1622186856221 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileq9cshH"
1622186861785 Marionette INFO Listening on port 42451
1622186861857 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
1622186863554 geckodriver INFO Listening on 127.0.0.1:33817
1622186864557 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileErtI5V"
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
1622186892262 geckodriver INFO Listening on 127.0.0.1:47883
1622186893265 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilew6Km3x"
1622186896436 Marionette INFO Listening on port 45197
1622186896468 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
1622186899388 Marionette INFO Stopped listening on port 45197
1622186906201 geckodriver INFO Listening on 127.0.0.1:34105
1622186907205 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilevlK0Vf"
1622186910918 Marionette INFO Listening on port 33933
1622186910997 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
1622186913332 Marionette INFO Stopped listening on port 33933
1622186923307 geckodriver INFO Listening on 127.0.0.1:33083
1622186924309 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilenBj3Zf"
1622186928492 Marionette INFO Listening on port 42949
1622186928503 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
1622186931193 Marionette INFO Stopped listening on port 42949
1622186936039 geckodriver INFO Listening on 127.0.0.1:34407
1622186937037 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilePADAJ7"
1622186980162 geckodriver INFO Listening on 127.0.0.1:45109
1622186981167 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilefr7Pio"
1622186984682 Marionette INFO Listening on port 34715
1622186984773 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
1622186987326 Marionette INFO Stopped listening on port 34715
1622186993114 geckodriver INFO Listening on 127.0.0.1:48811
1622186994119 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilevs7QOK"
1622186997318 Marionette INFO Listening on port 39291
1622186997381 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
1622186999828 Marionette INFO Stopped listening on port 39291
1622187005686 geckodriver INFO Listening on 127.0.0.1:55329
1622187006688 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileogulpS"
1622187009799 Marionette INFO Listening on port 39623
1622187009856 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
1622187012719 Marionette INFO Stopped listening on port 39623
1622187018776 geckodriver INFO Listening on 127.0.0.1:43085
1622187019776 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileSe7VIs"
1622187024138 Marionette INFO Listening on port 44657
1622187024184 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
1622187026894 Marionette INFO Stopped listening on port 44657
1622191319138 geckodriver INFO Listening on 127.0.0.1:49439
1622191320141 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileaPM0T9"
1622191324486 Marionette INFO Listening on port 43729
1622191324575 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
1622191326128 Marionette INFO Stopped listening on port 43729
1622191334800 geckodriver INFO Listening on 127.0.0.1:40511
1622191335799 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileruqvpl"
1622191338995 Marionette INFO Listening on port 38959
1622191339078 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
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc//create_dept?DeptId=TESTCREATEDPT, line 52: ReferenceError: $ is not defined
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
1622191342860 Marionette INFO Stopped listening on port 38959
1622191352748 geckodriver INFO Listening on 127.0.0.1:52757
1622191353751 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileLKH6cl"
1622191356881 Marionette INFO Listening on port 42555
1622191356977 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
JavaScript error: https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/static/js/scodoc.js, line 97: TypeError: $(...).DataTable is not a function
1622191362906 Marionette INFO Stopped listening on port 42555
1622205483020 geckodriver INFO Listening on 127.0.0.1:54941
1622205484031 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileeUVEXa"
1622205489717 Marionette INFO Listening on port 42739
1622205489766 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
1622205492277 Marionette INFO Stopped listening on port 42739
1622205498525 geckodriver INFO Listening on 127.0.0.1:49091
1622205499528 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilexbY2sF"
1622205505658 Marionette INFO Listening on port 46537
1622205505730 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
1622205509819 Marionette INFO Stopped listening on port 46537
1622205515952 geckodriver INFO Listening on 127.0.0.1:39363
1622205516955 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile9iMUkl"
1622206710154 geckodriver INFO Listening on 127.0.0.1:34801
1622206711161 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilexhkxMI"
1622206716770 Marionette INFO Listening on port 33089
1622206716833 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
1622206724804 Marionette INFO Stopped listening on port 33089
1622206729051 geckodriver INFO Listening on 127.0.0.1:60621
1622206730055 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileqNyCJw"
1622206737982 Marionette INFO Listening on port 33745
1622206738273 Marionette WARN TLS certificate errors will be ignored for this session
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
1622206747670 geckodriver INFO Listening on 127.0.0.1:39959
1622206748680 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileaAi7WN"
1622206754538 Marionette INFO Listening on port 39151
1622206754615 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
1622206762393 Marionette INFO Stopped listening on port 39151
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
1622206775886 geckodriver INFO Listening on 127.0.0.1:55963
1622206776892 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileCxSKyB"
1622206782352 Marionette INFO Listening on port 46069
1622206782419 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
1622206790174 Marionette INFO Stopped listening on port 46069
1622206796204 geckodriver INFO Listening on 127.0.0.1:59153
1622206797212 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileXVDIFH"
1622206807411 Marionette INFO Listening on port 45653
1622206807435 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
1622206809694 Marionette INFO Stopped listening on port 45653
1622206814794 geckodriver INFO Listening on 127.0.0.1:60519
1622206815799 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofiles2MJM7"
1622206821986 Marionette INFO Listening on port 33995
1622206822087 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
1622206824274 Marionette INFO Stopped listening on port 33995
1622206829637 geckodriver INFO Listening on 127.0.0.1:35571
1622206830641 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileLtUuLq"
1622206835522 Marionette INFO Listening on port 44709
1622206835567 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
1622206838001 Marionette INFO Stopped listening on port 44709
1622206842460 geckodriver INFO Listening on 127.0.0.1:53227
1622206843463 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileXyam4d"
1622206850269 Marionette INFO Listening on port 46299
1622206850335 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
1622206852466 Marionette INFO Stopped listening on port 46299
1622206863820 geckodriver INFO Listening on 127.0.0.1:60781
1622206864825 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileKrmRnW"
1622206873140 Marionette INFO Listening on port 40863
1622206873233 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
1622206882433 Marionette INFO Stopped listening on port 40863
1622206888823 geckodriver INFO Listening on 127.0.0.1:53273
1622206903581 geckodriver INFO Listening on 127.0.0.1:57285
1622206904587 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileT0zuhO"
1622206909724 Marionette INFO Listening on port 44005
1622206909798 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
1622206933528 Marionette INFO Stopped listening on port 44005
1622206938811 geckodriver INFO Listening on 127.0.0.1:37617
1622206939819 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileyoTAV3"
1622206948437 Marionette INFO Listening on port 42345
1622206948524 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
1622206953687 Marionette INFO Stopped listening on port 42345
1622206960415 geckodriver INFO Listening on 127.0.0.1:60275
1622206961419 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileDiEFxY"
1622206969682 Marionette INFO Listening on port 35179
1622206969750 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
1622206972558 Marionette INFO Stopped listening on port 35179
1622206977724 geckodriver INFO Listening on 127.0.0.1:57095
1622206978729 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileXmRdjr"
1622206984200 Marionette INFO Listening on port 34529
1622206984274 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
1622206986542 Marionette INFO Stopped listening on port 34529
1622206992958 geckodriver INFO Listening on 127.0.0.1:38837
1622206993963 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile4oaVIK"
1622207000008 Marionette INFO Listening on port 43471
1622207000131 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
1622207002499 Marionette INFO Stopped listening on port 43471
1622207155263 geckodriver INFO Listening on 127.0.0.1:49933
1622207156273 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileHx2FXE"
1622207161308 Marionette INFO Listening on port 40463
1622207161332 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
1622207175305 Marionette INFO Stopped listening on port 40463
1622207179420 geckodriver INFO Listening on 127.0.0.1:56133
1622207180427 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile8jnMAs"
1622207186915 Marionette INFO Listening on port 44071
1622207187011 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
1622207188989 Marionette INFO Stopped listening on port 44071
1622207196431 geckodriver INFO Listening on 127.0.0.1:33769
1622207197438 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileHW6v14"
1622207206010 Marionette INFO Listening on port 46133
1622207206134 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
1622207209025 Marionette INFO Stopped listening on port 46133
1622207214528 geckodriver INFO Listening on 127.0.0.1:45309
1622207215535 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileJnDAuT"
1622207220319 Marionette INFO Listening on port 34771
1622207220381 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
1622207222622 Marionette INFO Stopped listening on port 34771
1622207227746 geckodriver INFO Listening on 127.0.0.1:37159
1622207228753 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilesJwAmt"
1622207233500 Marionette INFO Listening on port 37969
1622207233561 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
1622207235617 Marionette INFO Stopped listening on port 37969
1622207272128 geckodriver INFO Listening on 127.0.0.1:54289
1622207273142 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileoNdcVK"
1622207278259 Marionette INFO Listening on port 44937
1622207278296 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
1622207287219 Marionette INFO Stopped listening on port 44937
1622207293376 geckodriver INFO Listening on 127.0.0.1:48203
1622207294381 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileZQloln"
1622207300111 Marionette INFO Listening on port 41337
1622207300167 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
1622207303377 Marionette INFO Stopped listening on port 41337
1622207309642 geckodriver INFO Listening on 127.0.0.1:38913
1622207310645 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileGyPryI"
1622207316331 Marionette INFO Listening on port 42375
1622207316360 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
1622207319397 Marionette INFO Stopped listening on port 42375
1622207321607 geckodriver INFO Listening on 127.0.0.1:34577
1622207322611 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofiled1gacX"
1622207327997 Marionette INFO Listening on port 39447
1622207328050 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
1622207330947 Marionette INFO Stopped listening on port 39447
1622207337207 geckodriver INFO Listening on 127.0.0.1:49735
1622207338211 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileue1wRw"
1622207343783 Marionette INFO Listening on port 44837
1622207343849 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
1622207346967 Marionette INFO Stopped listening on port 44837

View File

@ -1,12 +0,0 @@
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Firefox()
driver.get("http://www.python.org")
assert "Python" in driver.title
elem = driver.find_element_by_name("q")
elem.clear()
elem.send_keys("pycon")
elem.send_keys(Keys.RETURN)
assert "No results found." not in driver.page_source
driver.close()

View File

@ -0,0 +1,9 @@
I Configuration
Environnement de test :
Editer le .envmodel pour remplacer les différentes informations qui permettent d'intéragir avec Scodoc (attention au / dans les liens, il y a des exemples)
Renommer le fichier en .env
Les tests sont prévus pour fonctionner avec firefox, le webdriver (geckodriver) est intégré dans le projet pour éviter de devoir l'installer manuellement
Les tests sont prévus pour fonctionner en python 3 avec unit test

View File

@ -15,3 +15,4 @@ SCODOC_CHEF_ID = os.environ.get("SCODOC_CHEF_ID")
SCODOC_CHEF_PASS = os.environ.get("SCODOC_CHEF_PASS")
LINK_SCODOC_SERVER = os.environ.get("LINK_SCODOC_SERVER")
BASE_NOT_SECURED_URL = os.environ.get("BASE_NOT_SECURED_URL")
NAVIGATEUR = os.environ.get("NAVIGATEUR")

View File

@ -1,10 +0,0 @@
BASE_URL = "https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/"
NOM_DPT = "test01"
SCODOC_ADMIN_ID = "admin"
SCODOC_ADMIN_PASS = "root_pass_42"
SCODOC_ENS_ID = "enseignantUS"
SCODOC_ENS_PASS = "enseignant@"
SCODOC_CHEF_ID = "chefdesetudesUS"
SCODOC_CHEF_PASS = "passwordUS42"
LINK_SCODOC_SERVER = "root@scodoc-dev-iutinfo.univ-lille.fr"
BASE_NOT_SECURED_URL = "scodoc-dev-iutinfo.univ-lille.fr/"