mirror of
https://github.com/django/django.git
synced 2025-08-02 18:13:02 +00:00
Updated Select2 to version 4.0.7.
This commit is contained in:
parent
ed668796f6
commit
00d4e6f8b5
67 changed files with 451 additions and 252 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue