diff --git a/test/appium/tests/atomic/chats/test_commands.py b/test/appium/tests/atomic/chats/test_commands.py index 451e5b0a71..15a44248d3 100644 --- a/test/appium/tests/atomic/chats/test_commands.py +++ b/test/appium/tests/atomic/chats/test_commands.py @@ -185,14 +185,13 @@ class TestCommandsMultipleDevices(MultipleDeviceTestCase): send_transaction.confirm() send_transaction.sign_transaction_button.click() chat_1_sender_message = chat_1.get_outgoing_transaction() - # TODO: PN is waiting for #11175 - # home_1.click_system_home_button() + home_1.click_system_home_button() chat_2 = home_2.get_chat(sender['username']).click() chat_2_receiver_message = chat_2.get_incoming_transaction() chat_2_receiver_message.decline_transaction.click() - # home_1.open_notification_bar() - # home_1.element_by_text_part('Request address for transaction declined').wait_and_click() + home_1.open_notification_bar() + home_1.element_by_text_part('Request address for transaction declined').wait_and_click() [message.transaction_status.wait_for_element_text(message.declined) for message in (chat_1_sender_message, chat_2_receiver_message)] diff --git a/test/appium/tests/atomic/chats/test_keycard_commands.py b/test/appium/tests/atomic/chats/test_keycard_commands.py index 2345c5d4d5..4d0b7c0dff 100644 --- a/test/appium/tests/atomic/chats/test_keycard_commands.py +++ b/test/appium/tests/atomic/chats/test_keycard_commands.py @@ -131,12 +131,11 @@ class TestCommandsMultipleDevices(MultipleDeviceTestCase): home_2.just_fyi('Check that transaction message is fetched from offline and sign transaction') profile_2.airplane_mode_button.click() - # TODO: PN is waiting for #11175 - #transaction_request_pn = 'Request transaction' - # device_2.open_notification_bar() - # if not device_2.element_by_text(transaction_request_pn).is_element_displayed(60): - # self.errors.append("Push notification is not received after going back from offline") - # device_2.element_by_text(transaction_request_pn).click() + transaction_request_pn = 'Request transaction' + device_2.open_notification_bar() + if not device_2.element_by_text(transaction_request_pn).is_element_displayed(60): + self.errors.append("Push notification is not received after going back from offline") + device_2.element_by_text(transaction_request_pn).click() home_2.connection_offline_icon.wait_for_invisibility_of_element(120) home_2.get_chat(recipient_username).click() chat_2_sender_message = chat_2.get_outgoing_transaction() diff --git a/test/appium/views/wallet_view.py b/test/appium/views/wallet_view.py index 9aa3df1c1f..5dc6241c00 100644 --- a/test/appium/views/wallet_view.py +++ b/test/appium/views/wallet_view.py @@ -167,6 +167,7 @@ class WalletView(BaseView): if (counter/60).is_integer(): self.pull_to_refresh() counter+=20 + self.wallet_button.double_click() counter += 10 time.sleep(10) self.driver.info('*Waiting %ss for %s updated balance*' % (counter,asset))