e2e: e2e fixes

This commit is contained in:
pavloburykh 2022-09-23 13:05:40 +03:00
parent 9a1f0a337e
commit 9fea5c9704
No known key found for this signature in database
GPG Key ID: 11D9383A6FB7F1D8
3 changed files with 5 additions and 3 deletions

View File

@ -529,7 +529,7 @@ class TestOneToOneChatMultipleSharedDevices(MultipleSharedDeviceTestCase):
self.home_2.just_fyi('check share and save options on opened image')
self.chat_2.image_message_in_chat.scroll_to_element(direction='up')
self.chat_2.image_message_in_chat.click()
self.chat_2.image_message_in_chat.click_until_presence_of_element(self.chat_2.share_image_icon_button)
self.chat_2.share_image_icon_button.click()
self.chat_2.share_via_messenger()
if not self.chat_2.image_in_android_messenger.is_element_present():

View File

@ -153,7 +153,7 @@ class TestActivityCenterMultipleDeviceMedium(MultipleSharedDeviceTestCase):
self.home_1.just_fyi("Device1 checks unread indicator on Activity center bell")
if not self.home_1.notifications_unread_badge.is_element_displayed():
self.errors.append("Unread badge is NOT shown after receiving mentions from Group")
self.home_1.notifications_unread_badge.click_until_absense_of_element(self.home_1.plus_button)
self.home_1.notifications_unread_badge.click_until_absense_of_element(self.home_1.plus_button, 6)
self.home_1.just_fyi("Check that notification from group is presented in Activity Center")
if not self.home_1.get_chat_from_activity_center_view(
@ -172,6 +172,6 @@ class TestActivityCenterMultipleDeviceMedium(MultipleSharedDeviceTestCase):
self.home_1.just_fyi("Check there is an empty view on Activity Center")
self.home_1.notifications_button.click()
if not self.home_1.element_by_translation_id('empty-activity-center').is_element_present():
self.errors.append("Activity Center still has some chats after user opened all of them")
self.errors.append("Activity Center still has some chats after user has opened all of them")
self.errors.verify_no_errors()

View File

@ -863,6 +863,8 @@ class TestChatKeycardMentionsMediumMultipleDevice(MultipleSharedDeviceTestCase):
self.home_2 = self.device_2.recover_access(passphrase=self.sender['passphrase'],
keycard=True, enable_notifications=True)
self.home_2.element_by_text_part('Background service').wait_for_invisibility_of_element()
[home.ens_banner_close_button.click_if_shown() for home in (self.home_1, self.home_2)]
self.wallet_2 = self.home_2.wallet_button.click()