Increase selenium test timeouts
This commit is contained in:
parent
76c4a6bb7c
commit
077d9d3918
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ class WaitForPageLoad(object):
|
|||
self.old_page = self.browser.find_element_by_tag_name('html')
|
||||
|
||||
def __exit__(self, *args):
|
||||
WebDriverWait(self.browser, 5).until(staleness_of(self.old_page))
|
||||
WebDriverWait(self.browser, 10).until(staleness_of(self.old_page))
|
||||
|
||||
|
||||
def wget(url):
|
||||
|
@ -55,7 +55,7 @@ class TestWeb:
|
|||
|
||||
def testLinkSecurity(self, browser, site_url):
|
||||
browser.get("%s/1EU1tbG9oC1A8jz2ouVwGZyQ5asrNsE4Vr/test/security.html" % site_url)
|
||||
WebDriverWait(browser, 5).until(title_is("ZeroHello - ZeroNet"))
|
||||
WebDriverWait(browser, 10).until(title_is("ZeroHello - ZeroNet"))
|
||||
assert browser.current_url == "%s/1EU1tbG9oC1A8jz2ouVwGZyQ5asrNsE4Vr/test/security.html" % site_url
|
||||
|
||||
# Switch to inner frame
|
||||
|
|
Loading…
Reference in a new issue