mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:11:38 +08:00
DEV: Make the flaky keyboard nav test chrome-only (#25378)
This commit is contained in:
parent
ecb7fb0481
commit
070a8414ea
|
@ -3,6 +3,7 @@ import { test } from "qunit";
|
||||||
import DiscoveryFixtures from "discourse/tests/fixtures/discovery-fixtures";
|
import DiscoveryFixtures from "discourse/tests/fixtures/discovery-fixtures";
|
||||||
import {
|
import {
|
||||||
acceptance,
|
acceptance,
|
||||||
|
chromeTest,
|
||||||
exists,
|
exists,
|
||||||
query,
|
query,
|
||||||
} from "discourse/tests/helpers/qunit-helpers";
|
} 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");
|
await visit("/t/internationalization-localization/280");
|
||||||
|
|
||||||
document.querySelector("#qunit-fixture").innerHTML = `
|
document.querySelector("#qunit-fixture").innerHTML = `
|
||||||
|
|
Loading…
Reference in New Issue
Block a user