From c99ce49d2ea3441d0f076cc08b0734236e23fc20 Mon Sep 17 00:00:00 2001 From: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Date: Tue, 25 Jun 2024 19:03:21 +0200 Subject: [5.1.x] Fixed #35558 -- Increased inline H3 headers color prominence in admin change page. Backport of e510bb1ab1fb22837c169e0459b81cf388b6d8d2 from main. --- tests/admin_inlines/tests.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') 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 -- cgit v1.3