diff --git a/e2e/test_source_oauth.py b/e2e/test_source_oauth.py index 1eb86ecfa..bbb2367e5 100644 --- a/e2e/test_source_oauth.py +++ b/e2e/test_source_oauth.py @@ -315,10 +315,10 @@ class TestSourceOAuth1(SeleniumTestCase): self.wait.until( ec.presence_of_element_located((By.CSS_SELECTOR, "[name='confirm']")) ) - sleep(1) self.driver.find_element(By.CSS_SELECTOR, "[name='confirm']").click() # Wait until we've loaded the user info page + sleep(1) self.wait.until(ec.presence_of_element_located((By.LINK_TEXT, "example-user"))) self.driver.find_element(By.LINK_TEXT, "example-user").click()