Updated tests for new version of selenium
All checks were successful
Run tests / Execute tox to run the test suite (push) Successful in 2m2s
Run tests every night at 05:05 / Execute tox to run the test suite (push) Successful in 2m46s

This commit is contained in:
2024-08-29 14:09:44 +02:00
parent af838d8fb6
commit 8a766c760d
4 changed files with 128 additions and 128 deletions

View File

@@ -9,7 +9,7 @@ class SeleniumAuthMixin:
username_field = self.wait_on_presence(driver, (By.ID, 'id_username'))
username_field.clear()
username_field.send_keys(username)
password_field = driver.find_element_by_id('id_password')
password_field = driver.find_element(By.ID, 'id_password')
password_field.clear()
password_field.send_keys(password)
password_field.send_keys(Keys.RETURN)