e2e: fixes 12.09

This commit is contained in:
Yevheniia Berdnyk 2023-09-12 15:39:00 +03:00
parent dd1f938e85
commit 2c52001e22
No known key found for this signature in database
GPG Key ID: 0642C73C66214825
4 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,5 @@
import datetime
import random
import time
from datetime import timedelta
import emoji
@ -891,6 +890,7 @@ class TestCommunityMultipleDeviceMerged(MultipleSharedDeviceTestCase):
channel_1_element.click()
self.errors.verify_no_errors()
@marks.xfail(reason="Message can be missed after unblock: https://github.com/status-im/status-mobile/issues/16873")
@marks.testrail_id(702894)
def test_community_contact_block_unblock_offline(self):
for i, channel in enumerate([self.channel_1, self.channel_2]):

View File

@ -382,7 +382,7 @@ class TestActivityMultipleDevicePRTwo(MultipleSharedDeviceTestCase):
self.home_2.chats_tab.click()
self.chat_2 = self.home_2.get_chat(self.username_1).click()
self.chat_2.chat_element_by_text(community_name).view_community_button.wait_and_click(sec=60)
self.community_2.join_community()
self.community_2.join_community(open_community=False)
for home in self.home_1, self.home_2:
home.navigate_back_to_home_view()
home.communities_tab.click()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@ -359,7 +359,7 @@ class HomeView(BaseView):
if self.toast_content_element.is_element_displayed(10):
self.toast_content_element.wait_for_invisibility_of_element()
if self.notifications_unread_badge.is_element_displayed(30):
self.open_activity_center_button.click()
self.open_activity_center_button.click_until_presence_of_element(self.close_activity_centre)
chat_element = ActivityCenterElement(self.driver, username[:25])
try:
if action == 'accept':