diff --git a/test/appium/tests/critical/chats/test_group_chat.py b/test/appium/tests/critical/chats/test_group_chat.py index 713f7f2f74..dc2e3432a2 100644 --- a/test/appium/tests/critical/chats/test_group_chat.py +++ b/test/appium/tests/critical/chats/test_group_chat.py @@ -404,6 +404,8 @@ class TestGroupChatMultipleDeviceMergedNewUI(MultipleSharedDeviceTestCase): self.errors.verify_no_errors() @marks.testrail_id(703495) + @marks.xfail( + reason="Chat is not unmuted after expected time: https://github.com/status-im/status-mobile/issues/19627") def test_group_chat_mute_chat(self): [self.homes[i].navigate_back_to_home_view() for i in range(3)] diff --git a/test/appium/tests/critical/chats/test_public_chat_browsing.py b/test/appium/tests/critical/chats/test_public_chat_browsing.py index 1ec028507b..6358074b2f 100644 --- a/test/appium/tests/critical/chats/test_public_chat_browsing.py +++ b/test/appium/tests/critical/chats/test_public_chat_browsing.py @@ -782,7 +782,7 @@ class TestCommunityMultipleDeviceMerged(MultipleSharedDeviceTestCase): self.channel_1.just_fyi("Receiver is checking if initial messages were delivered") for message in message_to_edit, message_to_delete: if not self.channel_1.chat_element_by_text(message).is_element_displayed(30): - self.channel_1.driver.fail("Message '%s' was not received") + self.channel_1.driver.fail("Message '%s' was not received" % message) self.channel_2.just_fyi("Turning on airplane mode and editing/deleting messages") self.channel_2.driver.set_network_connection(ConnectionType.AIRPLANE_MODE) 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 824e1abc0d..8032b7c4f6 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/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shspPKCZ1VPVQ9dLXGufUGvGphjxVwrcZ6rkZc7S39T4b3": - "closed community" + "https://status.app/c/GzAAAORtwyW4xNWM4td0F7hOnYZ1apSqCCRUUR0qxD19n3Ec97fX_aIVIGFWbdUM#zQ3shk6dgK8dYWWSC4m8Jj5c91zyfhfj1fFkgypS8D9gsXkrK": + "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/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shspPKCZ1VPVQ9dLXGufUGvGphjxVwrcZ6rkZc7S39T4b3": - "closed community" + "status.app://c/GzAAAORtwyW4xNWM4td0F7hOnYZ1apSqCCRUUR0qxD19n3Ec97fX_aIVIGFWbdUM#zQ3shk6dgK8dYWWSC4m8Jj5c91zyfhfj1fFkgypS8D9gsXkrK": + "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/chat_view.py b/test/appium/views/chat_view.py index 0dbab8b200..b486a4f3f8 100644 --- a/test/appium/views/chat_view.py +++ b/test/appium/views/chat_view.py @@ -386,7 +386,6 @@ class CommunityView(HomeView): self.leave_community_button = Button(self.driver, translation_id="leave-community") self.edit_community_button = Button(self.driver, translation_id="edit-community") self.share_community_button = Button(self.driver, accessibility_id="share-community") - self.share_community_link_button = Button(self.driver, accessibility_id="share-community-link") # Members self.invite_people_button = Button(self.driver, accessibility_id="community-invite-people") @@ -500,8 +499,9 @@ class CommunityView(HomeView): community_element.long_press_until_element_is_shown(self.share_community_button) self.share_community_button.click() for user_name in user_names_to_share: - Button(self.driver, xpath="//*[@content-desc='author-primary-name'][@text='%s']" % user_name).click() - self.setup_chat_button.click() + xpath = "//*[@content-desc='user-avatar']/following-sibling::android.widget.TextView[@text='%s']" % user_name + Button(self.driver, xpath=xpath).click() + self.share_invite_button.click() class PreviewMessage(ChatElementByText):