mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
drafts: Fix order of group pm recipients in draft overlay.
Earlier in drafts overlay, the order of pm recipients for the draft was sorted differently to that of the pm group title. This commit fixes the behaviour by sorting the drafts pm recipients using `make_strcmp`. Fixes part of zulip#27375. Co-authored-by: richardshaju <richardshaju66@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
eeae434625
commit
c180b25a68
@@ -131,7 +131,7 @@ async function test_previously_created_drafts_rendered(page: Page): Promise<void
|
||||
page,
|
||||
"#drafts_table .overlay-message-row .message_header_private_message .stream_label",
|
||||
),
|
||||
"You and King Hamlet, Cordelia, Lear's daughter",
|
||||
"You and Cordelia, Lear's daughter, King Hamlet",
|
||||
);
|
||||
assert.strictEqual(
|
||||
await common.get_text_from_selector(
|
||||
|
||||
Reference in New Issue
Block a user