e2e: fix oauth1 tests
This commit is contained in:
parent
bd78087582
commit
863111ac57
|
@ -315,10 +315,10 @@ class TestSourceOAuth1(SeleniumTestCase):
|
||||||
self.wait.until(
|
self.wait.until(
|
||||||
ec.presence_of_element_located((By.CSS_SELECTOR, "[name='confirm']"))
|
ec.presence_of_element_located((By.CSS_SELECTOR, "[name='confirm']"))
|
||||||
)
|
)
|
||||||
sleep(1)
|
|
||||||
self.driver.find_element(By.CSS_SELECTOR, "[name='confirm']").click()
|
self.driver.find_element(By.CSS_SELECTOR, "[name='confirm']").click()
|
||||||
|
|
||||||
# Wait until we've loaded the user info page
|
# 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.wait.until(ec.presence_of_element_located((By.LINK_TEXT, "example-user")))
|
||||||
self.driver.find_element(By.LINK_TEXT, "example-user").click()
|
self.driver.find_element(By.LINK_TEXT, "example-user").click()
|
||||||
|
|
||||||
|
|
Reference in New Issue