1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #14402 -- Removed clearing of help_text for ManyToManyField's raw_id_fields.

This commit is contained in:
Alexander Gaevsky
2016-01-29 23:21:21 +02:00
committed by Tim Graham
parent 9644e2e968
commit c79852acee
3 changed files with 12 additions and 2 deletions

View File

@@ -1255,6 +1255,12 @@ class AdminRawIdWidgetSeleniumFirefoxTests(SeleniumDataMixin, AdminSeleniumWebDr
self.selenium.find_element_by_id('id_supporting_bands').get_attribute('value'),
'')
# Help text for the field is displayed
self.assertEqual(
self.selenium.find_element_by_css_selector('.field-supporting_bands p.help').text,
'Supporting Bands.'
)
# Open the popup window and click on a band
self.selenium.find_element_by_id('lookup_id_supporting_bands').click()
self.wait_for_popup()