diff --git a/test/appium/support/test_rerun.py b/test/appium/support/test_rerun.py index e22e495bf7..9ed9a9f6b4 100644 --- a/test/appium/support/test_rerun.py +++ b/test/appium/support/test_rerun.py @@ -16,7 +16,8 @@ RERUN_ERRORS = [ "object has no attribute", "[Errno 104] Connection reset by peer", "Sauce could not start your job", - "HTTP Error 303" + "HTTP Error 303", + "http.client.RemoteDisconnected: Remote end closed connection without response" ] diff --git a/test/appium/tests/atomic/account_management/test_profile.py b/test/appium/tests/atomic/account_management/test_profile.py index d2be581b46..5eadd21fa5 100644 --- a/test/appium/tests/atomic/account_management/test_profile.py +++ b/test/appium/tests/atomic/account_management/test_profile.py @@ -103,7 +103,8 @@ class TestProfileSingleDevice(SingleDeviceTestCase): self.errors.append('Profile button counter is not shown') profile_view = sign_in_view.profile_button.click() profile_view.logout() - sign_in_view.click_account_by_position(0) + if sign_in_view.ok_button.is_element_displayed(): + sign_in_view.ok_button.click() sign_in_view.sign_in() if sign_in_view.profile_button.counter.text != '1': self.errors.append('Profile button counter is not shown after relogin') @@ -190,7 +191,6 @@ class TestProfileSingleDevice(SingleDeviceTestCase): profile_view.find_text_part('Questions around beta') @marks.testrail_id(1416) - @marks.smoke_1 def test_contact_profile_view(self): sign_in_view = SignInView(self.driver) sign_in_view.create_user() diff --git a/test/appium/tests/atomic/chats/test_chats_management.py b/test/appium/tests/atomic/chats/test_chats_management.py index c930a23cb6..b595162cfe 100644 --- a/test/appium/tests/atomic/chats/test_chats_management.py +++ b/test/appium/tests/atomic/chats/test_chats_management.py @@ -55,7 +55,8 @@ class TestChatManagement(SingleDeviceTestCase): home.get_chat_with_user('#' + chat_name).swipe_and_delete() profile = home.profile_button.click() profile.logout() - sign_in.click_account_by_position(0) + if sign_in.ok_button.is_element_displayed(): + sign_in.ok_button.click() sign_in.sign_in() if home.get_chat_with_user('#' + chat_name).is_element_displayed(): self.errors.append('Deleted public chat is present after relogin') diff --git a/test/appium/tests/atomic/chats/test_commands.py b/test/appium/tests/atomic/chats/test_commands.py index ce2c8abcf5..c75f3ddfb9 100644 --- a/test/appium/tests/atomic/chats/test_commands.py +++ b/test/appium/tests/atomic/chats/test_commands.py @@ -25,7 +25,8 @@ class TestCommandsMultipleDevices(MultipleDeviceTestCase): public_key = device_2_home.get_public_key() device_2_profile = device_2_home.get_profile_view() device_2_profile.switch_network('Mainnet with upstream RPC') - device_2_sign_in.click_account_by_position(0) + if device_2_sign_in.ok_button.is_element_displayed(): + device_2_sign_in.ok_button.click() device_2_sign_in.sign_in() device_1_chat = device_1_home.add_contact(public_key) diff --git a/test/appium/tests/atomic/transactions/test_wallet.py b/test/appium/tests/atomic/transactions/test_wallet.py index d55e21f803..010ec619ef 100644 --- a/test/appium/tests/atomic/transactions/test_wallet.py +++ b/test/appium/tests/atomic/transactions/test_wallet.py @@ -285,9 +285,8 @@ class TestTransactionWalletMultipleDevice(MultipleDeviceTestCase): send_transaction.amount_edit_box.set_value(amount) send_transaction.confirm() send_transaction.chose_recipient_button.click() - send_transaction.enter_recipient_address_button.click() - send_transaction.enter_recipient_address_input.set_value(recipient['address']) - send_transaction.done_button.click() + send_transaction.recent_recipients_button.click() + send_transaction.element_by_text_part(recipient['username']).click() send_transaction.sign_transaction(sender['password']) wallet_1.home_button.click()