A platform for community discussion. Free, open, simple.
DEV: Skip flaky sidebar test (#17918)
Alan Guo Xiang Tan5a271fdc90a3
diff --git a/app/assets/javascripts/discourse/tests/acceptance/sidebar-community-section-test.js b/app/assets/javascripts/discourse/tests/acceptance/sidebar-community-section-test.jsindex e3584ab5897..07f7b64de46 100644--- a/app/assets/javascripts/discourse/tests/acceptance/sidebar-community-section-test.js+++ b/app/assets/javascripts/discourse/tests/acceptance/sidebar-community-section-test.js@@ -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) {