DEV: Remove reference to discourse chat in core (#17601)

This commit is contained in:
Alan Guo Xiang Tan 2022-07-22 11:15:43 +08:00 committed by GitHub
parent 6b8d635943
commit ad7d72cea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -51,8 +51,7 @@
@options={{hash icon=@headerActionsIcon placementStrategy="absolute"}}
@content={{@headerActions}}
@onChange={{action "handleMultipleHeaderActions"}}
@class="edit-channels-dropdown"
/>
@class="sidebar-section-header-dropdown" />
{{/if}}
</div>

View File

@ -189,17 +189,17 @@ acceptance("Sidebar - section API", function (needs) {
"displays header with correct text"
);
await click(
".sidebar-section-test-chat-channels .edit-channels-dropdown summary"
".sidebar-section-test-chat-channels .sidebar-section-header-dropdown summary"
);
assert.strictEqual(
queryAll(
".sidebar-section-test-chat-channels .edit-channels-dropdown .select-kit-collection li"
".sidebar-section-test-chat-channels .sidebar-section-header-dropdown .select-kit-collection li"
).length,
2,
"displays two actions"
);
const actions = queryAll(
".sidebar-section-test-chat-channels .edit-channels-dropdown .select-kit-collection li"
".sidebar-section-test-chat-channels .sidebar-section-header-dropdown .select-kit-collection li"
);
assert.strictEqual(
actions[0].textContent.trim(),