e2e: further cleanup tests, directly navigate to user-settings instead of click

This commit is contained in:
Jens Langhammer
2020-09-29 00:27:58 +02:00
parent e54b98a80e
commit 5da4ff4ff1
6 changed files with 14 additions and 26 deletions

View File

@ -131,7 +131,7 @@ class TestSourceSAML(SeleniumTestCase):
# Wait until we're logged in
self.wait.until(ec.presence_of_element_located((By.ID, "user-settings")))
self.driver.find_element(By.ID, "user-settings").click()
self.driver.get(self.url("passbook_core:user-settings"))
# Wait until we've loaded the user info page
self.wait.until(ec.presence_of_element_located((By.ID, "id_username")))
@ -180,7 +180,7 @@ class TestSourceSAML(SeleniumTestCase):
# Wait until we're logged in
self.wait.until(ec.presence_of_element_located((By.ID, "user-settings")))
self.driver.find_element(By.ID, "user-settings").click()
self.driver.get(self.url("passbook_core:user-settings"))
# Wait until we've loaded the user info page
self.wait.until(ec.presence_of_element_located((By.ID, "id_username")))
@ -227,7 +227,7 @@ class TestSourceSAML(SeleniumTestCase):
# Wait until we're logged in
self.wait.until(ec.presence_of_element_located((By.ID, "user-settings")))
self.driver.find_element(By.ID, "user-settings").click()
self.driver.get(self.url("passbook_core:user-settings"))
# Wait until we've loaded the user info page
self.wait.until(ec.presence_of_element_located((By.ID, "id_username")))