e2e: fixes for community,wallet and removed outdated xfails
This commit is contained in:
parent
b255874e95
commit
3b3a39e37b
|
@ -136,9 +136,10 @@ class NetworkApi:
|
||||||
self.log('Balance is updated!')
|
self.log('Balance is updated!')
|
||||||
return
|
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):
|
for _ in range(5):
|
||||||
balance = self.get_balance(address)
|
balance = round(self.get_balance(address), 4)
|
||||||
if balance == expected_balance:
|
if balance == expected_balance:
|
||||||
return
|
return
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
|
|
|
@ -74,8 +74,6 @@ class TestGroupChatMultipleDeviceMergedNewUI(MultipleSharedDeviceTestCase):
|
||||||
self.chats[0].send_message(self.message_before_adding)
|
self.chats[0].send_message(self.message_before_adding)
|
||||||
|
|
||||||
@marks.testrail_id(702807)
|
@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):
|
def test_group_chat_join_send_text_messages_push(self):
|
||||||
message_to_admin = self.message_to_admin
|
message_to_admin = self.message_to_admin
|
||||||
[self.homes[i].navigate_back_to_home_view() for i in range(3)]
|
[self.homes[i].navigate_back_to_home_view() for i in range(3)]
|
||||||
|
|
|
@ -1022,8 +1022,6 @@ class TestCommunityMultipleDeviceMergedTwo(MultipleSharedDeviceTestCase):
|
||||||
self.errors.verify_no_errors()
|
self.errors.verify_no_errors()
|
||||||
|
|
||||||
@marks.testrail_id(702948)
|
@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):
|
def test_community_hashtag_links_to_community_channels(self):
|
||||||
for home in self.homes:
|
for home in self.homes:
|
||||||
home.navigate_back_to_home_view()
|
home.navigate_back_to_home_view()
|
||||||
|
@ -1124,8 +1122,6 @@ class TestCommunityMultipleDeviceMergedTwo(MultipleSharedDeviceTestCase):
|
||||||
self.errors.verify_no_errors()
|
self.errors.verify_no_errors()
|
||||||
|
|
||||||
@marks.testrail_id(703629)
|
@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):
|
def test_community_join_when_node_owner_offline(self):
|
||||||
for home in self.homes:
|
for home in self.homes:
|
||||||
home.navigate_back_to_home_view()
|
home.navigate_back_to_home_view()
|
||||||
|
|
|
@ -50,10 +50,10 @@ class TestDeepLinksOneDevice(MultipleSharedDeviceTestCase):
|
||||||
community_urls = {
|
community_urls = {
|
||||||
"https://status.app/c/G0IAAGS9TbI9SrSPbDPplfBUeBBOIWhFRhGIKVlxntAg5CSvsJw4jurb636UKo7Lm2gTUS_M#zQ3shm7cS2MX6K1iinjNhiw88g1WH6fbE8rvnMHBq4RhznkWc":
|
"https://status.app/c/G0IAAGS9TbI9SrSPbDPplfBUeBBOIWhFRhGIKVlxntAg5CSvsJw4jurb636UKo7Lm2gTUS_M#zQ3shm7cS2MX6K1iinjNhiw88g1WH6fbE8rvnMHBq4RhznkWc":
|
||||||
"token-gated community e2e",
|
"token-gated community e2e",
|
||||||
"https://status.app/c/GzwAAGS9TbI9CiYaoZj0TRNelWAPwk8gSHIEmqgqb0ADPw5rnFvk6bp_n3BlZxVMshmxFyI=#zQ3shkrmSmwb66sw2EuUvC5iqiNqEeevTfjtks3p8ZaaCYoNj":
|
"https://status.app/c/G0UAAMTyNsn2QZDEG0EXftOl8pOEfwEBOOSA_YTfIk85xmADDgINGmxpUHAXzK36bN0fK42Xf4YD2yjPk1z2pbFwFw==#zQ3shZU9PNP6QHwEmqoh5mQqjCMDsfZYnpY4BEC8hom7KoNEz":
|
||||||
"Open community for e2e",
|
"open community",
|
||||||
"https://status.app/c/GzAAAORtwyW4xNWM4td0F7hOnYZ1apSqCCRUUR0qxD19n3Ec97fX_aIVIGFWbdUM#zQ3shk6dgK8dYWWSC4m8Jj5c91zyfhfj1fFkgypS8D9gsXkrK":
|
"https://status.app/c/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shTK1zXmLq2yZWMij65j1LNtmvuG6x71Nmg2fwtKs32wHj":
|
||||||
"Closed community"
|
"closed community"
|
||||||
}
|
}
|
||||||
for url, text in community_urls.items():
|
for url, text in community_urls.items():
|
||||||
self.channel.just_fyi("Opening community '%s' by the url %s" % (text, url))
|
self.channel.just_fyi("Opening community '%s' by the url %s" % (text, url))
|
||||||
|
@ -97,10 +97,10 @@ class TestDeepLinksOneDevice(MultipleSharedDeviceTestCase):
|
||||||
community_links = {
|
community_links = {
|
||||||
"status.app://c/G0IAAGS9TbI9SrSPbDPplfBUeBBOIWhFRhGIKVlxntAg5CSvsJw4jurb636UKo7Lm2gTUS_M#zQ3shm7cS2MX6K1iinjNhiw88g1WH6fbE8rvnMHBq4RhznkWc":
|
"status.app://c/G0IAAGS9TbI9SrSPbDPplfBUeBBOIWhFRhGIKVlxntAg5CSvsJw4jurb636UKo7Lm2gTUS_M#zQ3shm7cS2MX6K1iinjNhiw88g1WH6fbE8rvnMHBq4RhznkWc":
|
||||||
"token-gated community e2e",
|
"token-gated community e2e",
|
||||||
"status.app://c/GzwAAGS9TbI9CiYaoZj0TRNelWAPwk8gSHIEmqgqb0ADPw5rnFvk6bp_n3BlZxVMshmxFyI=#zQ3shkrmSmwb66sw2EuUvC5iqiNqEeevTfjtks3p8ZaaCYoNj":
|
"status.app://c/G0UAAMTyNsn2QZDEG0EXftOl8pOEfwEBOOSA_YTfIk85xmADDgINGmxpUHAXzK36bN0fK42Xf4YD2yjPk1z2pbFwFw==#zQ3shZU9PNP6QHwEmqoh5mQqjCMDsfZYnpY4BEC8hom7KoNEz":
|
||||||
"Open community for e2e",
|
"open community",
|
||||||
"status.app://c/GzAAAORtwyW4xNWM4td0F7hOnYZ1apSqCCRUUR0qxD19n3Ec97fX_aIVIGFWbdUM#zQ3shk6dgK8dYWWSC4m8Jj5c91zyfhfj1fFkgypS8D9gsXkrK":
|
"status.app://c/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shTK1zXmLq2yZWMij65j1LNtmvuG6x71Nmg2fwtKs32wHj":
|
||||||
"Closed community"
|
"closed community"
|
||||||
}
|
}
|
||||||
for link, text in community_links.items():
|
for link, text in community_links.items():
|
||||||
self.channel.just_fyi("Opening community '%s' by the link %s" % (text, link))
|
self.channel.just_fyi("Opening community '%s' by the link %s" % (text, link))
|
||||||
|
|
Loading…
Reference in New Issue