Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

βœ… πŸ—οΈ Enable password reset UI #12245

Merged
merged 1 commit into from
Jul 7, 2021

Conversation

shivekkhurana
Copy link
Contributor

Summary

Enables password reset feature implemented in #12163.
Results of tests performed on that PR can be posted here.

@shivekkhurana shivekkhurana requested a review from jakubgs as a code owner June 24, 2021 08:24
@shivekkhurana shivekkhurana removed the request for review from jakubgs June 24, 2021 08:25
@shivekkhurana shivekkhurana self-assigned this Jun 24, 2021
@status-im-auto
Copy link
Member

status-im-auto commented Jun 24, 2021

Jenkins Builds

Click to see older builds (36)
❔ Commit #️⃣ Finished (UTC) Duration Platform Result
❌ c3b003b #1 2021-06-24 08:29:04 ~3 min ios πŸ“„log
βœ”οΈ c3b003b #1 2021-06-24 08:42:57 ~17 min android-e2e πŸ“¦apk πŸ“²
βœ”οΈ c3b003b #1 2021-06-24 08:43:23 ~18 min android πŸ“¦apk πŸ“²
βœ”οΈ c3b003b #2 2021-06-25 13:45:00 ~18 min ios πŸ“¦ipa πŸ“²
βœ”οΈ 0e1df87 #2 2021-06-30 10:49:15 ~22 min android-e2e πŸ“¦apk πŸ“²
βœ”οΈ 0e1df87 #2 2021-06-30 10:49:20 ~22 min android πŸ“¦apk πŸ“²
βœ”οΈ 6ee4053 #3 2021-06-30 11:30:50 ~11 min android πŸ“¦apk πŸ“²
βœ”οΈ 6ee4053 #4 2021-06-30 11:36:01 ~16 min ios πŸ“¦ipa πŸ“²
βœ”οΈ 6ee4053 #3 2021-06-30 11:36:38 ~17 min android-e2e πŸ“¦apk πŸ“²
βœ”οΈ 7dfd526 #5 2021-07-02 07:29:26 ~15 min ios πŸ“¦ipa πŸ“²
βœ”οΈ 7dfd526 #4 2021-07-02 07:36:01 ~21 min android-e2e πŸ“¦apk πŸ“²
βœ”οΈ 7dfd526 #4 2021-07-02 07:36:02 ~21 min android πŸ“¦apk πŸ“²
βœ–οΈ 74b1916 #6 2021-07-05 09:04:35 ~14 min android-e2e πŸ“¦apk πŸ“²
βœ–οΈ 74b1916 #6 2021-07-05 09:04:37 ~14 min android πŸ“¦apk πŸ“²
βœ–οΈ 74b1916 #7 2021-07-05 09:08:25 ~18 min ios πŸ“¦ipa πŸ“²
βœ–οΈ e525e14 #6 2021-07-05 09:08:24 ~21 min ios πŸ“¦ipa πŸ“²
βœ–οΈ 53f82df #8 2021-07-05 10:16:53 ~14 min android-e2e πŸ“¦apk πŸ“²
βœ–οΈ 53f82df #8 2021-07-05 10:16:54 ~14 min android πŸ“¦apk πŸ“²
βœ–οΈ 53f82df #9 2021-07-05 10:20:00 ~17 min ios πŸ“¦ipa πŸ“²
βœ–οΈ 8edd260 #8 2021-07-05 10:19:58 ~21 min ios πŸ“¦ipa πŸ“²
βœ”οΈ 3733c67 #9 2021-07-05 10:43:17 ~11 min android πŸ“¦apk πŸ“²
βœ”οΈ 3733c67 #9 2021-07-05 11:01:06 ~29 min android-e2e πŸ“¦apk πŸ“²
βœ”οΈ 2343431 #11 2021-07-06 09:50:59 ~16 min ios πŸ“¦ipa πŸ“²
βœ”οΈ 2343431 #10 2021-07-06 10:04:20 ~29 min android-e2e πŸ“¦apk πŸ“²
βœ”οΈ 2343431 #10 2021-07-06 10:04:29 ~29 min android πŸ“¦apk πŸ“²
βœ–οΈ f8b388f #11 2021-07-06 10:04:27 ~12 min android πŸ“¦apk πŸ“²
βœ–οΈ f8b388f #11 2021-07-06 10:08:24 ~16 min android-e2e πŸ“¦apk πŸ“²
βœ–οΈ f8b388f #12 2021-07-06 10:11:41 ~19 min ios πŸ“¦ipa πŸ“²
βœ–οΈ 04609d5 #13 2021-07-06 10:13:39 ~14 min ios πŸ“¦ipa πŸ“²
βœ–οΈ 04609d5 #12 2021-07-06 10:14:38 ~15 min android-e2e πŸ“¦apk πŸ“²
βœ–οΈ 04609d5 #12 2021-07-06 10:14:51 ~15 min android πŸ“¦apk πŸ“²
βœ”οΈ 1994491 #14 2021-07-06 10:59:26 ~16 min ios πŸ“¦ipa πŸ“²
βœ”οΈ 1994491 #13 2021-07-06 11:10:36 ~27 min android-e2e πŸ“¦apk πŸ“²
βœ”οΈ 1994491 #13 2021-07-06 11:10:52 ~28 min android πŸ“¦apk πŸ“²
βœ”οΈ ec21d9f #14 2021-07-07 09:33:47 ~19 min android πŸ“¦apk πŸ“²
βœ”οΈ ec21d9f #14 2021-07-07 09:45:15 ~31 min android-e2e πŸ“¦apk πŸ“²
❔ Commit #️⃣ Finished (UTC) Duration Platform Result
βœ”οΈ 6020e25 #15 2021-07-07 09:37:53 ~18 min android-e2e πŸ“¦apk πŸ“²
βœ”οΈ 6020e25 #15 2021-07-07 09:38:07 ~18 min android πŸ“¦apk πŸ“²
βœ”οΈ 6020e25 #16 2021-07-07 09:47:33 ~28 min ios πŸ“¦ipa πŸ“²
βœ”οΈ 85f1a71 #16 2021-07-07 11:16:45 ~11 min android πŸ“¦apk πŸ“²
βœ”οΈ 85f1a71 #17 2021-07-07 11:22:32 ~17 min ios πŸ“¦ipa πŸ“²
βœ”οΈ 85f1a71 #16 2021-07-07 11:30:09 ~24 min android-e2e πŸ“¦apk πŸ“²

@churik
Copy link
Member

churik commented Jun 25, 2021

@shivekkhurana
at attempt to reset password after entering old and new password got error:
IMAGE 2021-06-25 15:34:53

@status-im-auto
Copy link
Member

96% of end-end tests have passed

Total executed tests: 70
Failed tests: 3
Passed tests: 67
IDs of failed tests: 5309,6263,6249 

Failed tests (3)

Click to expand
  • Rerun tests

  • 1. test_request_stt_from_daap, id: 5309

    Device 1: *Find WalletButton by xpath:* `//*[contains(@content-desc,'tab, 3 out of 5')]`
    Device 1: *Waiting 400s for STT updated balance*

    Device 1: Balance STT 5387000.0 is not changed during 400 seconds!

    Device sessions

    2. test_request_and_receive_stt_in_1_1_chat_offline, id: 6263

    Device 2: *Tap on found AirplaneModeButton*
    Device 2: *Wait for text element TransactionStatus to be equal to Confirmed*

    Device 2: 'Pending' is not equal to expected 'Confirmed' in 60 sec

    Device sessions

    3. test_keycard_request_stt_from_daap, id: 6249

    Device 1: *Find WalletButton by xpath:* `//*[contains(@content-desc,'tab, 3 out of 5')]`
    Device 1: *Waiting 400s for STT updated balance*

    Device 1: Balance STT 5388000.0 is not changed during 400 seconds!

    Device sessions

    Passed tests (67)

    Click to expand

    1. test_image_in_one_to_one_send_save_reply_timeline, id: 6305
    Device sessions

    2. test_add_account_to_multiaccount_instance_generate_new, id: 6224
    Device sessions

    3. test_keycard_can_see_all_transactions_in_history, id: 6291
    Device sessions

    4. test_sign_message_and_2tx_in_batch_and_transactions_filters_from_daap, id: 5342
    Device sessions

    5. test_add_and_delete_watch_only_account_to_multiaccount_instance, id: 6244
    Device sessions

    6. test_open_blocked_secure_not_secure_inlalid_offline_urls, id: 6210
    Device sessions

    7. test_open_public_chat_using_deep_link, id: 5396
    Device sessions

    8. test_offline_add_new_group_chat_member, id: 3998
    Device sessions

    9. test_send_non_english_message_to_newly_added_contact_on_different_networks, id: 5315
    Device sessions

    10. test_can_see_balance_and_all_transactions_history_on_cellular, id: 5314
    Device sessions

    11. test_keycard_create_login_resotore_unlock_same_seed, id: 5689
    Device sessions

    12. test_insufficient_funds_wallet_positive_balance, id: 5412
    Device sessions

    13. test_delete_close_all_tabs, id: 5390
    Device sessions

    14. test_create_new_group_chat_messaging_pn_delivered, id: 3994
    Device sessions

    15. test_send_token_with_7_decimals, id: 5350
    Device sessions

    16. test_delete_chats_via_delete_button_rejoin, id: 5387
    Device sessions

    17. test_send_transaction_set_recipient_options, id: 6328
    Device sessions

    18. test_keycard_sign_message_and_transactions_from_daap, id: 6251
    Device sessions

    19. test_recover_account_from_new_user_seedphrase, id: 6296
    Device sessions

    20. test_keycard_can_recover_keycard_account_card_pairing, id: 5758
    Device sessions

    21. test_block_user_from_public_chat, id: 5786
    Device sessions

    22. test_send_audio_message_with_push_notification_check, id: 6316
    Device sessions

    23. test_redirect_to_public_chat_tapping_tag_message_fetch_more_history, id: 5675
    Device sessions

    24. test_restore_account_migrate_multiaccount_to_keycard, id: 6645
    Device sessions

    25. test_ens_mentions_pn_and_nickname_in_public_and_1_1_chats, id: 6226
    Device sessions

    26. test_keycard_send_eth_from_wallet_to_address, id: 6289
    Device sessions

    27. test_add_account_to_wallet_private_key_and_seed_phrase, id: 6272
    Device sessions

    28. test_back_forward_refresh_navigation_history_kept_after_relogin (TestRail link is not found)
    Device sessions

    29. test_offline_is_shown_messaging_1_1_chat_sent_delivered, id: 5310
    Device sessions

    30. test_pair_devices_sync_one_to_one_contacts_nicknames_public_chat, id: 5762
    Device sessions

    31. test_long_press_to_delete_chat, id: 5319
    Device sessions

    32. test_copy_and_paste_messages, id: 5317
    Device sessions

    33. test_open_transaction_on_etherscan_copy_tx_hash, id: 5384
    Device sessions

    34. test_unread_messages_counter_public_chat, id: 5360
    Device sessions

    35. test_user_can_see_all_own_assets_after_account_recovering, id: 5381
    Device sessions

    36. test_send_eth_from_wallet_to_address_incorrect_password, id: 5308
    Device sessions

    37. test_mobile_data_usage_complex_settings, id: 6228
    Device sessions

    38. test_start_chat_with_ens_mention_in_one_to_one, id: 5403
    Device sessions

    39. test_decline_transactions_in_1_1_chat_push_notification_changing_state, id: 6265
    Device sessions

    40. test_send_eth_in_1_1_chat_transaction_push, id: 6253
    Device sessions

    41. test_install_pack_and_send_sticker, id: 5782
    Device sessions

    42. test_switch_users_special_char_password_and_add_new_account_logcat, id: 5356
    Device sessions

    43. test_manage_assets, id: 5341
    Device sessions

    44. test_browser_managing_bookmarks, id: 6633
    Device sessions

    45. test_open_chat_by_pasting_chat_key_check_invalid_chat_key_cases, id: 5304
    Device sessions

    46. test_can_use_purchased_stickers_on_recovered_account, id: 5783
    Device sessions

    47. test_dapps_permissions, id: 5738
    Device sessions

    48. test_account_recovery_with_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 5394
    Device sessions

    49. test_send_eth_to_ens_in_chat, id: 6279
    Device sessions

    50. test_share_copy_contact_code_and_wallet_address, id: 5323
    Device sessions

    51. test_wallet_set_up, id: 5335
    Device sessions

    52. test_send_transaction_with_custom_token, id: 6208
    Device sessions

    53. test_home_view, id: 5379
    Device sessions

    54. test_can_add_existing_ens, id: 5502
    Device sessions

    55. test_logcat_backup_recovery_phrase, id: 5419
    Device sessions

    56. test_set_profile_picture, id: 6646
    Device sessions

    57. test_collectible_from_wallet, id: 5346
    Device sessions

    58. test_add_and_remove_mention_contact_with_nickname_from_public_chat, id: 5332
    Device sessions

    59. test_restore_account_from_mnemonic_to_keycard, id: 6240
    Device sessions

    60. test_pass_phrase_validation, id: 5363
    Device sessions

    61. test_keycard_send_eth_in_1_1_chat, id: 6293
    Device sessions

    62. test_send_and_open_links_with_previews, id: 5373
    Device sessions

    63. test_reactions_to_message_in_chats, id: 6315
    Device sessions

    64. test_fetching_balance_after_offline, id: 6237
    Device sessions

    65. test_push_notification_1_1_chat_no_pn_activity_center, id: 6283
    Device sessions

    66. test_public_chat_messaging_emojis_timestamps, id: 5313
    Device sessions

    67. test_keycard_fetching_balance_after_offline, id: 6290
    Device sessions

    @shivekkhurana shivekkhurana force-pushed the shivekkhurana/enable-password-reset branch from c3b003b to 0e1df87 Compare June 30, 2021 10:26
    @shivekkhurana
    Copy link
    Contributor Author

    This will unblock #11777

    @churik
    Copy link
    Member

    churik commented Jun 30, 2021

    @shivekkhurana thank you for work!
    Several issues:

    ISSUE 1: Can tap "next" several times on reset password screen

    Steps:

    1. restore multiaccount from seed phrase
    2. go to Security > Reset password
    3. enter passwords
    4. tap "Next" several times

    Expected result:
    "Next" can be tapped only once

    Actual result:
    IMAGE 2021-06-30 16:20:38

    OS: IOS, Android

    ISSUE 2: Automatic logout doesn't work after resetting password until relogin

    Steps:

    1. restore multiaccount from seed phrase
    2. reset password
    3. go to Advanced > Network > change Network

    Expected result: should be logged out

    Actual result: is not logged out

    ISSUE 3: Reset password is available for keycard users

    ISSUE 4: Endless spinner if resetting password with enabled biometric login (IOS only)

    Steps:

    1. restore multiaccount from seed phrase
    2. enable biometric login
    3. reset password
    4. reopen app
      In case of Android after attempt to login user stays on login screen with "Wrong password" error - suppose this is expected behaviour
      In case of IOS - blank screen with endless spinner
      IMAGE 2021-06-30 17:10:55
      status_logs.zip

    @status-im-auto
    Copy link
    Member

    90% of end-end tests have passed

    Total executed tests: 70
    Failed tests: 7
    Passed tests: 63
    
    IDs of failed tests: 6251,6645,5309,6646,6249,6237,6290 
    

    Failed tests (7)

    Click to expand
  • Rerun tests

  • 1. test_keycard_sign_message_and_transactions_from_daap, id: 6251

    Device 1: *Tap on found Button*
    Device 1: *Find GasPriceInput by xpath:* `(//*[@text="Gas limit"]/..//android.widget.EditText)[2]`

    Device 1: GasPriceInput by xpath: `(//*[@text="Gas limit"]/..//android.widget.EditText)[2]` is not found on the screen

    Device sessions

    2. test_restore_account_migrate_multiaccount_to_keycard, id: 6645

    Device 1: *Find Button by xpath:* `//*[@text='OK' or @text='Ok']`
    Device 1: *Tap on found Button*

    Asset ETH was not restored

    Device sessions

    3. test_request_stt_from_daap, id: 5309

    Device 1: *Getting STT amount*
    Device 1: *Scrolling down to SilentButton*

    Device 1: SilentButton by xpath:* `//android.view.ViewGroup[@content-desc=':STT-asset-value']//android.widget.TextView[1]` is not found on the screen

    Device sessions

    4. test_set_profile_picture, id: 6646

    Device 2: **Looking for a message by text: Text message**
    Device 2: *Find MemberPhoto by xpath:* `//*[starts-with(@text,'Text message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='member-photo']`

    Device 2: MemberPhoto by xpath: `//*[starts-with(@text,'Text message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='member-photo']` is not found on the screen

    Device sessions

    5. test_keycard_request_stt_from_daap, id: 6249

    Device 1: *Find WalletButton by xpath:* `//*[contains(@content-desc,'tab, 3 out of 5')]`
    Device 1: *Selecting STT asset*

    Device 1: SilentButton by xpath: `//*[contains(@text,'STT')]` is not found on the screen

    Device sessions

    6. test_fetching_balance_after_offline, id: 6237

    Device 1: *Find Button by xpath:* `//*[@text="Total value"]`
    Device 1: *Find Button by xpath:* `//*[@text="Total value"]`

    Device 1: Button by xpath:* `//*[@text="Total value"]` is not found on the screen

    Device sessions

    7. test_keycard_fetching_balance_after_offline, id: 6290

    Device 1: *Find Button by xpath:* `//*[@text="Total value"]`
    Device 1: *Find Button by xpath:* `//*[@text="Total value"]`

    Device 1: Button by xpath:* `//*[@text="Total value"]` is not found on the screen

    Device sessions

    Passed tests (63)

    Click to expand

    1. test_image_in_one_to_one_send_save_reply_timeline, id: 6305
    Device sessions

    2. test_add_account_to_multiaccount_instance_generate_new, id: 6224
    Device sessions

    3. test_keycard_can_see_all_transactions_in_history, id: 6291
    Device sessions

    4. test_sign_message_and_2tx_in_batch_and_transactions_filters_from_daap, id: 5342
    Device sessions

    5. test_add_and_delete_watch_only_account_to_multiaccount_instance, id: 6244
    Device sessions

    6. test_open_blocked_secure_not_secure_inlalid_offline_urls, id: 6210
    Device sessions

    7. test_open_public_chat_using_deep_link, id: 5396
    Device sessions

    8. test_offline_add_new_group_chat_member, id: 3998
    Device sessions

    9. test_send_non_english_message_to_newly_added_contact_on_different_networks, id: 5315
    Device sessions

    10. test_can_see_balance_and_all_transactions_history_on_cellular, id: 5314
    Device sessions

    11. test_keycard_create_login_resotore_unlock_same_seed, id: 5689
    Device sessions

    12. test_insufficient_funds_wallet_positive_balance, id: 5412
    Device sessions

    13. test_delete_close_all_tabs, id: 5390
    Device sessions

    14. test_create_new_group_chat_messaging_pn_delivered, id: 3994
    Device sessions

    15. test_send_token_with_7_decimals, id: 5350
    Device sessions

    16. test_delete_chats_via_delete_button_rejoin, id: 5387
    Device sessions

    17. test_send_transaction_set_recipient_options, id: 6328
    Device sessions

    18. test_recover_account_from_new_user_seedphrase, id: 6296
    Device sessions

    19. test_keycard_can_recover_keycard_account_card_pairing, id: 5758
    Device sessions

    20. test_block_user_from_public_chat, id: 5786
    Device sessions

    21. test_send_audio_message_with_push_notification_check, id: 6316
    Device sessions

    22. test_redirect_to_public_chat_tapping_tag_message_fetch_more_history, id: 5675
    Device sessions

    23. test_ens_mentions_pn_and_nickname_in_public_and_1_1_chats, id: 6226
    Device sessions

    24. test_keycard_send_eth_from_wallet_to_address, id: 6289
    Device sessions

    25. test_add_account_to_wallet_private_key_and_seed_phrase, id: 6272
    Device sessions

    26. test_back_forward_refresh_navigation_history_kept_after_relogin (TestRail link is not found)
    Device sessions

    27. test_offline_is_shown_messaging_1_1_chat_sent_delivered, id: 5310
    Device sessions

    28. test_pair_devices_sync_one_to_one_contacts_nicknames_public_chat, id: 5762
    Device sessions

    29. test_long_press_to_delete_chat, id: 5319
    Device sessions

    30. test_copy_and_paste_messages, id: 5317
    Device sessions

    31. test_open_transaction_on_etherscan_copy_tx_hash, id: 5384
    Device sessions

    32. test_unread_messages_counter_public_chat, id: 5360
    Device sessions

    33. test_user_can_see_all_own_assets_after_account_recovering, id: 5381
    Device sessions

    34. test_send_eth_from_wallet_to_address_incorrect_password, id: 5308
    Device sessions

    35. test_mobile_data_usage_complex_settings, id: 6228
    Device sessions

    36. test_start_chat_with_ens_mention_in_one_to_one, id: 5403
    Device sessions

    37. test_decline_transactions_in_1_1_chat_push_notification_changing_state, id: 6265
    Device sessions

    38. test_send_eth_in_1_1_chat_transaction_push, id: 6253
    Device sessions

    39. test_install_pack_and_send_sticker, id: 5782
    Device sessions

    40. test_switch_users_special_char_password_and_add_new_account_logcat, id: 5356
    Device sessions

    41. test_manage_assets, id: 5341
    Device sessions

    42. test_browser_managing_bookmarks, id: 6633
    Device sessions

    43. test_open_chat_by_pasting_chat_key_check_invalid_chat_key_cases, id: 5304
    Device sessions

    44. test_can_use_purchased_stickers_on_recovered_account, id: 5783
    Device sessions

    45. test_dapps_permissions, id: 5738
    Device sessions

    46. test_account_recovery_with_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 5394
    Device sessions

    47. test_send_eth_to_ens_in_chat, id: 6279
    Device sessions

    48. test_share_copy_contact_code_and_wallet_address, id: 5323
    Device sessions

    49. test_wallet_set_up, id: 5335
    Device sessions

    50. test_send_transaction_with_custom_token, id: 6208
    Device sessions

    51. test_home_view, id: 5379
    Device sessions

    52. test_can_add_existing_ens, id: 5502
    Device sessions

    53. test_logcat_backup_recovery_phrase, id: 5419
    Device sessions

    54. test_request_and_receive_stt_in_1_1_chat_offline, id: 6263
    Device sessions

    55. test_collectible_from_wallet, id: 5346
    Device sessions

    56. test_add_and_remove_mention_contact_with_nickname_from_public_chat, id: 5332
    Device sessions

    57. test_restore_account_from_mnemonic_to_keycard, id: 6240
    Device sessions

    58. test_pass_phrase_validation, id: 5363
    Device sessions

    59. test_keycard_send_eth_in_1_1_chat, id: 6293
    Device sessions

    60. test_send_and_open_links_with_previews, id: 5373
    Device sessions

    61. test_reactions_to_message_in_chats, id: 6315
    Device sessions

    62. test_push_notification_1_1_chat_no_pn_activity_center, id: 6283
    Device sessions

    63. test_public_chat_messaging_emojis_timestamps, id: 5313
    Device sessions

    @shivekkhurana shivekkhurana force-pushed the shivekkhurana/enable-password-reset branch from 6ee4053 to 7dfd526 Compare July 2, 2021 07:13
    @shivekkhurana
    Copy link
    Contributor Author

    @churik

    ISSUE 1: Can tap "next" several times on reset password screen

    βœ… Added an overlay that cannot be closed until password reset is complete. The user can no longer press the next button.

    ISSUE 3: Reset password is available for keycard users

    βœ… Fixed

    ISSUE 4: Endless spinner if resetting password with enabled biometric login (IOS only)

    🀞🏼 The problem was that password reset didn't update the password in OS keychain. Have fixed it now, should work hopefully

    @shivekkhurana shivekkhurana force-pushed the shivekkhurana/enable-password-reset branch from 8edd260 to 53f82df Compare July 5, 2021 10:02
    @shivekkhurana
    Copy link
    Contributor Author

    ISSUE 2: Automatic logout doesn't work after resetting password until relogin
    Steps:

    1. restore multiaccount from seed phrase
    2. reset password
    3. go to Advanced > Network > change Network

    I feel this is a problem in multiaccount recovery flow. I checked resetting password and then changing network on an existing account. It worked fine.

    Can you please confirm this is not an issue if step 1 is removed?

    @shivekkhurana shivekkhurana force-pushed the shivekkhurana/enable-password-reset branch from 53f82df to 3733c67 Compare July 5, 2021 10:31
    @churik
    Copy link
    Member

    churik commented Jul 5, 2021

    Can you please confirm this is not an issue if step 1 is removed?

    Well, if I create multiaccount from scratch, reset password, and change network - no autologout.
    Tested on latest build with 8edd260 commit

    @shivekkhurana shivekkhurana force-pushed the shivekkhurana/enable-password-reset branch from 3733c67 to 2343431 Compare July 6, 2021 09:34
    @shivekkhurana
    Copy link
    Contributor Author

    @churik All issues fixed.

    @churik
    Copy link
    Member

    churik commented Jul 6, 2021

    @shivekkhurana
    thank you!
    I can still tap next several times, but it is not a big deal now as we have automatic logout after.
    So considering it as ready to be merged.

    @shivekkhurana
    Copy link
    Contributor Author

    @churik

    I can still tap next several times

    I'm not able to understand this. When you fill the form and press the next button, an overlay should cover the screen.

    It is not possible to close the overlay, until the password reset is complete, in which case the only way to proceed is to logout or close the app.

    Can you give me the steps to reproduce the behaviour you see?

    @shivekkhurana
    Copy link
    Contributor Author

    [SELF NOTE] Get rid of feature flag before merging.

    @churik
    Copy link
    Member

    churik commented Jul 6, 2021

    Sure. The way to reproduce it is to be quick enough to tap "Next" several times before overlay is shown.
    But as I said it is quite edge case - and only the issue that that error is shown in background.

    FILE.2021-07-06.16.47.53.mp4

    @shivekkhurana
    Copy link
    Contributor Author

    I understand now. I'll push a fix tomorrow.

    @shivekkhurana
    Copy link
    Contributor Author

    @churik I have added a condition that disables the Next > button when the password is resetting. In terms of the UI, it might not seem obvious (ie. it might feel that you are able to press the button), but multiple requests are not made.

    @shivekkhurana shivekkhurana force-pushed the shivekkhurana/enable-password-reset branch from ec21d9f to 6020e25 Compare July 7, 2021 09:18
    @churik
    Copy link
    Member

    churik commented Jul 7, 2021

    Ready to be merged.

    @shivekkhurana shivekkhurana force-pushed the shivekkhurana/enable-password-reset branch from 6020e25 to 85f1a71 Compare July 7, 2021 11:05
    Fix function typo that caused android version to fail
    Fix Issue 1 pointed out by Tetiana. Implement new UI to accomodate slow progress on Android
    Fix QA Issue 3 - Hide reset password option for keycard accounts
    Add steps to password reset
    Align the checkbox on terms of use
    Make modal rext align center because it wrapped abruptly
    Logout user after password reset
    Disable next button to curb recklessness
    Remove reset password feature flag
    
    Signed-off-by: Shivek Khurana <shivek@status.im>
    @shivekkhurana shivekkhurana force-pushed the shivekkhurana/enable-password-reset branch from 85f1a71 to dea7227 Compare July 7, 2021 11:33
    @shivekkhurana shivekkhurana merged commit dea7227 into develop Jul 7, 2021
    @shivekkhurana shivekkhurana deleted the shivekkhurana/enable-password-reset branch July 7, 2021 11:33
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    No open projects
    Archived in project
    Development

    Successfully merging this pull request may close these issues.

    4 participants