Updated Select2 to version 4.0.7.

This commit is contained in:
Johannes Hoppe 2019-07-10 12:31:16 +02:00 committed by Carlton Gibson
parent ed668796f6
commit 00d4e6f8b5
67 changed files with 451 additions and 252 deletions

View file

@ -189,6 +189,7 @@ class SeleniumTests(AdminSeleniumTestCase):
self.assertEqual(len(results), PAGINATOR_SIZE + 11)
# Limit the results with the search field.
search.send_keys('Who')
self.assertTrue(result_container.is_displayed())
results = result_container.find_elements_by_css_selector('.select2-results__option')
self.assertEqual(len(results), 1)
# Select the result.
@ -222,6 +223,7 @@ class SeleniumTests(AdminSeleniumTestCase):
self.assertEqual(len(results), 31)
# Limit the results with the search field.
search.send_keys('Who')
self.assertTrue(result_container.is_displayed())
results = result_container.find_elements_by_css_selector('.select2-results__option')
self.assertEqual(len(results), 1)
# Select the result.