diff --git a/detox/e2e/test/smoke_test/message_posting.e2e.js b/detox/e2e/test/smoke_test/message_posting.e2e.js index ab0ce5e6b..aaab8b57f 100644 --- a/detox/e2e/test/smoke_test/message_posting.e2e.js +++ b/detox/e2e/test/smoke_test/message_posting.e2e.js @@ -97,6 +97,17 @@ describe('Message Posting', () => { await expect(postListPostItem).toBeVisible(); }); + it('MM-T4125 should be able to post multi-line emojis', async () => { + // # Post multi-line emojis + const message = ':fire: :fire:\n:fire: :fire: :fire:\n:fire:'; + await postMessage(message); + + // * Verify message is posted + const {post} = await Post.apiGetLastPostInChannel(townSquareChannel.id); + const {postListPostItem} = await getPostListPostItem(post.id, 'šŸ”„ šŸ”„\nšŸ”„ šŸ”„ šŸ”„\nšŸ”„'); + await expect(postListPostItem).toBeVisible(); + }); + it('MM-T3189 should be able to scroll up in channel with long history', async () => { // # Post messages await goToChannel(testChannel.display_name);