Merge pull request #481 from epicserve/testing_docs_update
Added timeout local to selenium sample test The timeout variable wasn't defined, which was a little confusing.
This commit is contained in:
commit
9bf0eedba5
|
@ -2084,6 +2084,7 @@ out the `full reference`_ for more details.
|
||||||
|
|
||||||
def test_login(self):
|
def test_login(self):
|
||||||
from selenium.webdriver.support.wait import WebDriverWait
|
from selenium.webdriver.support.wait import WebDriverWait
|
||||||
|
timeout = 2
|
||||||
...
|
...
|
||||||
self.selenium.find_element_by_xpath('//input[@value="Log in"]').click()
|
self.selenium.find_element_by_xpath('//input[@value="Log in"]').click()
|
||||||
# Wait until the response is received
|
# Wait until the response is received
|
||||||
|
|
Loading…
Reference in New Issue