summaryrefslogtreecommitdiff
path: root/tests/admin_inlines
diff options
context:
space:
mode:
authorSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-06-25 19:03:21 +0200
committerGitHub <noreply@github.com>2024-06-25 14:03:21 -0300
commite510bb1ab1fb22837c169e0459b81cf388b6d8d2 (patch)
tree4fb6d767155762452d16dad8710f7081768ec918 /tests/admin_inlines
parent28522c3c8d5eb581347aececc3ac61c134528114 (diff)
Fixed #35558 -- Increased inline H3 headers color prominence in admin change page.
Diffstat (limited to 'tests/admin_inlines')
-rw-r--r--tests/admin_inlines/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/admin_inlines/tests.py b/tests/admin_inlines/tests.py
index 25512aede4..04f0a37e02 100644
--- a/tests/admin_inlines/tests.py
+++ b/tests/admin_inlines/tests.py
@@ -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