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

[fix 8853] fix change of whisper id in ens registration #9182

Merged
merged 1 commit into from
Oct 16, 2019

Conversation

yenda
Copy link
Contributor

@yenda yenda commented Oct 11, 2019

fix #8853 fix #8484 connect whisper key
fix #8941

A user can type in their existing name in the registration flow. Status can
confirm if they own it. After signing a transaction, the user can update the
Whisper ID to their new one.

Instead of using a hardcoded contract for stateofus, the standard owner
method is called to find the resolver contract of a ens name.
This allows users to set the pubkey even for ens names that are not
subdomains of stateofus

TODOS

update 14/10/19: only thing left that seems buggy from my POV is when adding a username, the details show pending transaction until relogin. willfix

  • enable only on mainnet
  • fix "pending transaction" forever for newly added names
  • fix all labels
  • identify all issues related to ENS fixed in the PR
  • test workflow
    • available username
    • connected-with-different-key (also for custom domain)
    • connected (also for custom domain)
    • owned (also for custom domain)
    • taken (also for custom domain)

@yenda yenda self-assigned this Oct 11, 2019
@ghost
Copy link

ghost commented Oct 11, 2019

Pull Request Checklist

  • Docs: Updated the documentation, if affected
  • Docs: Added or updated inline comments explaining intention of the code
  • Tests: Ensured that all new UI elements have been assigned accessibility IDs
  • Tests: Signaled need for E2E tests with label, if applicable
  • Tests: Briefly described what was tested and what platforms were used
  • UI: In case of UI changes, ensured that UI matches Figma
  • UI: In case of UI changes, requested review from a Core UI designer
  • UI: In case of UI changes, included screenshots of implementation

@status-im-auto
Copy link
Member

status-im-auto commented Oct 11, 2019

Jenkins Builds

Click to see older builds (32)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ e62626a #1 2019-10-11 15:06:36 ~12 min ios 📦ipa 📲
✔️ e62626a #1 2019-10-11 15:08:15 ~14 min linux 📦App
✔️ e62626a #1 2019-10-11 15:08:58 ~15 min windows 📦exe
✔️ e62626a #1 2019-10-11 15:11:49 ~18 min android-e2e 📦apk 📲
✔️ e62626a #1 2019-10-11 15:15:48 ~21 min macos 📦dmg
✔️ e62626a #1 2019-10-11 15:18:16 ~24 min android 📦apk 📲
✔️ c835c12 #2 2019-10-14 18:02:53 ~13 min linux 📦App
✔️ c835c12 #2 2019-10-14 18:03:37 ~14 min ios 📦ipa 📲
✔️ c835c12 #2 2019-10-14 18:04:02 ~15 min windows 📦exe
✔️ c835c12 #2 2019-10-14 18:04:30 ~15 min macos 📦dmg
✔️ c835c12 #2 2019-10-14 18:17:57 ~29 min android 📦apk 📲
✔️ c835c12 #2 2019-10-14 18:17:59 ~29 min android-e2e 📦apk 📲
5d772c8 #3 2019-10-15 10:32:44 ~8 min macos 📄log
✔️ 5d772c8 #3 2019-10-15 10:34:55 ~11 min ios 📦ipa 📲
✔️ 5d772c8 #3 2019-10-15 10:35:43 ~11 min linux 📦App
✔️ 5d772c8 #3 2019-10-15 10:36:05 ~12 min windows 📦exe
✔️ 15862f8 #4 2019-10-15 10:50:27 ~11 min ios 📦ipa 📲
✔️ 15862f8 #4 2019-10-15 10:52:49 ~13 min windows 📦exe
✔️ 15862f8 #4 2019-10-15 10:54:46 ~15 min linux 📦App
✔️ 15862f8 #4 2019-10-15 10:57:20 ~18 min android-e2e 📦apk 📲
✔️ 15862f8 #4 2019-10-15 10:58:18 ~19 min android 📦apk 📲
✔️ 15862f8 #4 2019-10-15 10:58:44 ~19 min macos 📦dmg
✔️ d2ae982 #5 2019-10-15 15:09:56 ~11 min ios 📦ipa 📲
✔️ d2ae982 #5 2019-10-15 15:10:10 ~11 min android 📦apk 📲
✔️ d2ae982 #5 2019-10-15 15:11:55 ~13 min macos 📦dmg
✔️ d2ae982 #5 2019-10-15 15:12:54 ~14 min windows 📦exe
✔️ d2ae982 #5 2019-10-15 15:12:56 ~14 min linux 📦App
✔️ d2ae982 #5 2019-10-15 15:14:06 ~15 min android-e2e 📦apk 📲
✔️ 3e3374b #6 2019-10-16 08:49:34 ~12 min linux 📦App
✔️ 3e3374b #6 2019-10-16 08:50:04 ~12 min windows 📦exe
✔️ 3e3374b #6 2019-10-16 08:54:27 ~16 min android-e2e 📦apk 📲
✔️ 3e3374b #6 2019-10-16 08:54:48 ~17 min android 📦apk 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 617b742 #7 2019-10-16 13:03:57 ~10 min ios 📦ipa 📲
✔️ 617b742 #7 2019-10-16 13:08:52 ~15 min macos 📦dmg
✔️ 3380ec7 #8 2019-10-16 13:11:37 ~12 min android-e2e 📦apk 📲
✔️ 3380ec7 #8 2019-10-16 13:12:50 ~13 min windows 📦exe
✔️ 3380ec7 #8 2019-10-16 13:12:57 ~13 min android 📦apk 📲
✔️ 3380ec7 #8 2019-10-16 13:13:02 ~13 min linux 📦App
✔️ 3380ec7 #8 2019-10-16 13:14:07 ~14 min ios 📦ipa 📲
✔️ 3380ec7 #8 2019-10-16 13:24:33 ~25 min macos 📦dmg

@yenda yenda force-pushed the fix/ens-registration branch 3 times, most recently from 5d772c8 to 15862f8 Compare October 15, 2019 10:38
@yenda yenda marked this pull request as ready for review October 15, 2019 10:46
@yenda yenda requested a review from a team as a code owner October 15, 2019 10:46
@auto-assign auto-assign bot removed the request for review from a team October 15, 2019 10:46
@yenda yenda requested review from flexsurfer, vitvly, errorists and a team October 15, 2019 10:46
@statustestbot
Copy link

61% of end-end tests have passed

Total executed tests: 98
Failed tests: 38
Passed tests: 60

Failed tests (38)

Click to expand
1. test_block_user_from_public_chat

Device 1: Wait for ConnectionStatusText
Device 1: ConnectionStatusText is An error occured while fetching history, check the logs for details

Device 1: 'MemberPhoto' is not found on the screen

Device sessions

2. test_copy_and_paste_messages

Device 1: Wait for ChatMessageInput
Device 1: Tap on AddToContacts

Device 1: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

3. test_remove_member_from_group_chat

Device 1: Tap on HomeButton
Device 1: Wait for PlusButton

Device 1: 'PlusButton' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

4. test_delete_one_to_one_chat_via_delete_button

Device 1: Wait for ChatMessageInput
Device 1: Tap on AddToContacts

Device 1: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

5. test_clear_history_of_group_chat_via_group_view

Device 1: Tap on HomeButton
Device 1: Wait for PlusButton

Device 1: 'PlusButton' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

6. test_decline_invitation_to_group_chat

Device 1: Tap on HomeButton
Device 1: Wait for PlusButton

Device 1: 'PlusButton' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

7. test_public_chat_messaging

Device 1: Tap on PlusButton
Device 1: Wait for JoinPublicChatButton

Device 1: 'JoinPublicChatButton' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

8. test_long_press_to_delete_1_1_chat

Device 1: Wait for ChatMessageInput
Device 1: Tap on AddToContacts

Device 1: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

9. test_text_message_1_1_chat

Device 1: Wait for ChatMessageInput
Device 1: Tap on AddToContacts

Device 1: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

10. test_add_to_contacts

Device 1: Wait for ChatMessageInput
Device 1: Tap on AddToContacts

Device 1: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

11. test_send_and_open_links

Device 1: Wait for ChatMessageInput
Device 1: Tap on AddToContacts

Device 1: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

12. test_unread_messages_counter_1_1_chat

Device 2: Wait for ChatMessageInput
Device 2: Tap on AddToContacts

Device 2: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

13. test_ens_in_public_chat

Device 1: Type 'autotester' to EnsName
Device 1: Tap on EnsCheckName

Device 1: 'EnsCheckName' is not found on the screen

Device sessions

14. test_copy_contact_code_and_wallet_address

Device 1: Wait for ChatMessageInput
Device 1: Tap on AddToContacts

Device 1: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

15. test_send_message_in_group_chat

Device 1: Tap on HomeButton
Device 1: Wait for PlusButton

Device 1: 'PlusButton' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

16. test_offline_messaging_1_1_chat

Device 2: Wait for ChatMessageInput
Device 2: Tap on AddToContacts

Device 2: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

17. test_fetch_more_history_in_empty_chat

Device 1: Wait for ChatMessageInput
Device 1: Looking for an element by text part: 'Oct 14, 2019'

Device 1: "Oct 14, 2019" is not shown

Device sessions

18. test_delete_group_chat_via_delete_button

Device 1: Tap on HomeButton
Device 1: Wait for PlusButton

Device 1: 'PlusButton' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

19. test_contact_profile_view

Device 1: Tap on ChatMenuButton
Device 1: Wait for ViewProfileButton

Device 1: 'ViewProfileButton' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

20. test_create_new_group_chat

Device 1: Tap on HomeButton
Device 1: Wait for PlusButton

Device 1: 'PlusButton' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

21. test_send_emoji

Device 1: Wait for ChatMessageInput
Device 1: Tap on AddToContacts

Device 1: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

22. test_search_chat_on_home

Device 1: Tap on HomeButton
Device 1: Wait for PlusButton

Device 1: 'SearchChatInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

23. test_block_user_from_one_to_one_header

Device 1: Wait for ChatMessageInput
Device 1: Tap on AddToContacts

Device 1: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

24. test_mobile_data_usage_popup_stop_syncing

Device 1: Looking for full text: 'Stop syncing'
Device 1: Looking for full text: 'History syncing offline'

Device 1: 'BaseElement' is not found on the screen

Device sessions

25. test_can_add_existing_ens

Device 1: Looking for an element by text part: 'is owned by you'
Device 1: Tap on EnsCheckName

Device 1: 'EnsCheckName' is not found on the screen

Device sessions

26. test_pair_devices_sync_name_photo_public_group_chats

Device 1: Wait for ChatMessageInput
Device 1: Tap on AddToContacts

Device 1: 'BackButton' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

27. test_pair_devices_sync_one_to_one_contacts

Device 1: Wait for ChatMessageInput
Device 1: Tap on AddToContacts

Device 1: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

28. test_messaging_in_different_networks

Device 1: Wait for ChatMessageInput
Device 1: Tap on AddToContacts

Device 1: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

29. test_add_new_group_chat_member

Device 1: Tap on PlusButton
Device 1: Wait for StartNewChatButton

Device 1: 'StartNewChatButton' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

30. test_make_admin_member_of_group_chat

Device 2: Tap on ProfileButton
Device 2: Wait for DefaultUserNameText

Device 2: 'ShareMyProfileButton' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

31. test_send_stt_from_wallet

Device 1: Tap on WalletButton
Device 1: Wait for MultiaccountMoreOptions

Device 1: 'SignInPhraseText' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

32. test_request_public_key_status_test_daap

Device 1: Tap on AllowButton
Device 1: Looking for an element by text: '0x042e0309b5f6bedee93a1b984af08f89a101aff62d01ddd0a1c8f4a1d4db3b91e648c914019d09de9f07ddbaacb77fdf07e89b5e0d60e9a8df05b75f213661fcad'

Public key is not returned

Device sessions

33. test_start_chat_with_ens

Device 1: Tap on AddToContacts
Device 1: Looking for an element by text: 'Outstanding Actual Eyas'

Device 1: Wrong user is resolved from username when starting 1-1 chat.; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

34. test_add_contact_from_public_chat

Device 1: Wait for ConnectionStatusText
Device 1: ConnectionStatusText is An error occured while fetching history, check the logs for details

Device 1: 'Username' is not found on the screen

Device sessions

35. test_send_message_to_newly_added_contact

Device 1: Wait for ChatMessageInput
Device 1: Tap on AddToContacts

Device 1: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

36. test_unread_messages_counter_public_chat

Device 2: Type 'test message' to ChatMessageInput
Device 2: Tap on SendMessageButton

Device 1: 'Counter' is not found on the screen

Device sessions

37. test_message_marked_as_sent_in_1_1_chat

Device 1: Wait for ChatMessageInput
Device 1: Tap on AddToContacts

Device 1: 'ChatMessageInput' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

38. test_group_chat_system_messages

Device 1: Tap on HomeButton
Device 1: Wait for PlusButton

Device 1: 'PlusButton' is not found on the screen; also Unexpected Alert is shown: 'The following error was returned by the mailserver: PoW() is too low'

Device sessions

Passed tests (60)

Click to expand
1. test_user_can_switch_network
Device sessions

2. test_filters_from_daap
Device sessions

3. test_send_transaction_from_daap
Device sessions

4. test_onboarding_screen_when_requesting_tokens_for_recovered_account
Device sessions

5. test_connection_is_secure
Device sessions

6. test_deploy_contract_from_daap
Device sessions

7. test_redirect_to_public_chat_tapping_tag_message
Device sessions

8. test_mobile_data_usage_popup_continue_syncing
Device sessions

9. test_open_transaction_on_etherscan
Device sessions

10. test_pass_phrase_validation
Device sessions

11. test_open_blocked_site
Device sessions

12. test_open_chat_by_pasting_public_key
Device sessions

13. test_add_custom_token
Device sessions

14. test_password_in_logcat_sign_in
Device sessions

15. test_set_profile_picture
Device sessions

16. test_sign_typed_message
Device sessions

17. test_home_view
Device sessions

18. test_can_use_purchased_stickers_on_recovered_account
Device sessions

19. test_logcat_send_transaction_from_daap
Device sessions

20. test_collectible_from_wallet_opens_in_browser_view
Device sessions

21. test_logcat_send_transaction_from_wallet
Device sessions

22. test_account_recovery_with_uppercase_recovery_phrase
Device sessions

23. test_send_token_with_7_decimals
Device sessions

24. test_modify_transaction_fee_values
Device sessions

25. test_token_with_more_than_allowed_decimals (TestRail link is not found)
Device sessions

26. test_send_eth_from_wallet_to_address
Device sessions

27. test_add_account_to_multiaccount_instance
Device sessions

28. test_send_funds_between_accounts_in_multiaccount_instance
Device sessions

29. test_request_eth_in_status_test_dapp
Device sessions

30. test_manage_assets
Device sessions

31. test_wallet_set_up
Device sessions

32. test_long_press_to_delete_public_chat
Device sessions

33. test_logcat_recovering_account
Device sessions

34. test_transaction_wrong_password_wallet
Device sessions

35. test_install_pack_and_send_sticker
Device sessions

36. test_delete_public_chat_via_delete_button
Device sessions

37. test_logcat_backup_recovery_phrase
Device sessions

38. test_logcat_sign_message_from_daap
Device sessions

39. test_switch_users_and_add_new_account
Device sessions

40. test_mobile_data_usage_settings
Device sessions

41. test_long_press_delete_clear_all_dapps
Device sessions

42. test_login_with_new_account
Device sessions

43. test_insufficient_funds_wallet_positive_balance
Device sessions

44. test_user_can_see_all_own_assets_after_account_recovering
Device sessions

45. test_send_two_transactions_one_after_another_in_dapp
Device sessions

46. test_password_in_logcat_creating_account
Device sessions

47. test_user_can_complete_tx_to_dapp_when_onboarding_via_dapp_completed
Device sessions

48. test_backup_recovery_phrase
Device sessions

49. test_public_chat_clear_history
Device sessions

50. test_offline_status
Device sessions

51. test_open_google_com_via_open_dapp
Device sessions

52. test_sign_message_from_daap
Device sessions

53. test_user_can_remove_profile_picture
Device sessions

54. test_send_two_transactions_in_batch_in_dapp
Device sessions

55. test_share_contact_code_and_wallet_address
Device sessions

56. test_need_help_section
Device sessions

57. test_refresh_button_browsing_app_webview
Device sessions

58. test_backup_recovery_phrase_warning_from_wallet
Device sessions

59. test_log_level_and_fleet
Device sessions

60. test_open_public_chat_using_deep_link
Device sessions

@statustestbot
Copy link

97% of end-end tests have passed

Total executed tests: 98
Failed tests: 3
Passed tests: 95

Failed tests (3)

Click to expand
1. test_ens_in_public_chat

Device 1: Type 'autotester' to EnsName
Device 1: Tap on EnsCheckName

Device 1: 'EnsCheckName' is not found on the screen

Device sessions

2. test_can_add_existing_ens

Device 1: Looking for an element by text part: 'is owned by you'
Device 1: Tap on EnsCheckName

Device 1: 'EnsCheckName' is not found on the screen

Device sessions

3. test_send_two_transactions_in_batch_in_dapp

Device 1: Tap on OkButton
Device 1: Looking for an element by text: 'Sign with password'

Second send transaction screen did not appear!

Device sessions

Passed tests (95)

Click to expand
1. test_user_can_switch_network
Device sessions

2. test_block_user_from_public_chat
Device sessions

3. test_filters_from_daap
Device sessions

4. test_copy_and_paste_messages
Device sessions

5. test_send_transaction_from_daap
Device sessions

6. test_onboarding_screen_when_requesting_tokens_for_recovered_account
Device sessions

7. test_connection_is_secure
Device sessions

8. test_deploy_contract_from_daap
Device sessions

9. test_redirect_to_public_chat_tapping_tag_message
Device sessions

10. test_remove_member_from_group_chat
Device sessions

11. test_delete_one_to_one_chat_via_delete_button
Device sessions

12. test_mobile_data_usage_popup_continue_syncing
Device sessions

13. test_clear_history_of_group_chat_via_group_view
Device sessions

14. test_decline_invitation_to_group_chat
Device sessions

15. test_open_transaction_on_etherscan
Device sessions

16. test_pass_phrase_validation
Device sessions

17. test_open_blocked_site
Device sessions

18. test_public_chat_messaging
Device sessions

19. test_open_chat_by_pasting_public_key
Device sessions

20. test_add_custom_token
Device sessions

21. test_long_press_to_delete_1_1_chat
Device sessions

22. test_password_in_logcat_sign_in
Device sessions

23. test_set_profile_picture
Device sessions

24. test_text_message_1_1_chat
Device sessions

25. test_add_to_contacts
Device sessions

26. test_sign_typed_message
Device sessions

27. test_home_view
Device sessions

28. test_send_and_open_links
Device sessions

29. test_unread_messages_counter_1_1_chat
Device sessions

30. test_can_use_purchased_stickers_on_recovered_account
Device sessions

31. test_logcat_send_transaction_from_daap
Device sessions

32. test_copy_contact_code_and_wallet_address
Device sessions

33. test_collectible_from_wallet_opens_in_browser_view
Device sessions

34. test_send_message_in_group_chat
Device sessions

35. test_logcat_send_transaction_from_wallet
Device sessions

36. test_account_recovery_with_uppercase_recovery_phrase
Device sessions

37. test_send_token_with_7_decimals
Device sessions

38. test_offline_messaging_1_1_chat
Device sessions

39. test_fetch_more_history_in_empty_chat
Device sessions

40. test_modify_transaction_fee_values
Device sessions

41. test_delete_group_chat_via_delete_button
Device sessions

42. test_token_with_more_than_allowed_decimals (TestRail link is not found)
Device sessions

43. test_send_eth_from_wallet_to_address
Device sessions

44. test_contact_profile_view
Device sessions

45. test_add_account_to_multiaccount_instance
Device sessions

46. test_send_funds_between_accounts_in_multiaccount_instance
Device sessions

47. test_request_eth_in_status_test_dapp
Device sessions

48. test_manage_assets
Device sessions

49. test_create_new_group_chat
Device sessions

50. test_wallet_set_up
Device sessions

51. test_long_press_to_delete_public_chat
Device sessions

52. test_send_emoji
Device sessions

53. test_search_chat_on_home
Device sessions

54. test_block_user_from_one_to_one_header
Device sessions

55. test_logcat_recovering_account
Device sessions

56. test_mobile_data_usage_popup_stop_syncing
Device sessions

57. test_transaction_wrong_password_wallet
Device sessions

58. test_pair_devices_sync_name_photo_public_group_chats
Device sessions

59. test_install_pack_and_send_sticker
Device sessions

60. test_pair_devices_sync_one_to_one_contacts
Device sessions

61. test_delete_public_chat_via_delete_button
Device sessions

62. test_messaging_in_different_networks
Device sessions

63. test_logcat_backup_recovery_phrase
Device sessions

64. test_add_new_group_chat_member
Device sessions

65. test_logcat_sign_message_from_daap
Device sessions

66. test_switch_users_and_add_new_account
Device sessions

67. test_mobile_data_usage_settings
Device sessions

68. test_make_admin_member_of_group_chat
Device sessions

69. test_long_press_delete_clear_all_dapps
Device sessions

70. test_send_stt_from_wallet
Device sessions

71. test_login_with_new_account
Device sessions

72. test_insufficient_funds_wallet_positive_balance
Device sessions

73. test_request_public_key_status_test_daap
Device sessions

74. test_start_chat_with_ens
Device sessions

75. test_add_contact_from_public_chat
Device sessions

76. test_user_can_see_all_own_assets_after_account_recovering
Device sessions

77. test_send_two_transactions_one_after_another_in_dapp
Device sessions

78. test_send_message_to_newly_added_contact
Device sessions

79. test_password_in_logcat_creating_account
Device sessions

80. test_user_can_complete_tx_to_dapp_when_onboarding_via_dapp_completed
Device sessions

81. test_backup_recovery_phrase
Device sessions

82. test_public_chat_clear_history
Device sessions

83. test_offline_status
Device sessions

84. test_open_google_com_via_open_dapp
Device sessions

85. test_unread_messages_counter_public_chat
Device sessions

86. test_sign_message_from_daap
Device sessions

87. test_user_can_remove_profile_picture
Device sessions

88. test_share_contact_code_and_wallet_address
Device sessions

89. test_message_marked_as_sent_in_1_1_chat
Device sessions

90. test_need_help_section
Device sessions

91. test_refresh_button_browsing_app_webview
Device sessions

92. test_backup_recovery_phrase_warning_from_wallet
Device sessions

93. test_log_level_and_fleet
Device sessions

94. test_group_chat_system_messages
Device sessions

95. test_open_public_chat_using_deep_link
Device sessions

@churik
Copy link
Member

churik commented Oct 16, 2019

@yenda please, take my commit when squashing, thanks

@statustestbot
Copy link

100% of end-end tests have passed

Total executed tests: 3
Failed tests: 0
Passed tests: 3

Passed tests (3)

Click to expand
1. test_ens_in_public_chat
Device sessions

2. test_can_add_existing_ens
Device sessions

3. test_send_two_transactions_in_batch_in_dapp (TestRail link is not found)
Device sessions

@yenda
Copy link
Contributor Author

yenda commented Oct 16, 2019

@flexsurfer @siphiuel please review

@churik churik self-assigned this Oct 16, 2019
src/status_im/subs.cljs Show resolved Hide resolved
src/status_im/ui/components/button.cljs Outdated Show resolved Hide resolved
src/status_im/ui/screens/ens/views.cljs Show resolved Hide resolved
src/status_im/ui/screens/ens/views.cljs Show resolved Hide resolved
src/status_im/ens/core.cljs Show resolved Hide resolved
src/status_im/ens/core.cljs Outdated Show resolved Hide resolved
src/status_im/ethereum/stateofus.cljs Show resolved Hide resolved
src/status_im/ui/components/button.cljs Outdated Show resolved Hide resolved
@yenda
Copy link
Contributor Author

yenda commented Oct 16, 2019

Tested:

  • buy stateofus username
  • connect stateofus username
  • use stateofus username
  • use custom domain username

A user can type in their existing name in the registration flow. Status can
confirm if they own it. After signing a transaction, the user can update the
Whisper ID to their new one.

Instead of using a hardcoded contract for stateofus, the standard `owner`
method is called to find the resolver contract of a ens name.
This allows users to set the pubkey even for ens names that are not
subdomains of stateofus

Signed-off-by: yenda <eric@status.im>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
7 participants