e2e: fixes 12.09
This commit is contained in:
parent
dd1f938e85
commit
2c52001e22
|
@ -1,6 +1,5 @@
|
||||||
import datetime
|
import datetime
|
||||||
import random
|
import random
|
||||||
import time
|
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
|
|
||||||
import emoji
|
import emoji
|
||||||
|
@ -891,6 +890,7 @@ class TestCommunityMultipleDeviceMerged(MultipleSharedDeviceTestCase):
|
||||||
channel_1_element.click()
|
channel_1_element.click()
|
||||||
self.errors.verify_no_errors()
|
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)
|
@marks.testrail_id(702894)
|
||||||
def test_community_contact_block_unblock_offline(self):
|
def test_community_contact_block_unblock_offline(self):
|
||||||
for i, channel in enumerate([self.channel_1, self.channel_2]):
|
for i, channel in enumerate([self.channel_1, self.channel_2]):
|
||||||
|
|
|
@ -382,7 +382,7 @@ class TestActivityMultipleDevicePRTwo(MultipleSharedDeviceTestCase):
|
||||||
self.home_2.chats_tab.click()
|
self.home_2.chats_tab.click()
|
||||||
self.chat_2 = self.home_2.get_chat(self.username_1).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.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:
|
for home in self.home_1, self.home_2:
|
||||||
home.navigate_back_to_home_view()
|
home.navigate_back_to_home_view()
|
||||||
home.communities_tab.click()
|
home.communities_tab.click()
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.1 KiB |
|
@ -359,7 +359,7 @@ class HomeView(BaseView):
|
||||||
if self.toast_content_element.is_element_displayed(10):
|
if self.toast_content_element.is_element_displayed(10):
|
||||||
self.toast_content_element.wait_for_invisibility_of_element()
|
self.toast_content_element.wait_for_invisibility_of_element()
|
||||||
if self.notifications_unread_badge.is_element_displayed(30):
|
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])
|
chat_element = ActivityCenterElement(self.driver, username[:25])
|
||||||
try:
|
try:
|
||||||
if action == 'accept':
|
if action == 'accept':
|
||||||
|
|
Loading…
Reference in New Issue