mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 17:27:16 +08:00
FEATURE: display last message on mobile (#25384)
Direct messages on mobile will now display the last message in the channels list.
This commit is contained in:
@ -24,13 +24,13 @@ module(
|
||||
await render(hbs`<ChatChannelPreviewCard @channel={{this.channel}} />`);
|
||||
|
||||
assert.strictEqual(
|
||||
query(".chat-channel-title__name").innerText,
|
||||
query(".chat-channel-name__label").innerText,
|
||||
this.channel.title,
|
||||
"it shows the channel title"
|
||||
);
|
||||
|
||||
assert.true(
|
||||
exists(query(".chat-channel-title__category-badge")),
|
||||
exists(query(".chat-channel-icon.--category-badge")),
|
||||
"it shows the category hashtag badge"
|
||||
);
|
||||
});
|
||||
|
Reference in New Issue
Block a user