From 3ffed279d744ddd7719c24b395779ec2f8ccbb20 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 23 Jul 2020 11:04:59 +0200 Subject: [PATCH] e2e: fix flow setup stage test not finding link --- e2e/test_flows_stage_setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/test_flows_stage_setup.py b/e2e/test_flows_stage_setup.py index ca32a99d2..14b2e2576 100644 --- a/e2e/test_flows_stage_setup.py +++ b/e2e/test_flows_stage_setup.py @@ -29,6 +29,7 @@ class TestFlowsStageSetup(SeleniumTestCase): self.driver.find_element(By.ID, "id_password").send_keys(Keys.ENTER) self.driver.find_element(By.CSS_SELECTOR, ".pf-c-page__header").click() self.driver.find_element(By.XPATH, "//a[contains(@href, '/-/user/')]").click() + self.wait_for_url(self.url("passbook_core:user-settings")) self.driver.find_element(By.LINK_TEXT, "Change password").click() self.driver.find_element(By.ID, "id_password").send_keys(new_password) self.driver.find_element(By.ID, "id_password_repeat").click()