stages/identification: move user validation to serializer

This commit is contained in:
Jens Langhammer
2021-02-20 20:16:20 +01:00
parent 8787dc23d0
commit 33f67140f2
4 changed files with 27 additions and 17 deletions

View File

@ -87,9 +87,7 @@ class TestFlowsEnroll(SeleniumTestCase):
FlowStageBinding.objects.create(target=flow, stage=user_login, order=3)
self.driver.get(self.live_server_url)
self.wait.until(
ec.presence_of_element_located((By.CSS_SELECTOR, "#enroll"))
)
self.wait.until(ec.presence_of_element_located((By.CSS_SELECTOR, "#enroll")))
self.driver.find_element(By.CSS_SELECTOR, "#enroll").click()
self.wait.until(ec.presence_of_element_located((By.ID, "id_username")))