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

Reset Keycard functionality #11803

Merged
merged 1 commit into from
Mar 8, 2021
Merged

Reset Keycard functionality #11803

merged 1 commit into from
Mar 8, 2021

Conversation

bitgamma
Copy link
Member

@bitgamma bitgamma commented Mar 1, 2021

Implements Keycard account removal with (optional) card reset.

Closes #9229

Screenshot with highlighted new strings for localization

keycard-reset-string-screenshot

status: ready

@status-im-auto
Copy link
Member

status-im-auto commented Mar 1, 2021

Jenkins Builds

Click to see older builds (21)
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ 45e9a7c #1 2021-03-01 13:16:43 ~9 min android-e2e 📦apk 📲
✖️ 45e9a7c #1 2021-03-01 13:21:13 ~14 min android 📦apk 📲
✖️ 5d4c0c3 #2 2021-03-01 13:43:11 ~14 min android-e2e 📦apk 📲
✖️ 5d4c0c3 #2 2021-03-01 13:43:16 ~14 min android 📦apk 📲
✖️ 5d4c0c3 #2 2021-03-01 13:45:21 ~16 min ios 📦ipa 📲
✔️ f64287e #3 2021-03-02 07:44:59 ~9 min android 📦apk 📲
✔️ f64287e #3 2021-03-02 07:47:23 ~11 min android-e2e 📦apk 📲
✔️ f64287e #3 2021-03-02 07:54:10 ~18 min ios 📦ipa 📲
✖️ 9c27bce #4 2021-03-02 10:10:49 ~9 min android 📦apk 📲
✖️ 9c27bce #4 2021-03-02 10:17:22 ~16 min ios 📦ipa 📲
✖️ 9c27bce #4 2021-03-02 10:19:34 ~18 min android-e2e 📦apk 📲
✔️ 43d56d5 #5 2021-03-02 10:27:53 ~9 min android-e2e 📦apk 📲
✔️ db4e717 #6 2021-03-02 10:58:09 ~12 min android-e2e 📦apk 📲
✔️ db4e717 #6 2021-03-02 10:59:26 ~14 min android 📦apk 📲
✔️ db4e717 #6 2021-03-02 11:07:55 ~22 min ios 📦ipa 📲
✔️ a35ddcf #7 2021-03-02 18:08:52 ~12 min android 📦apk 📲
✔️ a35ddcf #7 2021-03-02 18:08:58 ~12 min android-e2e 📦apk 📲
✔️ a35ddcf #7 2021-03-02 18:16:04 ~19 min ios 📦ipa 📲
✔️ 64103d1 #8 2021-03-04 06:28:46 ~10 min android 📦apk 📲
✔️ 64103d1 #8 2021-03-04 06:30:53 ~12 min android-e2e 📦apk 📲
✔️ 64103d1 #8 2021-03-04 06:37:09 ~18 min ios 📦ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 094e0a1 #9 2021-03-05 11:49:00 ~9 min android-e2e 📦apk 📲
✔️ 094e0a1 #9 2021-03-05 11:51:11 ~11 min android 📦apk 📲
✔️ 094e0a1 #9 2021-03-05 11:57:38 ~18 min ios 📦ipa 📲
✔️ de847d8 #10 2021-03-08 06:20:15 ~9 min android 📦apk 📲
✔️ de847d8 #10 2021-03-08 06:26:19 ~15 min android-e2e 📦apk 📲
✔️ de847d8 #10 2021-03-08 06:30:30 ~19 min ios 📦ipa 📲

@bitgamma bitgamma changed the title [WIP] Reset Keycard functionality Reset Keycard functionality Mar 2, 2021
@qoqobolo qoqobolo self-assigned this Mar 2, 2021
@status-im-auto
Copy link
Member

96% of end-end tests have passed

Total executed tests: 80
Failed tests: 3
Passed tests: 77
IDs of failed tests: 6646,6249,5353 

Failed tests (3)

Click to expand
1. test_set_profile_picture, id: 6646

Device 1: *Find Button by xpath:* `//*[@text="DCIM"]`
Device 1: *Tap on found Button*

Device 1: 'SilentButton' by xpath:'//*[@content-desc='sauce_logo.png, 4.64 kB, Nov 4, 2020']' not found on the screen

Device sessions

2. test_keycard_request_stt_from_daap, id: 6249

Device 1: *Find SignWithKeycardButton by xpath:* `//*[contains(@text,'Sign with')]`
Device 1: **Enter default pin 121212**

Device 1: Transaction failed; also Unexpected Alert is shown: 'already known'

Device sessions

3. test_filters_from_daap, id: 5353

Device 1: *Tap on found TransactionsButton*
Device 1: *Find TestFiltersButton by xpath:* `//*[@text='Test filters']`

Device 1: TestFiltersButton by xpath: `//*[@text='Test filters']` is not found on the screen

Device sessions

Passed tests (77)

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_send_eth_from_wallet_to_address, id: 5308
Device sessions

4. test_onboarding_screen_when_requesting_tokens_for_recovered_account, id: 5677
Device sessions

5. test_keycard_can_see_all_transactions_in_history, id: 6291
Device sessions

6. test_push_notification_1_1_chat, id: 6283
Device sessions

7. test_add_and_delete_watch_only_account_to_multiaccount_instance, id: 6244
Device sessions

8. test_open_public_chat_using_deep_link, id: 5396
Device sessions

9. test_offline_add_new_group_chat_member, id: 3998
Device sessions

10. test_send_non_english_message_to_newly_added_contact_on_different_networks, id: 5315
Device sessions

11. test_insufficient_funds_wallet_positive_balance, id: 5412
Device sessions

12. test_delete_close_all_tabs, id: 5390
Device sessions

13. test_create_new_group_chat, id: 3994
Device sessions

14. test_send_token_with_7_decimals, id: 5350
Device sessions

15. test_delete_chats_via_delete_button_rejoin, id: 5387
Device sessions

16. test_send_transaction_set_recipient_options, id: 6328
Device sessions

17. test_recover_account_from_new_user_seedphrase, id: 6296
Device sessions

18. test_keycard_can_recover_keycard_account_card_pairing, id: 5758
Device sessions

19. test_block_user_from_public_chat, id: 5786
Device sessions

20. test_send_audio_message_with_push_notification_check, id: 6316
Device sessions

21. test_keycard_send_eth_from_wallet_to_address, id: 6289
Device sessions

22. test_request_public_key_status_test_daap, id: 5397
Device sessions

23. test_sign_message_from_daap, id: 5342
Device sessions

24. test_add_account_to_wallet_private_key_and_seed_phrase, id: 6272
Device sessions

25. test_back_forward_buttons_browsing_website, id: 5321
Device sessions

26. test_redirect_to_public_chat_tapping_tag_message, id: 5675
Device sessions

27. test_keycard_send_two_transactions_one_after_another_in_dapp, id: 6288
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_transaction_wrong_password_wallet, id: 5408
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_send_two_transactions_one_after_another_in_dapp, id: 5744
Device sessions

38. test_decline_transactions_in_1_1_chat_push_notification_changing_state, id: 6265
Device sessions

39. test_send_eth_in_1_1_chat_transaction_push, id: 6253
Device sessions

40. test_fetch_more_history_in_empty_chat, id: 6205
Device sessions

41. test_install_pack_and_send_sticker, id: 5782
Device sessions

42. test_keycard_send_two_transactions_in_batch_in_dapp, id: 6287
Device sessions

43. test_switch_users_special_char_password_and_add_new_account_logcat, id: 5356
Device sessions

44. test_keycard_sign_message_from_daap, id: 6251
Device sessions

45. test_manage_assets, id: 5341
Device sessions

46. test_send_two_transactions_in_batch_in_dapp, id: 5743
Device sessions

47. test_browser_managing_bookmarks, id: 6633
Device sessions

48. test_open_chat_by_pasting_chat_key_check_invalid_chat_key_cases, id: 5304
Device sessions

49. test_request_stt_from_daap, id: 5309
Device sessions

50. test_send_emoji, id: 5328
Device sessions

51. test_can_use_purchased_stickers_on_recovered_account, id: 5783
Device sessions

52. test_dapps_permissions, id: 5738
Device sessions

53. test_account_recovery_with_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 5394
Device sessions

54. test_send_eth_to_ens_in_chat, id: 6279
Device sessions

55. test_open_blocked_secure_not_secure_sites, id: 6210
Device sessions

56. test_share_copy_contact_code_and_wallet_address, id: 5323
Device sessions

57. test_wallet_set_up, id: 5335
Device sessions

58. test_send_transaction_with_custom_token, id: 6208
Device sessions

59. test_home_view, id: 5379
Device sessions

60. test_can_add_existing_ens, id: 5502
Device sessions

61. test_logcat_backup_recovery_phrase, id: 5419
Device sessions

62. test_offline_is_shown_messaging_1_1_chat, id: 5310
Device sessions

63. test_request_and_receive_stt_in_1_1_chat_offline, id: 6263
Device sessions

64. test_refresh_button_browsing_app_webview, id: 5354
Device sessions

65. test_collectible_from_wallet, id: 5346
Device sessions

66. test_public_chat_messaging, id: 5313
Device sessions

67. test_add_and_remove_mention_contact_with_nickname_from_public_chat, id: 5332
Device sessions

68. test_restore_account_from_mnemonic_to_keycard, id: 6240
Device sessions

69. test_add_new_keycard_account_and_login, id: 5689
Device sessions

70. test_pass_phrase_validation, id: 5363
Device sessions

71. test_keycard_send_eth_in_1_1_chat, id: 6293
Device sessions

72. test_ens_mentions_and_nickname_in_public_and_1_1_chats, id: 6226
Device sessions

73. test_can_see_all_transactions_in_history, id: 5314
Device sessions

74. test_send_and_open_links_with_previews, id: 5373
Device sessions

75. test_reactions_to_message_in_chats, id: 6315
Device sessions

76. test_fetching_balance_after_offline, id: 6237
Device sessions

77. test_keycard_fetching_balance_after_offline, id: 6290
Device sessions

@status-im-auto
Copy link
Member

97% of end-end tests have passed

Total executed tests: 77
Failed tests: 2
Passed tests: 75
IDs of failed tests: 6243,5368 

Failed tests (2)

Click to expand
1. test_keycard_can_recover_keycard_account_offline_and_add_watch_only_acc, id: 6243

Device 1: *Type '000000' to EditBox*
Device 1: *Find Button by xpath:* `//*[@text="Pair to this device"]`

Device 1: Button by xpath: `//*[@text="Pair to this device"]` is not found on the screen

Device sessions

2. test_change_log_level_and_fleet, id: 5368

Device 1: *Find AdvancedButton by accessibility id:* `advanced-button`
Device 1: *Find AdvancedButton by accessibility id:* `advanced-button`

An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command '/home/chef/android-sdk-linux/platform-tools/adb -P 5037 -s emulator-5554 pull /storage/emulated/0/Android/data/im.statu

Device sessions

Passed tests (75)

Click to expand
1. test_backup_recovery_phrase (TestRail link is not found)
Device sessions

2. test_reply_to_message_in_chats, id: 6233
Device sessions

3. test_switching_accounts_in_dapp, id: 6232
Device sessions

4. test_deploy_contract_from_daap, id: 5333
Device sessions

5. test_open_own_user_profile_using_deep_link, id: 5780
Device sessions

6. test_block_and_unblock_user_from_group_chat_via_group_info, id: 5752
Device sessions

7. test_create_account_short_and_mismatch_password, id: 5460
Device sessions

8. test_use_pinned_mailserver, id: 5766
Device sessions

9. test_keycard_send_funds_between_accounts_in_multiaccount_instance, id: 6292
Device sessions

10. test_markdown_support_in_messages, id: 5425
Device sessions

11. test_set_primary_ens_custom_domain, id: 6219
Device sessions

12. test_webview_camera_permission, id: 6635
Device sessions

13. test_sign_typed_message, id: 5784
Device sessions

14. test_make_admin_member_of_group_chat, id: 5694
Device sessions

15. test_decline_invitation_to_group_chat, id: 5756
Device sessions

16. test_mention_users_not_in_chats_if_not_in_contacts, id: 6326
Device sessions

17. test_can_delete_several_multiaccounts, id: 6318
Device sessions

18. test_keycard_deploy_contract_from_daap, id: 5333
Device sessions

19. test_can_scan_qr_with_chat_key_from_home_start_chat, id: 6298
Device sessions

20. test_keycard_interruption_creating_onboarding_flow, id: 5742
Device sessions

21. test_set_currency, id: 5429
Device sessions

22. test_backup_recovery_phrase_warning_from_wallet, id: 5358
Device sessions

23. test_can_send_all_tokens_via_max_option, id: 6330
Device sessions

24. test_pair_devices_group_chat_different_messages_nicknames, id: 6317
Device sessions

25. test_open_dapp_using_deep_link, id: 5442
Device sessions

26. test_open_user_profile_long_press_on_message, id: 6267
Device sessions

27. test_add_remove_contact_via_contacts_view, id: 6312
Device sessions

28. test_send_eth_from_wallet_incorrect_address, id: 5461
Device sessions

29. test_keycard_send_eth_to_ens, id: 6295
Device sessions

30. test_can_change_account_settings, id: 6235
Device sessions

31. test_same_seed_added_inside_multiaccount_and_keycard, id: 6311
Device sessions

32. test_network_mismatch_for_send_request_in_1_1_chat, id: 6257
Device sessions

33. test_block_user_from_one_to_one_header_check_push_notification_service, id: 5763
Device sessions

34. test_search_asset_and_currency, id: 6269
Device sessions

35. test_invite_friends, id: 5433
Device sessions

36. test_leave_group_chat_via_group_info, id: 3997
Device sessions

37. test_can_start_chat_from_suggestions_using_search_chat, id: 6320
Device sessions

38. test_search_chat_on_home, id: 5757
Device sessions

39. test_long_press_to_clear_chat_history, id: 5386
Device sessions

40. test_can_scan_different_links_with_universal_qr_scanner, id: 6322
Device sessions

41. test_deep_link_with_invalid_user_public_key, id: 5781
Device sessions

42. test_open_invalid_link, id: 5465
Device sessions

43. test_navigation_history_kept_after_relogin, id: 5395
Device sessions

44. test_browser_shows_offline_state, id: 5438
Device sessions

45. test_send_funds_between_accounts_in_multiaccount_instance, id: 6225
Device sessions

46. test_share_user_profile_url_public_chat, id: 5498
Device sessions

47. test_open_user_profile_using_deep_link, id: 5441
Device sessions

48. test_recover_accounts_with_certain_seedphrase, id: 5455
Device sessions

49. test_rename_group_chat, id: 6280
Device sessions

50. test_clear_history_via_options, id: 5426
Device sessions

51. test_invite_to_group_chat_handling, id: 6324
Device sessions

52. test_mark_all_messages_as_read_public_chat, id: 6270
Device sessions

53. test_emoji_messages_long_press, id: 6202
Device sessions

54. test_offline_can_login_cant_send_transaction, id: 5407
Device sessions

55. test_can_scan_eip_681_links, id: 6282
Device sessions

56. test_can_not_connect_to_mailserver, id: 5767
Device sessions

57. test_add_custom_network, id: 5431
Device sessions

58. test_resolve_ipns_name, id: 6323
Device sessions

59. test_keycard_interruption_access_key_onboarding_flow, id: 6246
Device sessions

60. test_deny_access_camera_and_gallery, id: 6319
Device sessions

61. test_remove_member_from_group_chat, id: 4001
Device sessions

62. test_public_chat_messages_received_while_different_tab_opened, id: 6275
Device sessions

63. test_validation_amount_errors, id: 5437
Device sessions

64. test_unread_messages_counter_1_1_chat, id: 5362
Device sessions

65. test_app_on_background_by_back_button, id: 6221
Device sessions

66. test_browse_page_with_non_english_text, id: 5424
Device sessions

67. test_keycard_sign_typed_message, id: 6310
Device sessions

68. test_privacy_policy_node_version_need_help_in_profile, id: 5453
Device sessions

69. test_cant_add_more_twenty_participants_to_group_chat, id: 5721
Device sessions

70. test_unblocked_user_is_not_added_in_contacts, id: 6213
Device sessions

71. test_delete_cut_and_paste_messages, id: 5322
Device sessions

72. test_custom_bootnodes, id: 5432
Device sessions

73. test_keycard_request_and_receive_stt_in_1_1_chat_offline_opened_from_push, id: 6294
Device sessions

74. test_add_switch_delete_custom_mailserver, id: 5436
Device sessions

75. test_disable_use_history_node, id: 6332
Device sessions

@status-im-auto
Copy link
Member

100% of end-end tests have passed

Total executed tests: 2
Failed tests: 0
Passed tests: 2

Passed tests (2)

Click to expand
1. test_keycard_request_stt_from_daap, id: 6249
Device sessions

2. test_keycard_can_recover_keycard_account_offline_and_add_watch_only_acc, id: 6243
Device sessions

@@ -74,6 +39,6 @@
:puk []
:status nil
:error-label nil
:on-verified :keycard/remove-key-with-unpair})}
:on-verified (if keep-keys-on-keycard? :keycard/unpair-and-delete :keycard/remove-key-with-unpair)})}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please make it three lines expression? It won't fit 80 chars anyway but this way it is too long

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Thanks for the review!

@qoqobolo
Copy link
Contributor

qoqobolo commented Mar 3, 2021

@bitgamma Thank you for the great work! Testing is still ongoing.
This issue has been found so far.

ISSUE 1: No message "2 attempts left" when entering invalid passcode (PIN) during profile deleting. Android only

Reproduction

  1. Log in to keycard multiaccount on Android device
  2. Navigate to Privacy and security settings > Delete my profile
  3. Tap Delete profile
  4. Enter invalid PIN
  5. Repeat two more times until the keycard is frozen

Expected behavior

Message about how many attempts are left for each input of an incorrect PIN ("2 attempts left", "1 attempt left")

Actual behavior

No messages. The PIN screen is closed just after entering an invalid PIN and tapping the keycard

video_2021-03-03_14-19-41.mp4

@bitgamma
Copy link
Member Author

bitgamma commented Mar 3, 2021

@qoqobolo Thanks for the report! Is there any particular prerequisite to reproduce this? I tried on a OnePlus 6 and Xiaomi Redmi Note 8T (both Android 10), and I cannot reproduce it, the number of remaining attempts is shown correctly.

@qoqobolo
Copy link
Contributor

qoqobolo commented Mar 3, 2021

@qoqobolo Thanks for the report! Is there any particular prerequisite to reproduce this? I tried on a OnePlus 6 and Xiaomi Redmi Note 8T (both Android 10), and I cannot reproduce it, the number of remaining attempts is shown correctly.

@bitgamma hmm.. Well, now I can't reproduce it too. My test device is Google Pixel 2 (Android 11).
I'll update the steps as soon as I find them.

@qoqobolo
Copy link
Contributor

qoqobolo commented Mar 3, 2021

ISSUE 2/QUESTION: Can't use keycard after reset.

@bitgamma
Also, could you please clarify how exactly keycard is supposed to be used after reset?
Asking, because from the title of the feature request #9229 and the description it follows that I can use it as an empty card.

But when I try to generate a new multiaccount after reset and choose my card as key storage, after getting a new seed phrase, I am asked to confirm my passcode and after I get this message:
"Wrong card. Tapped card doesn't correspond to the keys you selected".

Steps:

  1. Delete keycard-multiaccount
  2. Generate keys
  3. Choose keycard as key storage
  4. Confirm seed phrase
video_2021-03-03_17-26-06.mp4

Also, I get the same screen and pop-up if I try to restore my multi-account with seed phrase and chose key storage on my keycard.

Steps:

  1. Delete keycard-multiaccount
  2. Access existing keys
  3. Choose keycard as a key storage
video_2021-03-03_17-28-45.mp4

If I go through the third flow and try to recover my multiaccount with keycard I get this screen
Screenshot 2021-03-03 at 17 38 13

Could you clarify if this behavior is expected (the first two cases)?
Did I understand correctly that it is assumed that the card can be used for a new multi-account with a new seed phrase after reset?

@bitgamma
Copy link
Member Author

bitgamma commented Mar 3, 2021

@qoqobolo Thanks a lot for catching this! Your assumption are absolutely correct, you should be able to load a new account or enter an existing seed. If you restart Status it works, but if you try to create a new account immediately after deleting it doesn't. I will fix this and ping you.

@bitgamma
Copy link
Member Author

bitgamma commented Mar 4, 2021

@qoqobolo issue 2 is fixed now

@qoqobolo
Copy link
Contributor

qoqobolo commented Mar 5, 2021

@bitgamma could you rebase this to the latest develop, please?

@bitgamma bitgamma force-pushed the feature/reset-keycard branch from 64103d1 to 094e0a1 Compare March 5, 2021 11:39
@bitgamma
Copy link
Member Author

bitgamma commented Mar 5, 2021

@bitgamma could you rebase this to the latest develop, please?

@qoqobolo done

@status-im-auto
Copy link
Member

93% of end-end tests have passed

Total executed tests: 159
Failed tests: 11
Passed tests: 148
IDs of failed tests: 6239,6244,5358,6272,6253,5767,5368,5419,5436,6636,6290 

Failed tests (11)

Click to expand
1. test_backup_recovery_phrase (TestRail link is not found)

Device 1: *Tap on found SignInButton*
Device 1: *Find Button by accessibility id:* `new-chat-button`

Device 1: Button by accessibility id: `new-chat-button` is not found on the screen; also Unexpected Alert is shown: 'java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference'

Device sessions

2. test_add_and_delete_watch_only_account_to_multiaccount_instance, id: 6244

Device 1: *Scrolling down to SilentButton*
Device 1: *Waiting 400s for ETH updated balance*

Device 1: Balance ETH 0 is not changed during 400 seconds!

Device sessions

3. test_backup_recovery_phrase_warning_from_wallet, id: 5358

Device 1: *Scrolling down to SilentButton*
Device 1: *Waiting 400s for ETH updated balance*

Device 1: Balance ETH 0 is not changed during 400 seconds!

Device sessions

4. test_add_account_to_wallet_private_key_and_seed_phrase, id: 6272

Device 1: *Scrolling down to SilentButton*
Device 1: *Waiting 400s for ETH updated balance*

Device 1: Balance ETH 0 is not changed during 400 seconds!

Device sessions

5. test_send_eth_in_1_1_chat_transaction_push, id: 6253

Device 2: *Scrolling down to SilentButton*
Device 2: *Waiting 400s for ETH updated balance*

Device 2: Balance ETH 0 is not changed during 400 seconds!

Device sessions

6. test_can_not_connect_to_mailserver, id: 5767

Device 1: *Find SyncSettingsButton by accessibility id:* `sync-settings-button`
Device 1: *Find SyncSettingsButton by accessibility id:* `sync-settings-button`

Device 1: Not connected to custom mailserver after re-login

Device sessions

7. test_change_log_level_and_fleet, id: 5368

Device 1: *Find AdvancedButton by accessibility id:* `advanced-button`
Device 1: *Find AdvancedButton by accessibility id:* `advanced-button`

An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command '/home/chef/android-sdk-linux/platform-tools/adb -P 5037 -s emulator-5554 pull /storage/emulated/0/Android/data/im.statu

Device sessions

8. test_logcat_backup_recovery_phrase, id: 5419

Device 1: *Tap on found SignInButton*
Device 1: *Find Button by accessibility id:* `new-chat-button`

Device 1: Button by accessibility id: `new-chat-button` is not found on the screen; also Unexpected Alert is shown: 'java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference'

Device sessions

9. test_add_switch_delete_custom_mailserver, id: 5436

Device 1: *Find Button by accessibility id:* `mailserver-delete-button`
Device 1: *Find Button by accessibility id:* `mailserver-delete-button`

Device 1: Button by accessibility id:* `mailserver-delete-button` is not found on the screen

Device sessions

10. test_show_profile_picture_of_setting (TestRail link is not found)

Device 2: Button element not found
Device 2: *Find Button by accessibility id:* `contacts-button`

Device 2: Button by accessibility id: `contacts-button` is not found on the screen

Device sessions

11. test_keycard_fetching_balance_after_offline, id: 6290

Transaction #5, amount is 0.005113737
{'blockNumber': '9780420', 'timeStamp': '1614944319', 'hash': '0x2b2a3dd513beab3f4121587bc267a78bf29cd985325a4c43a5f3faf570a727c7', 'nonce': '603', 'blockHash': '0xaba05d694e8c64326ad2bcf649a4779d6d9513d21e7adc4993b15e2d6dc3e0cb', 'from': '0x3e2e4077753d3c229a9ae332b9ca46958945e2f6', 'contractAddress': '0xc55cf4b03948d7ebc8b9e8bad92643703811d162', 'to': '0xf184747445c3b85ceb147dfb136067cb93d95f1d', 'value': '5113737000000000', 'tokenName': 'Status Test Token', 'tokenSymbol': 'STT', 'tokenDecimal': '18', 'transactionIndex': '6', 'gas': '131542', 'gasPrice': '31000000000', 'gasUsed': '109619', 'cumulativeGasUsed': '382251', 'input': 'deprecated', 'confirmations': '596'}

Transaction with amount 0.005143531 is not found in list of token transactions, address is f184747445c3B85CEb147DfB136067CB93d95F1D during 600s

Device sessions

Passed tests (148)

Click to expand
1. test_image_in_one_to_one_send_save_reply_timeline, id: 6305
Device sessions

2. test_reply_to_message_in_chats, id: 6233
Device sessions

3. test_switching_accounts_in_dapp, id: 6232
Device sessions

4. test_add_account_to_multiaccount_instance_generate_new, id: 6224
Device sessions

5. test_send_eth_from_wallet_to_address, id: 5308
Device sessions

6. test_onboarding_screen_when_requesting_tokens_for_recovered_account, id: 5677
Device sessions

7. test_keycard_can_see_all_transactions_in_history, id: 6291
Device sessions

8. test_push_notification_1_1_chat, id: 6283
Device sessions

9. test_deploy_contract_from_daap, id: 5333
Device sessions

10. test_open_own_user_profile_using_deep_link, id: 5780
Device sessions

11. test_open_public_chat_using_deep_link, id: 5396
Device sessions

12. test_block_and_unblock_user_from_group_chat_via_group_info, id: 5752
Device sessions

13. test_create_account_short_and_mismatch_password, id: 5460
Device sessions

14. test_offline_add_new_group_chat_member, id: 3998
Device sessions

15. test_use_pinned_mailserver, id: 5766
Device sessions

16. test_send_non_english_message_to_newly_added_contact_on_different_networks, id: 5315
Device sessions

17. test_keycard_send_funds_between_accounts_in_multiaccount_instance, id: 6292
Device sessions

18. test_markdown_support_in_messages, id: 5425
Device sessions

19. test_set_primary_ens_custom_domain, id: 6219
Device sessions

20. test_webview_camera_permission, id: 6635
Device sessions

21. test_can_see_balance_and_all_transactions_history_on_cellular, id: 5314
Device sessions

22. test_sign_typed_message, id: 5784
Device sessions

23. test_make_admin_member_of_group_chat, id: 5694
Device sessions

24. test_decline_invitation_to_group_chat, id: 5756
Device sessions

25. test_insufficient_funds_wallet_positive_balance, id: 5412
Device sessions

26. test_mention_users_not_in_chats_if_not_in_contacts, id: 6326
Device sessions

27. test_delete_close_all_tabs, id: 5390
Device sessions

28. test_can_delete_several_multiaccounts, id: 6318
Device sessions

29. test_create_new_group_chat, id: 3994
Device sessions

30. test_keycard_deploy_contract_from_daap, id: 5333
Device sessions

31. test_can_scan_qr_with_chat_key_from_home_start_chat, id: 6298
Device sessions

32. test_keycard_interruption_creating_onboarding_flow, id: 5742
Device sessions

33. test_set_currency, id: 5429
Device sessions

34. test_can_send_all_tokens_via_max_option, id: 6330
Device sessions

35. test_pair_devices_group_chat_different_messages_nicknames, id: 6317
Device sessions

36. test_open_dapp_using_deep_link, id: 5442
Device sessions

37. test_send_token_with_7_decimals, id: 5350
Device sessions

38. test_open_user_profile_long_press_on_message, id: 6267
Device sessions

39. test_delete_chats_via_delete_button_rejoin, id: 5387
Device sessions

40. test_add_remove_contact_via_contacts_view, id: 6312
Device sessions

41. test_send_transaction_set_recipient_options, id: 6328
Device sessions

42. test_recover_account_from_new_user_seedphrase, id: 6296
Device sessions

43. test_keycard_can_recover_keycard_account_card_pairing, id: 5758
Device sessions

44. test_block_user_from_public_chat, id: 5786
Device sessions

45. test_send_audio_message_with_push_notification_check, id: 6316
Device sessions

46. test_send_eth_from_wallet_incorrect_address, id: 5461
Device sessions

47. test_keycard_send_eth_to_ens, id: 6295
Device sessions

48. test_can_change_account_settings, id: 6235
Device sessions

49. test_same_seed_added_inside_multiaccount_and_keycard, id: 6311
Device sessions

50. test_network_mismatch_for_send_request_in_1_1_chat, id: 6257
Device sessions

51. test_block_user_from_one_to_one_header_check_push_notification_service, id: 5763
Device sessions

52. test_keycard_can_recover_keycard_account_offline_and_add_watch_only_acc, id: 6243
Device sessions

53. test_search_asset_and_currency, id: 6269
Device sessions

54. test_invite_friends, id: 5433
Device sessions

55. test_leave_group_chat_via_group_info, id: 3997
Device sessions

56. test_restore_account_migrate_multiaccount_to_keycard, id: 6645
Device sessions

57. test_keycard_send_eth_from_wallet_to_address, id: 6289
Device sessions

58. test_request_public_key_status_test_daap, id: 5397
Device sessions

59. test_can_start_chat_from_suggestions_using_search_chat, id: 6320
Device sessions

60. test_search_chat_on_home, id: 5757
Device sessions

61. test_sign_message_from_daap, id: 5342
Device sessions

62. test_long_press_to_clear_chat_history, id: 5386
Device sessions

63. test_can_scan_different_links_with_universal_qr_scanner, id: 6322
Device sessions

64. test_deep_link_with_invalid_user_public_key, id: 5781
Device sessions

65. test_back_forward_buttons_browsing_website, id: 5321
Device sessions

66. test_open_invalid_link, id: 5465
Device sessions

67. test_offline_is_shown_messaging_1_1_chat_sent_delivered, id: 5310
Device sessions

68. test_redirect_to_public_chat_tapping_tag_message, id: 5675
Device sessions

69. test_keycard_send_two_transactions_one_after_another_in_dapp, id: 6288
Device sessions

70. test_navigation_history_kept_after_relogin, id: 5395
Device sessions

71. test_browser_shows_offline_state, id: 5438
Device sessions

72. test_send_funds_between_accounts_in_multiaccount_instance, id: 6225
Device sessions

73. test_pair_devices_sync_one_to_one_contacts_nicknames_public_chat, id: 5762
Device sessions

74. test_long_press_to_delete_chat, id: 5319
Device sessions

75. test_share_user_profile_url_public_chat, id: 5498
Device sessions

76. test_open_user_profile_using_deep_link, id: 5441
Device sessions

77. test_recover_accounts_with_certain_seedphrase, id: 5455
Device sessions

78. test_copy_and_paste_messages, id: 5317
Device sessions

79. test_open_transaction_on_etherscan_copy_tx_hash, id: 5384
Device sessions

80. test_unread_messages_counter_public_chat, id: 5360
Device sessions

81. test_rename_group_chat, id: 6280
Device sessions

82. test_user_can_see_all_own_assets_after_account_recovering, id: 5381
Device sessions

83. test_transaction_wrong_password_wallet, id: 5408
Device sessions

84. test_clear_history_via_options, id: 5426
Device sessions

85. test_invite_to_group_chat_handling, id: 6324
Device sessions

86. test_mobile_data_usage_complex_settings, id: 6228
Device sessions

87. test_start_chat_with_ens_mention_in_one_to_one, id: 5403
Device sessions

88. test_send_two_transactions_one_after_another_in_dapp, id: 5744
Device sessions

89. test_decline_transactions_in_1_1_chat_push_notification_changing_state, id: 6265
Device sessions

90. test_mark_all_messages_as_read_public_chat, id: 6270
Device sessions

91. test_fetch_more_history_in_empty_chat, id: 6205
Device sessions

92. test_install_pack_and_send_sticker, id: 5782
Device sessions

93. test_keycard_send_two_transactions_in_batch_in_dapp, id: 6287
Device sessions

94. test_emoji_messages_long_press, id: 6202
Device sessions

95. test_switch_users_special_char_password_and_add_new_account_logcat, id: 5356
Device sessions

96. test_offline_can_login_cant_send_transaction, id: 5407
Device sessions

97. test_keycard_sign_message_from_daap, id: 6251
Device sessions

98. test_manage_assets, id: 5341
Device sessions

99. test_send_two_transactions_in_batch_in_dapp, id: 5743
Device sessions

100. test_browser_managing_bookmarks, id: 6633
Device sessions

101. test_open_chat_by_pasting_chat_key_check_invalid_chat_key_cases, id: 5304
Device sessions

102. test_request_stt_from_daap, id: 5309
Device sessions

103. test_send_emoji, id: 5328
Device sessions

104. test_can_scan_eip_681_links, id: 6282
Device sessions

105. test_can_use_purchased_stickers_on_recovered_account, id: 5783
Device sessions

106. test_add_custom_network, id: 5431
Device sessions

107. test_dapps_permissions, id: 5738
Device sessions

108. test_resolve_ipns_name, id: 6323
Device sessions

109. test_keycard_interruption_access_key_onboarding_flow, id: 6246
Device sessions

110. test_account_recovery_with_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 5394
Device sessions

111. test_send_eth_to_ens_in_chat, id: 6279
Device sessions

112. test_deny_access_camera_and_gallery, id: 6319
Device sessions

113. test_remove_member_from_group_chat, id: 4001
Device sessions

114. test_public_chat_messages_received_while_different_tab_opened, id: 6275
Device sessions

115. test_validation_amount_errors, id: 5437
Device sessions

116. test_open_blocked_secure_not_secure_sites, id: 6210
Device sessions

117. test_share_copy_contact_code_and_wallet_address, id: 5323
Device sessions

118. test_unread_messages_counter_1_1_chat, id: 5362
Device sessions

119. test_wallet_set_up, id: 5335
Device sessions

120. test_send_transaction_with_custom_token, id: 6208
Device sessions

121. test_home_view, id: 5379
Device sessions

122. test_can_add_existing_ens, id: 5502
Device sessions

123. test_request_and_receive_stt_in_1_1_chat_offline, id: 6263
Device sessions

124. test_app_on_background_by_back_button, id: 6221
Device sessions

125. test_set_profile_picture, id: 6646
Device sessions

126. test_refresh_button_browsing_app_webview, id: 5354
Device sessions

127. test_collectible_from_wallet, id: 5346
Device sessions

128. test_public_chat_messaging, id: 5313
Device sessions

129. test_add_and_remove_mention_contact_with_nickname_from_public_chat, id: 5332
Device sessions

130. test_browse_page_with_non_english_text, id: 5424
Device sessions

131. test_keycard_request_stt_from_daap, id: 6249
Device sessions

132. test_keycard_sign_typed_message, id: 6310
Device sessions

133. test_privacy_policy_node_version_need_help_in_profile, id: 5453
Device sessions

134. test_restore_account_from_mnemonic_to_keycard, id: 6240
Device sessions

135. test_add_new_keycard_account_and_login, id: 5689
Device sessions

136. test_pass_phrase_validation, id: 5363
Device sessions

137. test_cant_add_more_twenty_participants_to_group_chat, id: 5721
Device sessions

138. test_unblocked_user_is_not_added_in_contacts, id: 6213
Device sessions

139. test_delete_cut_and_paste_messages, id: 5322
Device sessions

140. test_keycard_send_eth_in_1_1_chat, id: 6293
Device sessions

141. test_ens_mentions_and_nickname_in_public_and_1_1_chats, id: 6226
Device sessions

142. test_custom_bootnodes, id: 5432
Device sessions

143. test_keycard_request_and_receive_stt_in_1_1_chat_offline_opened_from_push, id: 6294
Device sessions

144. test_send_and_open_links_with_previews, id: 5373
Device sessions

145. test_reactions_to_message_in_chats, id: 6315
Device sessions

146. test_filters_from_daap, id: 5353
Device sessions

147. test_fetching_balance_after_offline, id: 6237
Device sessions

148. test_disable_use_history_node, id: 6332
Device sessions

@qoqobolo
Copy link
Contributor

qoqobolo commented Mar 5, 2021

@bitgamma thanks for the great work!
Failed tests are not related to PR, it's ready to be merged.

@bitgamma bitgamma force-pushed the feature/reset-keycard branch from 094e0a1 to de847d8 Compare March 8, 2021 06:10
Signed-off-by: Michele Balistreri <[email protected]>
@bitgamma bitgamma force-pushed the feature/reset-keycard branch from de847d8 to 5fecdd7 Compare March 8, 2021 06:13
@bitgamma bitgamma merged commit 5fecdd7 into develop Mar 8, 2021
@bitgamma bitgamma deleted the feature/reset-keycard branch March 8, 2021 06:13
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.

Clean keycard and remove multi-account
4 participants