Added Chrome/IE support for a selenium test.
This commit is contained in:
parent
c5d8e4a0d1
commit
5954aa6db0
|
@ -244,3 +244,11 @@ class JavascriptI18nTests(LiveServerTestCase):
|
|||
self.assertEqual(elem.text, "1 Resultat")
|
||||
elem = self.selenium.find_element_by_id("npgettext_plur")
|
||||
self.assertEqual(elem.text, "455 Resultate")
|
||||
|
||||
|
||||
class JavascriptI18nChromeTests(JavascriptI18nTests):
|
||||
webdriver_class = 'selenium.webdriver.chrome.webdriver.WebDriver'
|
||||
|
||||
|
||||
class JavascriptI18nIETests(JavascriptI18nTests):
|
||||
webdriver_class = 'selenium.webdriver.ie.webdriver.WebDriver'
|
||||
|
|
Loading…
Reference in New Issue