diff --git a/test/appium/tests/atomic/account_management/test_profile.py b/test/appium/tests/atomic/account_management/test_profile.py index 97a197b32f..eb8b86eec8 100644 --- a/test/appium/tests/atomic/account_management/test_profile.py +++ b/test/appium/tests/atomic/account_management/test_profile.py @@ -310,22 +310,6 @@ class TestProfileSingleDevice(SingleDeviceTestCase): if not base_web_view.policy_summary.is_element_displayed(): self.errors.append('{} Profile about view!'.format(no_link_open_error_msg)) - base_web_view.click_system_back_button() - if about_view.privacy_policy_button.is_element_displayed(): - base_web_view.click_system_back_button() - profile.logout() - if signin_view.ok_button.is_element_displayed(): - signin_view.ok_button.click() - signin_view.back_button.click() - signin_view.generate_new_key_button.click() - - if not signin_view.privacy_policy_link.is_element_displayed(): - self.driver.fail('{} Sign in view!'.format(no_link_found_error_msg)) - - signin_view.privacy_policy_link.click() - if not base_web_view.policy_summary.is_element_displayed(): - self.errors.append('{} Sign in view!'.format(no_link_open_error_msg)) - self.verify_no_errors() @marks.testrail_id(5738) diff --git a/test/appium/tests/atomic/chats/test_chats_management.py b/test/appium/tests/atomic/chats/test_chats_management.py index a96aa59851..ccd93a6ad2 100644 --- a/test/appium/tests/atomic/chats/test_chats_management.py +++ b/test/appium/tests/atomic/chats/test_chats_management.py @@ -180,6 +180,17 @@ class TestChatManagement(SingleDeviceTestCase): home.search_chat_input.clear() self.verify_no_errors() + @marks.testrail_id(6221) + @marks.medium + def test_app_on_background_by_back_button(self): + sign_in = SignInView(self.driver) + home = sign_in.create_user() + home.click_system_back_button() + home.driver.press_keycode(187) + home.element_by_text('Status PR').click() + if not home.plus_button.is_element_displayed(): + self.driver.fail('Chats view was not opened') + @marks.chat class TestChatManagementMultipleDevice(MultipleDeviceTestCase): diff --git a/test/appium/tests/atomic/dapps_and_browsing/test_deep_links.py b/test/appium/tests/atomic/dapps_and_browsing/test_deep_links.py index 5ea0d59760..77f6c66632 100644 --- a/test/appium/tests/atomic/dapps_and_browsing/test_deep_links.py +++ b/test/appium/tests/atomic/dapps_and_browsing/test_deep_links.py @@ -33,7 +33,7 @@ class TestDeepLinks(SingleDeviceTestCase): deep_link = 'https://get.status.im/user/%s' % basic_user['public_key'] sign_in_view.open_weblink_and_login(deep_link) chat_view = sign_in_view.get_chat_view() - for text in basic_user['username'], 'Add to contacts', 'Send transaction': + for text in basic_user['username'], 'Add to contacts': if not chat_view.element_by_text(text).scroll_to_element(10): pytest.fail("User profile screen is not opened")