mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
[5.1.x] Fixed #35558 -- Increased inline H3 headers color prominence in admin change page.
Backport of e510bb1ab1 from main.
This commit is contained in:
@@ -1858,6 +1858,7 @@ class SeleniumTests(AdminSeleniumTestCase):
|
||||
username="super", password="secret", email="super@example.com"
|
||||
)
|
||||
|
||||
@screenshot_cases(["desktop_size", "mobile_size", "dark", "high_contrast"])
|
||||
def test_add_stackeds(self):
|
||||
"""
|
||||
The "Add another XXX" link correctly adds items to the stacked formset.
|
||||
@@ -1878,6 +1879,7 @@ class SeleniumTests(AdminSeleniumTestCase):
|
||||
)
|
||||
add_button.click()
|
||||
self.assertCountSeleniumElements(rows_selector, 4)
|
||||
self.take_screenshot("added")
|
||||
|
||||
def test_delete_stackeds(self):
|
||||
from selenium.webdriver.common.by import By
|
||||
|
||||
Reference in New Issue
Block a user