tests: fix URLs to use user-details instead of user-settings

This commit is contained in:
Jens Langhammer
2020-12-13 00:48:46 +01:00
parent 96f0d582f0
commit d4c9c667c9
3 changed files with 6 additions and 12 deletions

View File

@ -142,7 +142,7 @@ class TestSourceOAuth2(SeleniumTestCase):
# Wait until we've logged in
self.wait_for_url(self.shell_url("authentik_core:overview"))
self.driver.get(self.url("authentik_core:user-settings"))
self.driver.get(self.url("authentik_core:user-details"))
self.assertEqual(
self.driver.find_element(By.ID, "id_username").get_attribute("value"), "foo"
@ -224,7 +224,7 @@ class TestSourceOAuth2(SeleniumTestCase):
# Wait until we've logged in
self.wait_for_url(self.shell_url("authentik_core:overview"))
self.driver.get(self.url("authentik_core:user-settings"))
self.driver.get(self.url("authentik_core:user-details"))
self.assertEqual(
self.driver.find_element(By.ID, "id_username").get_attribute("value"), "foo"
@ -317,7 +317,7 @@ class TestSourceOAuth1(SeleniumTestCase):
sleep(2)
# Wait until we've logged in
self.wait_for_url(self.shell_url("authentik_core:overview"))
self.driver.get(self.url("authentik_core:user-settings"))
self.driver.get(self.url("authentik_core:user-details"))
self.assertEqual(
self.driver.find_element(By.ID, "id_username").get_attribute("value"),