summaryrefslogtreecommitdiff
path: root/tests/admin_views
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_views')
-rw-r--r--tests/admin_views/tests.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py
index ac4265c4b4..e01ab3b538 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -4646,6 +4646,16 @@ class AdminViewListEditable(TestCase):
# 1 select per object = 3 selects
self.assertContains(response, "<select", count=4)
+ def test_actions_counter_is_live_region(self):
+ response = self.client.get(reverse("admin:admin_views_person_changelist"))
+ self.assertContains(
+ response,
+ (
+ 'class="action-counter" data-actions-icnt="3" '
+ 'aria-live="polite" aria-atomic="true"'
+ ),
+ )
+
def test_post_messages(self):
# Ticket 12707: Saving inline editable should not show admin
# action warnings