DEV: Skip flaky sidebar test (#17918)

The test is still useful and I intend to look at it in the future but
this is not the utmost priority at this point.

Follow-up to 68cefc9f9d
This commit is contained in:
Alan Guo Xiang Tan 2022-08-15 10:33:59 +08:00 committed by GitHub
parent c66d544cf9
commit 5a271fdc90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import I18n from "I18n";
import { test } from "qunit";
import { skip, test } from "qunit";
import {
click,
currentRouteName,
@ -120,7 +120,8 @@ acceptance("Sidebar - Community Section", function (needs) {
);
});
test("clicking on more... link", async function (assert) {
// TODO(tgxworld): Flaky probably due to assertions running before event listener callbacks have completed.
skip("clicking on more... link", async function (assert) {
await visit("/");
await click(
@ -148,6 +149,15 @@ acceptance("Sidebar - Community Section", function (needs) {
await click(
".sidebar-section-community .sidebar-more-section-links-details-summary"
);
await click("#main-outlet");
assert.notOk(
exists(
".sidebar-section-community .sidebar-more-section-links-details-content"
),
"additional section links are hidden when clicking outside"
);
});
test("clicking on everything link", async function (assert) {