We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd064bd commit 5a696dbCopy full SHA for 5a696db
tests/test_a11y.py
@@ -212,6 +212,9 @@ def test_axe_core(
212
# Run a line of JavaScript that sets the light/dark theme on the page
213
page.evaluate(f"document.documentElement.dataset.theme = '{theme}'")
214
215
+ # Wait for CSS transitions (Bootstrap's transitions are 300 ms)
216
+ page.wait_for_timeout(301)
217
+
218
# Inject the Axe-core JavaScript library into the page
219
page.add_script_tag(path="node_modules/axe-core/axe.min.js")
220
0 commit comments