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:
Hang
2026-08-23 21:23:39 +01:00
parent 0a014e21bf
commit 8d5d0664e5
17 changed files with 1329 additions and 3931 deletions

View File

@@ -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