From bab12f3d28cf688cd099799876ab42f0fda75551 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Tue, 23 Aug 2022 13:07:16 +0200 Subject: [PATCH] DEV: Restore skipped sidebar test Lemme see those failures :P --- .../acceptance/sidebar-user-community-section-test.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/discourse/tests/acceptance/sidebar-user-community-section-test.js b/app/assets/javascripts/discourse/tests/acceptance/sidebar-user-community-section-test.js index 9c6e58d4af..d929a75654 100644 --- a/app/assets/javascripts/discourse/tests/acceptance/sidebar-user-community-section-test.js +++ b/app/assets/javascripts/discourse/tests/acceptance/sidebar-user-community-section-test.js @@ -1,5 +1,5 @@ import I18n from "I18n"; -import { skip, test } from "qunit"; +import { test } from "qunit"; import { click, currentRouteName, @@ -96,8 +96,7 @@ acceptance("Sidebar - Logged on user - Community Section", function (needs) { ); }); - // TODO(tgxworld): Flaky probably due to assertions running before event listener callbacks have completed. - skip("clicking on more... link", async function (assert) { + test("clicking on more... link", async function (assert) { await visit("/"); await click( @@ -106,7 +105,7 @@ acceptance("Sidebar - Logged on user - Community Section", function (needs) { assert.ok( exists( - ".sidebar-section-community .sidebar-more-section-links-details-content" + ".sidebar-section-community .sidebar-more-section-link-details-content" ), "additional section links are displayed" ); @@ -117,7 +116,7 @@ acceptance("Sidebar - Logged on user - Community Section", function (needs) { assert.notOk( exists( - ".sidebar-section-community .sidebar-more-section-links-details-content" + ".sidebar-section-community .sidebar-more-section-link-details-content" ), "additional section links are hidden" );