diff --git a/test/appium/support/api/network_api.py b/test/appium/support/api/network_api.py index 8290ac244e..d1db271c01 100644 --- a/test/appium/support/api/network_api.py +++ b/test/appium/support/api/network_api.py @@ -136,9 +136,10 @@ class NetworkApi: self.log('Balance is updated!') return - def wait_for_balance_to_be(self, address: str, expected_balance: int, less: bool = True): + def wait_for_balance_to_be(self, address: str, expected_balance: int): + expected_balance = round(expected_balance, 4) for _ in range(5): - balance = self.get_balance(address) + balance = round(self.get_balance(address), 4) if balance == expected_balance: return time.sleep(10) diff --git a/test/appium/tests/critical/chats/test_group_chat.py b/test/appium/tests/critical/chats/test_group_chat.py index 840c08a5c4..288579e607 100644 --- a/test/appium/tests/critical/chats/test_group_chat.py +++ b/test/appium/tests/critical/chats/test_group_chat.py @@ -74,8 +74,6 @@ class TestGroupChatMultipleDeviceMergedNewUI(MultipleSharedDeviceTestCase): self.chats[0].send_message(self.message_before_adding) @marks.testrail_id(702807) - @marks.xfail( - reason="Issue with a message status - Sent instead of Delivered, https://github.com/status-im/status-mobile/issues/20126") def test_group_chat_join_send_text_messages_push(self): message_to_admin = self.message_to_admin [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 52adbb0084..42a0e6facb 100644 --- a/test/appium/tests/critical/chats/test_public_chat_browsing.py +++ b/test/appium/tests/critical/chats/test_public_chat_browsing.py @@ -1022,8 +1022,6 @@ class TestCommunityMultipleDeviceMergedTwo(MultipleSharedDeviceTestCase): self.errors.verify_no_errors() @marks.testrail_id(702948) - @marks.xfail(reason="Can't enter channel after community is fetched for the first time, " \ - "https://github.com/status-im/status-mobile/issues/20395") def test_community_hashtag_links_to_community_channels(self): for home in self.homes: home.navigate_back_to_home_view() @@ -1124,8 +1122,6 @@ class TestCommunityMultipleDeviceMergedTwo(MultipleSharedDeviceTestCase): self.errors.verify_no_errors() @marks.testrail_id(703629) - @marks.xfail(reason="Can't enter channel after community is fetched for the first time, " \ - "https://github.com/status-im/status-mobile/issues/20395") def test_community_join_when_node_owner_offline(self): for home in self.homes: home.navigate_back_to_home_view() 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 b2f9431f02..0e870adcd1 100644 --- a/test/appium/tests/critical/test_deep_and_universal_links.py +++ b/test/appium/tests/critical/test_deep_and_universal_links.py @@ -50,10 +50,10 @@ class TestDeepLinksOneDevice(MultipleSharedDeviceTestCase): community_urls = { "https://status.app/c/G0IAAGS9TbI9SrSPbDPplfBUeBBOIWhFRhGIKVlxntAg5CSvsJw4jurb636UKo7Lm2gTUS_M#zQ3shm7cS2MX6K1iinjNhiw88g1WH6fbE8rvnMHBq4RhznkWc": "token-gated community e2e", - "https://status.app/c/GzwAAGS9TbI9CiYaoZj0TRNelWAPwk8gSHIEmqgqb0ADPw5rnFvk6bp_n3BlZxVMshmxFyI=#zQ3shkrmSmwb66sw2EuUvC5iqiNqEeevTfjtks3p8ZaaCYoNj": - "Open community for e2e", - "https://status.app/c/GzAAAORtwyW4xNWM4td0F7hOnYZ1apSqCCRUUR0qxD19n3Ec97fX_aIVIGFWbdUM#zQ3shk6dgK8dYWWSC4m8Jj5c91zyfhfj1fFkgypS8D9gsXkrK": - "Closed community" + "https://status.app/c/G0UAAMTyNsn2QZDEG0EXftOl8pOEfwEBOOSA_YTfIk85xmADDgINGmxpUHAXzK36bN0fK42Xf4YD2yjPk1z2pbFwFw==#zQ3shZU9PNP6QHwEmqoh5mQqjCMDsfZYnpY4BEC8hom7KoNEz": + "open community", + "https://status.app/c/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shTK1zXmLq2yZWMij65j1LNtmvuG6x71Nmg2fwtKs32wHj": + "closed community" } for url, text in community_urls.items(): self.channel.just_fyi("Opening community '%s' by the url %s" % (text, url)) @@ -97,10 +97,10 @@ class TestDeepLinksOneDevice(MultipleSharedDeviceTestCase): community_links = { "status.app://c/G0IAAGS9TbI9SrSPbDPplfBUeBBOIWhFRhGIKVlxntAg5CSvsJw4jurb636UKo7Lm2gTUS_M#zQ3shm7cS2MX6K1iinjNhiw88g1WH6fbE8rvnMHBq4RhznkWc": "token-gated community e2e", - "status.app://c/GzwAAGS9TbI9CiYaoZj0TRNelWAPwk8gSHIEmqgqb0ADPw5rnFvk6bp_n3BlZxVMshmxFyI=#zQ3shkrmSmwb66sw2EuUvC5iqiNqEeevTfjtks3p8ZaaCYoNj": - "Open community for e2e", - "status.app://c/GzAAAORtwyW4xNWM4td0F7hOnYZ1apSqCCRUUR0qxD19n3Ec97fX_aIVIGFWbdUM#zQ3shk6dgK8dYWWSC4m8Jj5c91zyfhfj1fFkgypS8D9gsXkrK": - "Closed community" + "status.app://c/G0UAAMTyNsn2QZDEG0EXftOl8pOEfwEBOOSA_YTfIk85xmADDgINGmxpUHAXzK36bN0fK42Xf4YD2yjPk1z2pbFwFw==#zQ3shZU9PNP6QHwEmqoh5mQqjCMDsfZYnpY4BEC8hom7KoNEz": + "open community", + "status.app://c/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shTK1zXmLq2yZWMij65j1LNtmvuG6x71Nmg2fwtKs32wHj": + "closed community" } for link, text in community_links.items(): self.channel.just_fyi("Opening community '%s' by the link %s" % (text, link))