From 070a8414eac368dee8fce0f250a6bcb3240191a2 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Wed, 24 Jan 2024 14:05:32 +0100 Subject: [PATCH] DEV: Make the flaky keyboard nav test chrome-only (#25378) --- .../discourse/tests/acceptance/keyboard-shortcuts-test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/tests/acceptance/keyboard-shortcuts-test.js b/app/assets/javascripts/discourse/tests/acceptance/keyboard-shortcuts-test.js index d0e4e03d3da..ea868db787d 100644 --- a/app/assets/javascripts/discourse/tests/acceptance/keyboard-shortcuts-test.js +++ b/app/assets/javascripts/discourse/tests/acceptance/keyboard-shortcuts-test.js @@ -3,6 +3,7 @@ import { test } from "qunit"; import DiscoveryFixtures from "discourse/tests/fixtures/discovery-fixtures"; import { acceptance, + chromeTest, exists, query, } from "discourse/tests/helpers/qunit-helpers"; @@ -70,7 +71,8 @@ acceptance("Keyboard Shortcuts - Anonymous Users", function (needs) { ); }); - test("j/k navigation skips hidden elements", async function (assert) { + // FIXME: For reasons unknown this test if flaky on firefox + chromeTest("j/k navigation skips hidden elements", async function (assert) { await visit("/t/internationalization-localization/280"); document.querySelector("#qunit-fixture").innerHTML = `