diff --git a/test/appium/tests/critical/chats/test_group_chat.py b/test/appium/tests/critical/chats/test_group_chat.py index 68c82ff5b4..713f7f2f74 100644 --- a/test/appium/tests/critical/chats/test_group_chat.py +++ b/test/appium/tests/critical/chats/test_group_chat.py @@ -221,15 +221,15 @@ class TestGroupChatMultipleDeviceMergedNewUI(MultipleSharedDeviceTestCase): self.chats[1].send_images_with_description(description=image_description, indexes=[2]) self.chats[0].just_fyi("Admin checks image message") - self.chats[0].chat_element_by_text(image_description).wait_for_visibility_of_element(60) - if not self.chats[0].chat_element_by_text( - image_description).image_in_message.is_element_image_similar_to_template('saucelabs_sauce_chat.png'): + chat_element = self.chats[0].chat_element_by_text(image_description) + chat_element.wait_for_visibility_of_element(60) + if not chat_element.image_in_message.is_element_image_similar_to_template('saucelabs_sauce_group_chat.png'): self.errors.append("Not expected image is shown to the admin.") self.chats[2].just_fyi("Member_2 checks image message") - self.chats[2].chat_element_by_text(image_description).wait_for_visibility_of_element(60) - if not self.chats[2].chat_element_by_text( - image_description).image_in_message.is_element_image_similar_to_template('saucelabs_sauce_chat.png'): + chat_element = self.chats[2].chat_element_by_text(image_description) + chat_element.wait_for_visibility_of_element(60) + if not chat_element.image_in_message.is_element_image_similar_to_template('saucelabs_sauce_group_chat.png'): self.errors.append("Not expected image is shown to the member_2.") self.chats[0].just_fyi("Admin opens the image and shares it") diff --git a/test/appium/tests/critical/test_deep_and_universal_links.py b/test/appium/tests/critical/test_deep_and_universal_links.py index 0a67927118..824e1abc0d 100644 --- a/test/appium/tests/critical/test_deep_and_universal_links.py +++ b/test/appium/tests/critical/test_deep_and_universal_links.py @@ -52,8 +52,8 @@ class TestDeepLinksOneDevice(MultipleSharedDeviceTestCase): "Status mobile QA community max", "https://status.app/c/G1AAAGR0G-IRb2YJD4lRXwLusAFnGrDHGNl6Wt55MIARwVYvarnO873011-fdVSz1kHSan-qq0G96vOaMqyTRhJnQV74KCUr#zQ3shb9irJR66rhG1E8sQZX8pDU3dpGm4daYSmPVDd2e73ewE": "Open community for e2e", - "https://status.app/c/G0UAAGS9MeHbo_RoNMnOhOKTCo-fDDbgBCCyNNSN7qrzTqIgLem56TyzYYLf36askV7yGcros8muAdgB#zQ3shVWCcsH94vjf7WrFqBXx5MMAui2EPYMBme8ntACNWWVN3": - "Closed communtiy for e2e" + "https://status.app/c/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shspPKCZ1VPVQ9dLXGufUGvGphjxVwrcZ6rkZc7S39T4b3": + "closed community" } for url, text in closed_community_urls.items(): self.channel.just_fyi("Opening community '%s' by the url %s" % (text, url)) @@ -97,8 +97,8 @@ class TestDeepLinksOneDevice(MultipleSharedDeviceTestCase): "Status mobile QA community max", "status.app://c/G1AAAGR0G-IRb2YJD4lRXwLusAFnGrDHGNl6Wt55MIARwVYvarnO873011-fdVSz1kHSan-qq0G96vOaMqyTRhJnQV74KCUr#zQ3shb9irJR66rhG1E8sQZX8pDU3dpGm4daYSmPVDd2e73ewE": "Open community for e2e", - "status.app://c/G0UAAGS9MeHbo_RoNMnOhOKTCo-fDDbgBCCyNNSN7qrzTqIgLem56TyzYYLf36askV7yGcros8muAdgB#zQ3shVWCcsH94vjf7WrFqBXx5MMAui2EPYMBme8ntACNWWVN3": - "Closed communtiy for e2e" + "status.app://c/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shspPKCZ1VPVQ9dLXGufUGvGphjxVwrcZ6rkZc7S39T4b3": + "closed community" } for link, text in community_links.items(): self.channel.just_fyi("Opening community '%s' by the link %s" % (text, link)) diff --git a/test/appium/views/elements_templates/saucelabs_sauce_group_chat.png b/test/appium/views/elements_templates/saucelabs_sauce_group_chat.png new file mode 100644 index 0000000000..6e85b2d23b Binary files /dev/null and b/test/appium/views/elements_templates/saucelabs_sauce_group_chat.png differ