mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 04:59:22 -06:00
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:
parent
c66d544cf9
commit
5a271fdc90
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user