chore: removed unnecessary steps, brought back commented ones

This commit is contained in:
Anastasiya Semenkevich 2024-06-11 17:02:30 +03:00 committed by Anastasiya
parent 60b1ec82ec
commit 19f6cf9e11
3 changed files with 8 additions and 16 deletions

View File

@ -133,6 +133,3 @@ def test_generate_new_keys_sign_out_from_settings(aut, main_window, keys_screen,
with step('Click sign out and quit in settings'): with step('Click sign out and quit in settings'):
sign_out_screen = settings.left_panel.open_sign_out_and_quit() sign_out_screen = settings.left_panel.open_sign_out_and_quit()
sign_out_screen.sign_out_and_quit() sign_out_screen.sign_out_and_quit()
with step('Check the application process is not running'):
psutil.Process(aut.pid).wait(timeout=30)

View File

@ -69,14 +69,12 @@ def test_import_seed_phrase(keys_screen, main_window, aut: AUT, user_account, de
profile_popup = user_canvas.open_profile_popup_from_online_identifier() profile_popup = user_canvas.open_profile_popup_from_online_identifier()
assert profile_popup.user_name == user_account.name assert profile_popup.user_name == user_account.name
# TODO: https://github.com/status-im/status-desktop/issues/15124 with step('Restart application and try re-importing seed phrase again'):
# TODO: https://github.com/status-im/status-desktop/issues/15131 aut.restart()
# with step('Restart application and try re-importing seed phrase again'): enter_seed_view = LoginView().add_existing_status_user().open_keys_view().open_enter_seed_phrase_view()
# aut.restart() enter_seed_view.input_seed_phrase(user_account.seed_phrase, autocomplete)
# enter_seed_view = LoginView().add_existing_status_user().open_keys_view().open_enter_seed_phrase_view() confirm_import = enter_seed_view.click_import_seed_phrase_button()
# enter_seed_view.input_seed_phrase(user_account.seed_phrase, autocomplete)
# confirm_import = enter_seed_view.click_import_seed_phrase_button()
#with step('Verify that keys already exist popup appears and text is correct'): with step('Verify that keys already exist popup appears and text is correct'):
# assert confirm_import.get_key_exist_title() == KeysExistText.KEYS_EXIST_TITLE.value assert confirm_import.get_key_exist_title() == KeysExistText.KEYS_EXIST_TITLE.value
# assert KeysExistText.KEYS_EXIST_TEXT.value in confirm_import.get_text_labels() assert KeysExistText.KEYS_EXIST_TEXT.value in confirm_import.get_text_labels()

View File

@ -35,9 +35,6 @@ def test_change_password_and_login(aut: AUT, main_screen: MainWindow, user_accou
with step('Click re-encrypt data button and then restart'): with step('Click re-encrypt data button and then restart'):
ChangePasswordPopup().click_re_encrypt_data_restart_button() ChangePasswordPopup().click_re_encrypt_data_restart_button()
with step('Verify the application process is not running'):
psutil.Process(aut.pid).wait(timeout=30)
with step('Restart application'): with step('Restart application'):
aut.restart() aut.restart()