Added Chrome/IE support for a selenium test.

This commit is contained in:
Tim Graham 2014-07-16 10:52:49 -04:00
parent c5d8e4a0d1
commit 5954aa6db0
1 changed files with 8 additions and 0 deletions

View File

@ -244,3 +244,11 @@ class JavascriptI18nTests(LiveServerTestCase):
self.assertEqual(elem.text, "1 Resultat") self.assertEqual(elem.text, "1 Resultat")
elem = self.selenium.find_element_by_id("npgettext_plur") elem = self.selenium.find_element_by_id("npgettext_plur")
self.assertEqual(elem.text, "455 Resultate") 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'