summaryrefslogtreecommitdiff
path: root/tests/admin_inlines/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_inlines/tests.py')
-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