From 6f86f73ac6489b89b9e54902c346b0c13601feed Mon Sep 17 00:00:00 2001 From: Serhy Date: Mon, 2 Nov 2020 19:12:24 +0200 Subject: [PATCH] Update e2e --- test/appium/tests/atomic/account_management/test_profile.py | 2 +- test/appium/tests/atomic/chats/test_one_to_one.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/appium/tests/atomic/account_management/test_profile.py b/test/appium/tests/atomic/account_management/test_profile.py index 52ebda4541..5ba4230924 100644 --- a/test/appium/tests/atomic/account_management/test_profile.py +++ b/test/appium/tests/atomic/account_management/test_profile.py @@ -1183,7 +1183,7 @@ class TestProfileMultipleDevice(MultipleDeviceTestCase): for name in (nickname, ens_name): if not profile_2.element_by_text(name).is_element_displayed(): self.errors.append('%s is not shown in contact list' % name) - profile_2.home_button.click() + profile_2.home_button.click(desired_view='chat') if chat_2_one_to_one.user_name_text.text != nickname: self.errors.append('Nickname for user with ENS is not shown in 1-1 chat header') chat_2_one_to_one.chat_options.click() diff --git a/test/appium/tests/atomic/chats/test_one_to_one.py b/test/appium/tests/atomic/chats/test_one_to_one.py index b642bf15b3..ae1a0575bc 100644 --- a/test/appium/tests/atomic/chats/test_one_to_one.py +++ b/test/appium/tests/atomic/chats/test_one_to_one.py @@ -458,7 +458,6 @@ class TestMessagesOneToOneChatMultiple(MultipleDeviceTestCase): self.errors.append('Device 2: URL was not opened from 1-1 chat') web_view.back_to_home_button.click() chat_2.home_button.click() - chat_2.back_button.click() chat_name = ''.join(random.choice(string.ascii_lowercase) for _ in range(7)) home_1.join_public_chat(chat_name)