summaryrefslogtreecommitdiff
path: root/tests/admin_views/test_related_object_lookups.py
diff options
context:
space:
mode:
authorGappleBee <irrationalmathematicspro7@gmail.com>2024-10-24 19:44:31 +0100
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-11-20 13:23:18 +0100
commit857b1048d53ebf5fc5581c110e85c212b81ca83a (patch)
tree160d5e34509f0491da39358d1061c69a92d03cea /tests/admin_views/test_related_object_lookups.py
parentf60d5e46e131b94d6ecc92b6891689ccc94bd1c9 (diff)
Fixed #34619 -- Associated FilteredSelectMultiple elements to their label and help text.
Diffstat (limited to 'tests/admin_views/test_related_object_lookups.py')
-rw-r--r--tests/admin_views/test_related_object_lookups.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/admin_views/test_related_object_lookups.py b/tests/admin_views/test_related_object_lookups.py
index 4b2171a09f..b591117460 100644
--- a/tests/admin_views/test_related_object_lookups.py
+++ b/tests/admin_views/test_related_object_lookups.py
@@ -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(