mirror of
https://github.com/django/django.git
synced 2025-10-29 16:46:11 +00:00
Fixed #34619 -- Associated FilteredSelectMultiple elements to their label and help text.
This commit is contained in:
@@ -162,7 +162,7 @@ class SeleniumTests(AdminSeleniumTestCase):
|
||||
|
||||
# Move the new value to the from box.
|
||||
self.selenium.find_element(By.XPATH, "//*[@id='id_m2m_to']/option").click()
|
||||
self.selenium.find_element(By.XPATH, "//*[@id='id_m2m_remove_link']").click()
|
||||
self.selenium.find_element(By.XPATH, "//*[@id='id_m2m_remove']").click()
|
||||
|
||||
self.assertHTMLEqual(
|
||||
m2m_box.get_attribute("innerHTML"),
|
||||
@@ -172,7 +172,7 @@ class SeleniumTests(AdminSeleniumTestCase):
|
||||
|
||||
# Move the new value to the to box.
|
||||
self.selenium.find_element(By.XPATH, "//*[@id='id_m2m_from']/option").click()
|
||||
self.selenium.find_element(By.XPATH, "//*[@id='id_m2m_add_link']").click()
|
||||
self.selenium.find_element(By.XPATH, "//*[@id='id_m2m_add']").click()
|
||||
|
||||
self.assertHTMLEqual(m2m_box.get_attribute("innerHTML"), "")
|
||||
self.assertHTMLEqual(
|
||||
|
||||
Reference in New Issue
Block a user