mirror of
https://github.com/django/django.git
synced 2025-09-22 10:12:43 +00:00
The timeout variable wasn't defined, which was a little confusing.
This commit is contained in:
parent
08cf54990a
commit
d55c54a5da
1 changed files with 1 additions and 0 deletions
|
@ -2084,6 +2084,7 @@ out the `full reference`_ for more details.
|
|||
|
||||
def test_login(self):
|
||||
from selenium.webdriver.support.wait import WebDriverWait
|
||||
timeout = 2
|
||||
...
|
||||
self.selenium.find_element_by_xpath('//input[@value="Log in"]').click()
|
||||
# Wait until the response is received
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue