e2e: nightly fixes
This commit is contained in:
parent
7c2d76d00f
commit
1fb41b2ca0
|
@ -1408,7 +1408,7 @@ class TestOneToOneChatMultipleSharedDevicesNewUi(MultipleSharedDeviceTestCase):
|
||||||
[home.chats_tab.click() for home in (self.home_1, self.home_2)]
|
[home.chats_tab.click() for home in (self.home_1, self.home_2)]
|
||||||
if not self.chat_2.chat_message_input.is_element_displayed():
|
if not self.chat_2.chat_message_input.is_element_displayed():
|
||||||
self.home_2.get_chat(self.default_username_1).click()
|
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):
|
diff=5):
|
||||||
self.errors.append("Image of user in 1-1 chat is too different from template!")
|
self.errors.append("Image of user in 1-1 chat is too different from template!")
|
||||||
self.errors.verify_no_errors()
|
self.errors.verify_no_errors()
|
||||||
|
|
|
@ -676,11 +676,13 @@ class TestCommunityMultipleDeviceMerged(MultipleSharedDeviceTestCase):
|
||||||
if not channel.chat_element_by_text(emoji_unicode).is_element_displayed(30):
|
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.errors.append('Message with emoji was not sent or received in community channel')
|
||||||
|
|
||||||
self.channel_1.just_fyi("Can copy and paste emojis")
|
# Commented as paste_text_from_clipboard() method doesn't work any more for some reason. Needs to be investigated
|
||||||
self.channel_1.copy_message_text(emoji_unicode)
|
# self.channel_1.just_fyi("Can copy and paste emojis")
|
||||||
self.channel_1.chat_message_input.paste_text_from_clipboard()
|
# self.channel_1.copy_message_text(emoji_unicode)
|
||||||
if self.channel_1.chat_message_input.text != emoji_unicode:
|
# self.channel_1.chat_message_input.click()
|
||||||
self.errors.append('Emoji message was not copied')
|
# 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_1.just_fyi("Can reply to emojis")
|
||||||
self.channel_2.quote_message(emoji_unicode)
|
self.channel_2.quote_message(emoji_unicode)
|
||||||
|
@ -712,6 +714,7 @@ class TestCommunityMultipleDeviceMerged(MultipleSharedDeviceTestCase):
|
||||||
self.errors.verify_no_errors()
|
self.errors.verify_no_errors()
|
||||||
|
|
||||||
@marks.testrail_id(702844)
|
@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):
|
def test_community_links_with_previews_github_youtube_twitter_gif_send_enable(self):
|
||||||
giphy_url = 'https://giphy.com/gifs/this-is-fine-QMHoU66sBXqqLqYvGO'
|
giphy_url = 'https://giphy.com/gifs/this-is-fine-QMHoU66sBXqqLqYvGO'
|
||||||
preview_urls = {'github_pr': {'url': 'https://github.com/status-im/status-mobile/pull/11707',
|
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.home_1.just_fyi("Check enabling and sending first gif")
|
||||||
self.channel_2.send_message(giphy_url)
|
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()
|
self.channel_2.element_by_translation_id("dont-ask").click()
|
||||||
# workaround to get chat view focused
|
# workaround to get chat view focused
|
||||||
self.channel_1.send_message(giphy_url)
|
self.channel_1.send_message(giphy_url)
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 8.5 KiB |
Loading…
Reference in New Issue