mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-10-03 02:55:45 +00:00
fix(dependencies+tests): update EoL/vulnerable dependencies and improve test stability
* Upgrade Python from 3.10 to 3.12 * Update frontend dependencies, replace node-sass with sass
This commit is contained in:
@@ -70,6 +70,7 @@ class UserRegistrationTest(LiveServerTestCase):
|
||||
# Submit incorrect form
|
||||
submit = self.browser.find_element(By.XPATH, "//input[@type='submit']")
|
||||
submit.click()
|
||||
time.sleep(2)
|
||||
|
||||
# Restablish error fields
|
||||
password1 = self.browser.find_element(By.ID, 'id_password1')
|
||||
@@ -145,6 +146,7 @@ class UserRegistrationTest(LiveServerTestCase):
|
||||
password = self.browser.find_element(By.ID, 'id_password')
|
||||
password.send_keys('correcthorsebatterystaple')
|
||||
password.send_keys(Keys.ENTER)
|
||||
time.sleep(2)
|
||||
|
||||
# Check we are logged in
|
||||
udd = self.browser.find_element(By.CLASS_NAME, 'navbar').text
|
||||
|
||||
Reference in New Issue
Block a user