mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Updated Select2 to version 4.0.7.
This commit is contained in:
committed by
Carlton Gibson
parent
ed668796f6
commit
00d4e6f8b5
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user