e2e: fix oauth1 tests

This commit is contained in:
Jens Langhammer 2020-09-28 12:15:32 +02:00
parent bd78087582
commit 863111ac57

View file

@ -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()