From 68cefc9f9db68e434587f0f3b56487736aefce3a Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Fri, 12 Aug 2022 12:12:19 +0800 Subject: [PATCH] DEV: Remove flaky sidebar acceptance test. (#17882) At a certain point, the cost of debugging a flaky acceptance test is just too high for what we're testing for here. I've decided to just accept the risk of a minor UX feature. Follow-up to 55fa94f75901fc95ac28e2fea8cc3813ab2750ab --- .../tests/acceptance/sidebar-community-section-test.js | 9 --------- 1 file changed, 9 deletions(-) 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.js index 5dbcee7748..e3584ab589 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 @@ -148,15 +148,6 @@ 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) {