MM-37232 Detox/E2E: Add e2e for posting multi-line emojis (#5562)

This commit is contained in:
Joseph Baylon 2021-07-21 16:01:43 -07:00 committed by GitHub
parent b607d44e59
commit 60e41c3f25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);