Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
c97db92f48 |
@ -146,7 +146,9 @@ class PythonOrgSearch(unittest.TestCase):
|
||||
def test_05_suppresion_etudiant(self):
|
||||
driver = self.driver
|
||||
urlRecherche = (
|
||||
"https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/"
|
||||
"https://"
|
||||
+ BASE_NOT_SECURED_URL
|
||||
+ "ScoDoc/"
|
||||
+ NOM_DPT
|
||||
+ "/Scolarite/search_etud_in_dept"
|
||||
)
|
||||
@ -157,7 +159,9 @@ class PythonOrgSearch(unittest.TestCase):
|
||||
time.sleep(1)
|
||||
etudid = driver.find_element_by_id("euid")
|
||||
url = (
|
||||
"https://scodoc-dev-iutinfo.univ-lille.fr/ScoDoc/"
|
||||
"https://"
|
||||
+ BASE_NOT_SECURED_URL
|
||||
+ "ScoDoc/"
|
||||
+ NOM_DPT
|
||||
+ "/Scolarite/etudident_delete?etudid="
|
||||
+ etudid.text
|
||||
|
@ -171,7 +171,9 @@ class PythonOrgSearch(unittest.TestCase):
|
||||
+ SCODOC_ADMIN_ID
|
||||
+ ":"
|
||||
+ SCODOC_ADMIN_PASS
|
||||
+ "@scodoc-dev-iutinfo.univ-lille.fr/force_admin_authentication"
|
||||
+ "@"
|
||||
+ BASE_NOT_SECURED_URL
|
||||
+ "force_admin_authentication"
|
||||
)
|
||||
# driver.get(BASE_URL)
|
||||
# driver.find_element_by_link_text("déconnecter").click()
|
||||
|
Binary file not shown.
@ -91,3 +91,12 @@ Celui ci est lancé automatiquement à la fin du script
|
||||
>./lancement_de_tout_les_tests.sh
|
||||
|
||||
Vous y retrouverez les liens menant au détails de chaque rapport ainsi qu'un résumé du nombre de test passés/échoués
|
||||
|
||||
##Correctifs
|
||||
|
||||
* Modifier le PATH pour que geckodriver soit executable `export PATH=".:$PATH"`
|
||||
|
||||
* pip install HtmlTestRunner-Python3
|
||||
|
||||
* Créer un utilisateur Nom:BACH Prenom:Test User:Bach
|
||||
|
||||
|
@ -9,4 +9,4 @@ ssh $1 /bin/bash<< EOF
|
||||
cd /opt/scodoc/Products/ScoDoc/config
|
||||
./delete_dept.sh -n ${2}
|
||||
EOF
|
||||
ssh $1 'systemctl restart ScoDoc.service'
|
||||
ssh $1 'systemctl restart scodoc'
|
||||
|
@ -9,4 +9,4 @@ ssh $1 /bin/bash<< EOF
|
||||
cd /opt/scodoc/Products/ScoDoc/
|
||||
scotests/scointeractive.sh -r ${2} scotests/${3}
|
||||
EOF
|
||||
ssh $1 'systemctl restart ScoDoc.service'
|
||||
ssh $1 'systemctl restart scodoc'
|
||||
|
Loading…
Reference in New Issue
Block a user