Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix a skip-links flake (#40537)

Jarek Radosz2cdb5f6557eb
diff --git a/frontend/discourse/tests/integration/components/a11y/skip-links-test.gjs b/frontend/discourse/tests/integration/components/a11y/skip-links-test.gjs
index b82abf12539..32cca2782c5 100644
--- a/frontend/discourse/tests/integration/components/a11y/skip-links-test.gjs
+++ b/frontend/discourse/tests/integration/components/a11y/skip-links-test.gjs
@@ -75,6 +75,7 @@ module("Integration | Component | A11y | SkipLinks", function (hooks) {
"skip link is hidden with -75px offset before focus"
);
+ skipLink.style.transition = "none";
skipLink.focus();
computedStyle = window.getComputedStyle(skipLink);