From 863111ac573ca075d3c42882d5a7046d22e65765 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 28 Sep 2020 12:15:32 +0200 Subject: [PATCH] e2e: fix oauth1 tests --- e2e/test_source_oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()