mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Refs #26048 -- Fixed a flaky i18n selenium test: test_javascript_gettext.
This commit is contained in:
parent
7f7553dd30
commit
b2cddeaaf4
@ -277,6 +277,7 @@ class JavascriptI18nTests(LiveServerTestCase):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise unittest.SkipTest('Selenium webdriver "%s" not installed or '
|
raise unittest.SkipTest('Selenium webdriver "%s" not installed or '
|
||||||
'not operational: %s' % (cls.webdriver_class, str(e)))
|
'not operational: %s' % (cls.webdriver_class, str(e)))
|
||||||
|
cls.selenium.implicitly_wait(10)
|
||||||
super(JavascriptI18nTests, cls).setUpClass()
|
super(JavascriptI18nTests, cls).setUpClass()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user