mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:50:00 +08:00
DEV: Remove reference to discourse chat in core (#17601)
This commit is contained in:
parent
6b8d635943
commit
ad7d72cea7
|
@ -51,8 +51,7 @@
|
||||||
@options={{hash icon=@headerActionsIcon placementStrategy="absolute"}}
|
@options={{hash icon=@headerActionsIcon placementStrategy="absolute"}}
|
||||||
@content={{@headerActions}}
|
@content={{@headerActions}}
|
||||||
@onChange={{action "handleMultipleHeaderActions"}}
|
@onChange={{action "handleMultipleHeaderActions"}}
|
||||||
@class="edit-channels-dropdown"
|
@class="sidebar-section-header-dropdown" />
|
||||||
/>
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -189,17 +189,17 @@ acceptance("Sidebar - section API", function (needs) {
|
||||||
"displays header with correct text"
|
"displays header with correct text"
|
||||||
);
|
);
|
||||||
await click(
|
await click(
|
||||||
".sidebar-section-test-chat-channels .edit-channels-dropdown summary"
|
".sidebar-section-test-chat-channels .sidebar-section-header-dropdown summary"
|
||||||
);
|
);
|
||||||
assert.strictEqual(
|
assert.strictEqual(
|
||||||
queryAll(
|
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,
|
).length,
|
||||||
2,
|
2,
|
||||||
"displays two actions"
|
"displays two actions"
|
||||||
);
|
);
|
||||||
const actions = queryAll(
|
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(
|
assert.strictEqual(
|
||||||
actions[0].textContent.trim(),
|
actions[0].textContent.trim(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user