Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/test_a11y.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ def test_axe_core(
# Run a line of JavaScript that sets the light/dark theme on the page
page.evaluate(f"document.documentElement.dataset.theme = '{theme}'")

# Wait for CSS transitions (Bootstrap's transitions are 300 ms)
page.wait_for_timeout(301)

# Inject the Axe-core JavaScript library into the page
page.add_script_tag(path="node_modules/axe-core/axe.min.js")

Expand Down