Show durable reservation acquisition progress in download tasks
This commit is contained in:
1 parent
698d91367c
commit
db42a5e087
16 files changed
+757
-23
No files matched your search
@@ -73,6 +73,19 @@ class DailyVisualStaticContractTests(unittest.TestCase):
|
||||
self.assertIn("min-width: 118px", self.styles)
|
||||
self.assertNotIn("width: calc(100% - 48px)", self.styles)
|
||||
|
||||
def test_download_card_exposes_accessible_retrieval_progress_with_reduced_motion(self) -> None:
|
||||
start = self.html.index('id="arr-acquisition-progress"')
|
||||
end = self.html.index('<div class="arr-download-actions">', start)
|
||||
progress = self.html[start:end]
|
||||
self.assertLess(self.html.index('id="arr-download-status"'), start)
|
||||
self.assertIn('role="progressbar"', progress)
|
||||
self.assertIn('aria-labelledby="arr-acquisition-label"', progress)
|
||||
self.assertIn('aria-describedby="arr-acquisition-detail"', progress)
|
||||
self.assertIn('aria-valuemin="0" aria-valuemax="100"', progress)
|
||||
self.assertNotIn('aria-valuenow=', progress)
|
||||
self.assertIn('@media (prefers-reduced-motion: reduce)', self.styles)
|
||||
self.assertIn('.arr-acquisition-track.is-indeterminate > span { animation: none; }', self.styles)
|
||||
|
||||
def test_review_dates_are_independent_and_both_review_bodies_share_one_workspace(self) -> None:
|
||||
class Regions(HTMLParser):
|
||||
def __init__(self) -> None:
|
||||
|
||||
Reference in new issue
Block a user