diff --git a/test/appium/tests/critical/chats/test_1_1_public_chats.py b/test/appium/tests/critical/chats/test_1_1_public_chats.py index 5bda5372ac..9e18f2d72c 100644 --- a/test/appium/tests/critical/chats/test_1_1_public_chats.py +++ b/test/appium/tests/critical/chats/test_1_1_public_chats.py @@ -1408,7 +1408,7 @@ class TestOneToOneChatMultipleSharedDevicesNewUi(MultipleSharedDeviceTestCase): [home.chats_tab.click() for home in (self.home_1, self.home_2)] if not self.chat_2.chat_message_input.is_element_displayed(): self.home_2.get_chat(self.default_username_1).click() - if self.chat_2.chat_element_by_text(message).member_photo.is_element_differs_from_template("member2.png", + if self.chat_2.chat_element_by_text(message).member_photo.is_element_differs_from_template("member3.png", diff=5): self.errors.append("Image of user in 1-1 chat is too different from template!") self.errors.verify_no_errors() diff --git a/test/appium/tests/critical/test_public_chat_browsing.py b/test/appium/tests/critical/test_public_chat_browsing.py index cd72f12d25..2c9a1b7a26 100644 --- a/test/appium/tests/critical/test_public_chat_browsing.py +++ b/test/appium/tests/critical/test_public_chat_browsing.py @@ -676,11 +676,13 @@ class TestCommunityMultipleDeviceMerged(MultipleSharedDeviceTestCase): if not channel.chat_element_by_text(emoji_unicode).is_element_displayed(30): self.errors.append('Message with emoji was not sent or received in community channel') - self.channel_1.just_fyi("Can copy and paste emojis") - self.channel_1.copy_message_text(emoji_unicode) - self.channel_1.chat_message_input.paste_text_from_clipboard() - if self.channel_1.chat_message_input.text != emoji_unicode: - self.errors.append('Emoji message was not copied') + # Commented as paste_text_from_clipboard() method doesn't work any more for some reason. Needs to be investigated + # self.channel_1.just_fyi("Can copy and paste emojis") + # self.channel_1.copy_message_text(emoji_unicode) + # self.channel_1.chat_message_input.click() + # self.channel_1.chat_message_input.paste_text_from_clipboard() + # if self.channel_1.chat_message_input.text != emoji_unicode: + # self.errors.append('Emoji message was not copied') self.channel_1.just_fyi("Can reply to emojis") self.channel_2.quote_message(emoji_unicode) @@ -712,6 +714,7 @@ class TestCommunityMultipleDeviceMerged(MultipleSharedDeviceTestCase): self.errors.verify_no_errors() @marks.testrail_id(702844) + @marks.skip("Until preview component will be developed") def test_community_links_with_previews_github_youtube_twitter_gif_send_enable(self): giphy_url = 'https://giphy.com/gifs/this-is-fine-QMHoU66sBXqqLqYvGO' preview_urls = {'github_pr': {'url': 'https://github.com/status-im/status-mobile/pull/11707', @@ -731,6 +734,8 @@ class TestCommunityMultipleDeviceMerged(MultipleSharedDeviceTestCase): self.home_1.just_fyi("Check enabling and sending first gif") self.channel_2.send_message(giphy_url) + # workaround to get chat view focused + self.channel_2.send_message(giphy_url) self.channel_2.element_by_translation_id("dont-ask").click() # workaround to get chat view focused self.channel_1.send_message(giphy_url) diff --git a/test/appium/views/elements_templates/member3.png b/test/appium/views/elements_templates/member3.png new file mode 100644 index 0000000000..9a8a3865ce Binary files /dev/null and b/test/appium/views/elements_templates/member3.png differ