From 4960f5a59c4bfbcccd6c3928bd8e3d769092f5f7 Mon Sep 17 00:00:00 2001 From: Churikova Tetiana Date: Fri, 13 Jan 2023 19:22:00 +0100 Subject: [PATCH] e2e: fixes for mutual contacts --- test/appium/tests/critical/chats/test_1_1_public_chats.py | 4 ++-- test/appium/tests/medium/test_activity_center.py | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/test/appium/tests/critical/chats/test_1_1_public_chats.py b/test/appium/tests/critical/chats/test_1_1_public_chats.py index 670aca5016..a72b3c8401 100644 --- a/test/appium/tests/critical/chats/test_1_1_public_chats.py +++ b/test/appium/tests/critical/chats/test_1_1_public_chats.py @@ -1245,14 +1245,14 @@ class TestOneToOneChatMultipleSharedDevicesNewUi(MultipleSharedDeviceTestCase): self.profile_1.just_fyi("Sending contact request via Profile > Contacts") self.profile_1.click_system_back_button_until_element_is_shown(self.profile_1.contacts_button) self.profile_1.add_contact_via_contacts_list(self.public_key_2) - self.chat_1 = self.profile_1.open_contact_from_profile(self.default_username_2) self.home_2.just_fyi("Accepting contact request from activity centre") self.home_2.chats_tab.click() self.home_2.handle_contact_request(self.default_username_1) self.profile_1.just_fyi("Sending message to contact via Profile > Contacts > Send message") - self.chat_1.profile_send_message.click() + self.home_1.chats_tab.click() + self.chat_1 = self.home_1.get_chat(self.default_username_2).click() self.chat_1.send_message('hey') self.home_2.click_system_back_button_until_element_is_shown() self.chat_2 = self.home_2.get_chat(self.default_username_1).click() diff --git a/test/appium/tests/medium/test_activity_center.py b/test/appium/tests/medium/test_activity_center.py index b571a8a1db..810f99f640 100644 --- a/test/appium/tests/medium/test_activity_center.py +++ b/test/appium/tests/medium/test_activity_center.py @@ -232,13 +232,6 @@ class TestActivityCenterMultipleDevicePR(MultipleSharedDeviceTestCase): if indicator.is_element_displayed(): self.errors.append("Unread indicator on contacts tab or on activity center is shown after declining contact request!") - self.device_1.just_fyi("Device 2: remove device1 from Contact list") - self.home_2.contacts_tab.click() - self.home_2.contact_details(self.default_username_1).click() - self.home_2.element_by_translation_id("remove-from-contacts").click() - if not self.home_2.element_by_translation_id("no-contacts").is_element_displayed(30): - self.errors.append("Contact was not removed from contact list") - self.errors.verify_no_errors() @marks.testrail_id(702851)