diff --git a/test/appium/tests/atomic/account_management/test_profile.py b/test/appium/tests/atomic/account_management/test_profile.py index 8b9748f2d0..b24e7d22a1 100644 --- a/test/appium/tests/atomic/account_management/test_profile.py +++ b/test/appium/tests/atomic/account_management/test_profile.py @@ -325,7 +325,8 @@ class TestProfileMultipleDevice(MultipleDeviceTestCase): profile_1.mail_server_by_name(server_name).click() profile_1.mail_server_connect_button.click() profile_1.confirm_button.click() - sign_in_1.sign_in() + profile_1.get_back_to_home_view() + profile_1.home_button.click() chat_1 = home_1.add_contact(public_key) message = 'test message' 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 76d644b35d..62282078d1 100644 --- a/test/appium/tests/atomic/chats/test_one_to_one.py +++ b/test/appium/tests/atomic/chats/test_one_to_one.py @@ -201,9 +201,9 @@ class TestMessagesOneToOneChatMultiple(MultipleDeviceTestCase): chat_2.element_starts_with_text(url_message, 'button').click() web_view = chat_2.open_in_status_button.click() try: - web_view.find_full_text('Status, the Ethereum discovery tool.') + web_view.find_full_text('Access a Better Web, Anywhere') except TimeoutException: - self.errors.append('URL was not opened from 1-1 chat') + self.errors.append('Device 2: URL was not opened from 1-1 chat') web_view.back_to_home_button.click() chat_2.get_back_to_home_view() @@ -215,9 +215,9 @@ class TestMessagesOneToOneChatMultiple(MultipleDeviceTestCase): chat_1.element_starts_with_text(url_message, 'button').click() web_view = chat_1.open_in_status_button.click() try: - web_view.find_full_text('Status, the Ethereum discovery tool.') + web_view.find_full_text('Access a Better Web, Anywhere') except TimeoutException: - self.errors.append('URL was not opened from 1-1 chat') + self.errors.append('Device 1: URL was not opened from 1-1 chat') self.verify_no_errors() @marks.testrail_id(5326) diff --git a/test/appium/tests/atomic/transactions/test_daaps_transactions.py b/test/appium/tests/atomic/transactions/test_daaps_transactions.py index f41321be1d..fd94241977 100644 --- a/test/appium/tests/atomic/transactions/test_daaps_transactions.py +++ b/test/appium/tests/atomic/transactions/test_daaps_transactions.py @@ -110,38 +110,27 @@ class TestTransactionDApp(SingleDeviceTestCase): @marks.testrail_id(5355) @marks.critical - def test_onboarding_screen_is_shown_for_account_when_requesting_tokens(self): + def test_onboarding_screen_when_requesting_tokens_for_new_account(self): signin_view = SignInView(self.driver) home_view = signin_view.create_user() status_test_dapp = home_view.open_status_test_dapp() status_test_dapp.wait_for_d_aap_to_load() status_test_dapp.assets_button.click() send_transaction_view = status_test_dapp.request_stt_button.click() - - onboarding_screen_error_msg = 'It seems onborading screen is not shown.' - if not send_transaction_view.onboarding_message.is_element_displayed(): - self.driver.fail(onboarding_screen_error_msg) + self.driver.fail('It seems onboarding screen is not shown.') - send_transaction_view.click_system_back_button() - if not status_test_dapp.assets_button.is_element_displayed(): - self.driver.fail('Could not back to status test dapp screen.') - - status_test_dapp.click_system_back_button() - profile = home_view.profile_button.click() - signin_view = profile.logout() - - sender = transaction_senders['U'] - passphrase = sender['passphrase'] - - home_view = signin_view.recover_access(passphrase=passphrase) + @marks.testrail_id(5677) + @marks.high + def test_onboarding_screen_when_requesting_tokens_for_recovered_account(self): + signin_view = SignInView(self.driver) + home_view = signin_view.recover_access(passphrase=transaction_senders['U']['passphrase']) status_test_dapp = home_view.open_status_test_dapp() status_test_dapp.wait_for_d_aap_to_load() status_test_dapp.assets_button.click() send_transaction_view = status_test_dapp.request_stt_button.click() - if not send_transaction_view.onboarding_message.is_element_displayed(): - self.driver.fail(onboarding_screen_error_msg) + self.driver.fail('It seems onboarding screen is not shown.') @marks.testrail_id(5380) @marks.high