tests: update e2e tests for SPA

This commit is contained in:
Jens Langhammer
2020-11-23 14:24:42 +01:00
parent 401359a73f
commit 34f54a96cf
8 changed files with 69 additions and 97 deletions

View File

@ -21,7 +21,5 @@ class TestFlowsLogin(SeleniumTestCase):
self.driver.find_element(By.ID, "id_uid_field").send_keys(Keys.ENTER)
self.driver.find_element(By.ID, "id_password").send_keys(USER().username)
self.driver.find_element(By.ID, "id_password").send_keys(Keys.ENTER)
self.assertEqual(
self.driver.find_element(By.ID, "user-settings").text,
USER().username,
)
self.wait_for_url(self.shell_url("passbook_core:overview"))
self.assert_user(USER())