From d8713fe3c71f156e1d9264bbf234fa0da8a0df53 Mon Sep 17 00:00:00 2001 From: Serhy Date: Tue, 3 Nov 2020 15:37:37 +0200 Subject: [PATCH] Fix more e2e Signed-off-by: andrey --- test/appium/tests/atomic/chats/test_chats_management.py | 2 +- test/appium/tests/atomic/chats/test_commands.py | 2 +- test/appium/tests/atomic/chats/test_keycard_commands.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/appium/tests/atomic/chats/test_chats_management.py b/test/appium/tests/atomic/chats/test_chats_management.py index 863d1f4163..07c3b7c785 100644 --- a/test/appium/tests/atomic/chats/test_chats_management.py +++ b/test/appium/tests/atomic/chats/test_chats_management.py @@ -634,7 +634,7 @@ class TestChatManagementMultipleDevice(MultipleDeviceTestCase): userprofile.back_button.click() if profile_1.element_by_text(username_2).is_element_displayed(): self.errors.append('List of contacts in profile contains removed user') - profile_1.home_button.click() + profile_1.home_button.click(desired_view='chat') if not chat_1.add_to_contacts.is_element_displayed(): self.errors.append('"Add to contacts" button is not shown in 1-1 after removing user from contacts') home_1.get_back_to_home_view() diff --git a/test/appium/tests/atomic/chats/test_commands.py b/test/appium/tests/atomic/chats/test_commands.py index 77b95281dc..c55dd6f35b 100644 --- a/test/appium/tests/atomic/chats/test_commands.py +++ b/test/appium/tests/atomic/chats/test_commands.py @@ -129,7 +129,7 @@ class TestCommandsMultipleDevices(MultipleDeviceTestCase): transactions_view = wallet_1.transaction_history_button.click() transactions_view.transactions_table.find_transaction(amount=amount) self.network_api.wait_for_confirmation_of_transaction(sender['address'], amount) - wallet_1.home_button.click() + wallet_1.home_button.click(desired_view="chat") home_1.just_fyi("Check 'Confirmed' state for sender") if chat_1_sender_message.transaction_status.text != 'Confirmed': diff --git a/test/appium/tests/atomic/chats/test_keycard_commands.py b/test/appium/tests/atomic/chats/test_keycard_commands.py index 6bdf08e8d9..c3db27df99 100644 --- a/test/appium/tests/atomic/chats/test_keycard_commands.py +++ b/test/appium/tests/atomic/chats/test_keycard_commands.py @@ -85,7 +85,7 @@ class TestCommandsMultipleDevices(MultipleDeviceTestCase): transactions_view = wallet_1.transaction_history_button.click() transactions_view.transactions_table.find_transaction(amount=amount) self.network_api.wait_for_confirmation_of_transaction(sender['address'], amount) - wallet_1.home_button.click() + wallet_1.home_button.click(desired_view='chat') home_1.just_fyi("Check 'Confirmed' state for sender") if chat_1_sender_message.transaction_status.text != 'Confirmed':