mirror of
https://github.com/status-im/status-react.git
synced 2025-01-24 01:39:12 +00:00
e2e: fixes for backup users and unread indicator tests
This commit is contained in:
parent
e64ff76e0b
commit
ca2ed9d37e
@ -388,9 +388,9 @@ class TestCommunityOneDeviceMerged(MultipleSharedDeviceTestCase):
|
|||||||
else:
|
else:
|
||||||
chat = self.home.get_chat_view()
|
chat = self.home.get_chat_view()
|
||||||
chat.profile_send_message_button.click()
|
chat.profile_send_message_button.click()
|
||||||
shown_name_text = chat.user_name_text_new_UI.text
|
for name in waku_user.contacts:
|
||||||
if shown_name_text in waku_user.contacts:
|
if chat.element_starts_with_text(name).is_element_displayed(sec=20):
|
||||||
waku_user.contacts.remove(shown_name_text)
|
waku_user.contacts.remove(name)
|
||||||
continue
|
continue
|
||||||
if waku_user.contacts:
|
if waku_user.contacts:
|
||||||
self.errors.append(
|
self.errors.append(
|
||||||
@ -814,7 +814,6 @@ class TestCommunityMultipleDeviceMerged(MultipleSharedDeviceTestCase):
|
|||||||
def test_community_mark_all_messages_as_read(self):
|
def test_community_mark_all_messages_as_read(self):
|
||||||
self.channel_1.click_system_back_button_until_element_is_shown()
|
self.channel_1.click_system_back_button_until_element_is_shown()
|
||||||
self.home_1.communities_tab.click()
|
self.home_1.communities_tab.click()
|
||||||
if not self.channel_2.chat_message_input.is_element_displayed():
|
|
||||||
self.channel_2.click_system_back_button_until_element_is_shown()
|
self.channel_2.click_system_back_button_until_element_is_shown()
|
||||||
self.home_2.communities_tab.click()
|
self.home_2.communities_tab.click()
|
||||||
self.home_2.get_chat(self.community_name, community=True).click()
|
self.home_2.get_chat(self.community_name, community=True).click()
|
||||||
|
@ -7,5 +7,5 @@ communities = {
|
|||||||
'member_closed': 'test_comm_enc',
|
'member_closed': 'test_comm_enc',
|
||||||
'member_pending': 'RC1 testing community'
|
'member_pending': 'RC1 testing community'
|
||||||
}
|
}
|
||||||
contacts = ['Test_contact', 'my-custom-nickname']
|
contacts = ['Test_contact', 'MyCustomNickname']
|
||||||
blocked_user = 'Clear Flat Milkweedbug'
|
blocked_user = 'Clear Flat Milkweedbug'
|
Loading…
x
Reference in New Issue
Block a user