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

Add referral share link ui #10620

Merged
merged 1 commit into from
Aug 3, 2020
Merged

Add referral share link ui #10620

merged 1 commit into from
Aug 3, 2020

Conversation

Ferossgp
Copy link
Contributor

@Ferossgp Ferossgp commented May 11, 2020

Closes #10346
Add loaders while waiting API responses

@Ferossgp Ferossgp requested a review from a team as a code owner May 11, 2020 08:51
@Ferossgp Ferossgp self-assigned this May 11, 2020
@status-github-bot
Copy link

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-github-bot status-github-bot bot added this to REVIEW in Pipeline for QA May 11, 2020
@status-im-auto
Copy link
Member

status-im-auto commented May 11, 2020

Jenkins Builds

Click to see older builds (122)
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ a517016 #1 2020-05-11 09:04:33 ~12 min android 📦apk 📲
✖️ a517016 #1 2020-05-11 09:04:58 ~12 min android-e2e 📦apk 📲
✖️ a517016 #1 2020-05-11 09:08:48 ~16 min ios 📦ipa 📲
✖️ 6b30a72 #2 2020-05-11 13:26:02 ~13 min android 📦apk 📲
✖️ 6b30a72 #2 2020-05-11 13:30:06 ~18 min android-e2e 📦apk 📲
✖️ 6b30a72 #2 2020-05-11 13:30:08 ~17 min ios 📦ipa 📲
✔️ 5127709 #3 2020-05-12 09:02:24 ~14 min android-e2e 📦apk 📲
✔️ 5127709 #3 2020-05-12 09:06:29 ~18 min ios 📦ipa 📲
✔️ 5127709 #3 2020-05-12 09:07:41 ~19 min android 📦apk 📲
✖️ 67365b1 #4 2020-05-15 10:28:46 ~10 min android 📦apk 📲
✖️ 67365b1 #4 2020-05-15 10:33:59 ~15 min android-e2e 📦apk 📲
✖️ 67365b1 #4 2020-05-15 10:34:10 ~15 min ios 📦ipa 📲
✔️ 58dcb55 #5 2020-05-15 15:43:34 ~9 min android-e2e 📦apk 📲
✔️ 58dcb55 #5 2020-05-15 15:49:27 ~15 min android 📦apk 📲
✔️ 58dcb55 #5 2020-05-15 15:53:48 ~19 min ios 📦ipa 📲
✖️ bf4ef8d #6 2020-06-16 14:23:33 ~17 min ios 📦ipa 📲
✖️ bf4ef8d #6 2020-06-16 14:24:56 ~18 min android 📦apk 📲
c1f29f2 #7 2020-06-24 07:45:06 ~4 min android 📄log
c1f29f2 #7 2020-06-24 07:45:18 ~4 min android-e2e 📄log
c1f29f2 #7 2020-06-24 07:47:56 ~7 min ios 📄log
01e2bcb #8 2020-06-26 10:30:41 ~4 min ios 📄log
01e2bcb #8 2020-06-26 10:32:04 ~5 min android-e2e 📄log
01e2bcb #8 2020-06-26 10:32:22 ~6 min android 📄log
✔️ 73b7636 #9 2020-06-26 11:15:03 ~14 min ios 📦ipa 📲
✔️ 73b7636 #9 2020-06-26 11:18:25 ~18 min android-e2e 📦apk 📲
✔️ 73b7636 #9 2020-06-26 11:18:45 ~18 min android 📦apk 📲
✔️ b20533c #10 2020-07-04 09:48:21 ~16 min ios 📦ipa 📲
✔️ b20533c #10 2020-07-04 09:50:40 ~18 min android-e2e 📦apk 📲
✔️ b20533c #10 2020-07-04 09:51:21 ~19 min android 📦apk 📲
b20533c #11 2020-07-07 07:40:44 ~16 sec android 📄log
1010564 #11 2020-07-10 15:52:10 ~4 min ios 📄log
1010564 #11 2020-07-10 15:56:16 ~9 min android-e2e 📄log
1010564 #12 2020-07-10 15:56:16 ~9 min android 📄log
✔️ 2e4e85f #13 2020-07-10 17:09:31 ~13 min ios 📦ipa 📲
✔️ 2e4e85f #13 2020-07-10 17:14:42 ~18 min android-e2e 📦apk 📲
✔️ 62eb750 #14 2020-07-11 09:36:08 ~14 min android-e2e 📦apk 📲
✔️ 62eb750 #15 2020-07-11 09:36:22 ~14 min android 📦apk 📲
✔️ 62eb750 #14 2020-07-11 09:36:26 ~14 min ios 📦ipa 📲
✔️ 11c2ae6 #15 2020-07-14 09:23:46 ~12 min ios 📦ipa 📲
✔️ 11c2ae6 #15 2020-07-14 09:26:18 ~15 min android-e2e 📦apk 📲
✔️ 11c2ae6 #16 2020-07-14 09:26:33 ~15 min android 📦apk 📲
✔️ bcf0a7a #16 2020-07-14 12:44:24 ~14 min ios 📦ipa 📲
✔️ bcf0a7a #16 2020-07-14 12:45:45 ~16 min android-e2e 📦apk 📲
✔️ bcf0a7a #17 2020-07-14 12:46:14 ~16 min android 📦apk 📲
✔️ 5a42f0e #17 2020-07-14 18:35:04 ~13 min ios 📦ipa 📲
✔️ 5a42f0e #18 2020-07-14 18:37:56 ~16 min android 📦apk 📲
✔️ 5a42f0e #17 2020-07-14 18:38:05 ~16 min android-e2e 📦apk 📲
✖️ 466712e #18 2020-07-15 14:31:13 ~13 min ios 📦ipa 📲
✖️ 466712e #18 2020-07-15 14:32:40 ~14 min android-e2e 📦apk 📲
✖️ 466712e #19 2020-07-15 14:34:07 ~16 min android 📦apk 📲
✖️ 648bc28 #19 2020-07-15 15:31:27 ~13 min ios 📦ipa 📲
✖️ 648bc28 #19 2020-07-15 15:32:31 ~14 min android-e2e 📦apk 📲
✖️ 648bc28 #20 2020-07-15 15:33:05 ~14 min android 📦apk 📲
✔️ eb141ee #20 2020-07-15 16:42:12 ~13 min ios 📦ipa 📲
✔️ eb141ee #21 2020-07-15 16:42:53 ~14 min android 📦apk 📲
✔️ eb141ee #20 2020-07-15 16:43:06 ~14 min android-e2e 📦apk 📲
5c5fef0 #21 2020-07-16 09:05:39 ~2 min ios 📄log
5c5fef0 #21 2020-07-16 09:06:13 ~2 min android-e2e 📄log
5c5fef0 #22 2020-07-16 09:06:14 ~2 min android 📄log
fa6cbcc #23 2020-07-16 10:15:57 ~2 min android 📄log
fa6cbcc #22 2020-07-16 10:17:12 ~3 min android-e2e 📄log
fa6cbcc #22 2020-07-16 10:19:02 ~5 min ios 📄log
✔️ 4c69e19 #24 2020-07-16 10:41:20 ~15 min android 📦apk 📲
✔️ 4c69e19 #23 2020-07-16 10:45:49 ~19 min ios 📦ipa 📲
✔️ 4c69e19 #23 2020-07-16 10:45:51 ~19 min android-e2e 📦apk 📲
✔️ add174a #24 2020-07-16 11:37:33 ~12 min ios 📦ipa 📲
✔️ add174a #24 2020-07-16 11:37:56 ~13 min android-e2e 📦apk 📲
✔️ add174a #25 2020-07-16 11:37:57 ~13 min android 📦apk 📲
✔️ 48b62b5 #25 2020-07-16 13:38:24 ~11 min android-e2e 📦apk 📲
✔️ 48b62b5 #26 2020-07-16 13:39:57 ~13 min android 📦apk 📲
✔️ 48b62b5 #25 2020-07-16 13:44:08 ~17 min ios 📦ipa 📲
✔️ 918186f #26 2020-07-17 09:44:05 ~12 min ios 📦ipa 📲
✔️ 918186f #27 2020-07-17 09:45:33 ~14 min android 📦apk 📲
✔️ 918186f #26 2020-07-17 09:45:45 ~14 min android-e2e 📦apk 📲
f624073 #27 2020-07-21 11:46:53 ~16 sec ios 📄log
f624073 #27 2020-07-21 11:46:53 ~19 sec android-e2e 📄log
f624073 #28 2020-07-21 11:46:54 ~18 sec android 📄log
54b8ded #28 2020-07-21 12:31:37 ~14 min ios 📄log
54b8ded #28 2020-07-21 12:32:53 ~15 min android-e2e 📄log
54b8ded #29 2020-07-21 12:32:53 ~15 min android 📄log
✔️ fe0b9ef #29 2020-07-21 13:06:52 ~13 min ios 📦ipa 📲
✔️ fe0b9ef #30 2020-07-21 13:07:29 ~14 min android 📦apk 📲
✔️ fe0b9ef #29 2020-07-21 13:08:01 ~14 min android-e2e 📦apk 📲
✔️ 400ea78 #30 2020-07-21 13:59:17 ~14 min android-e2e 📦apk 📲
✔️ 400ea78 #31 2020-07-21 13:59:50 ~14 min android 📦apk 📲
✔️ 400ea78 #30 2020-07-21 14:03:41 ~18 min ios 📦ipa 📲
✔️ 16cf230 #31 2020-07-21 14:46:39 ~12 min ios 📦ipa 📲
✔️ 16cf230 #31 2020-07-21 14:48:34 ~14 min android-e2e 📦apk 📲
✔️ 16cf230 #32 2020-07-21 14:48:37 ~14 min android 📦apk 📲
3ec1959 #32 2020-07-22 09:35:57 ~13 min ios 📄log
✔️ 3ec1959 #33 2020-07-22 09:36:31 ~14 min android 📦apk 📲
bd8b001 #34 2020-07-22 12:08:13 ~9 min android 📄log
bd8b001 #33 2020-07-22 12:08:31 ~10 min android-e2e 📄log
bd8b001 #33 2020-07-22 12:10:22 ~12 min ios 📄log
2740cdc #34 2020-07-22 12:28:37 ~9 min android-e2e 📄log
2740cdc #35 2020-07-22 12:28:52 ~10 min android 📄log
2740cdc #34 2020-07-22 12:32:38 ~13 min ios 📄log
✔️ 226f034 #35 2020-07-22 13:02:50 ~13 min ios 📦ipa 📲
✔️ 226f034 #35 2020-07-22 13:04:38 ~15 min android-e2e 📦apk 📲
✔️ 226f034 #36 2020-07-22 13:04:51 ~15 min android 📦apk 📲
✖️ 3f7e0ed #36 2020-07-23 12:56:08 ~10 min android-e2e 📦apk 📲
✖️ 3f7e0ed #37 2020-07-23 12:56:11 ~10 min android 📦apk 📲
✖️ 3f7e0ed #36 2020-07-23 12:59:17 ~13 min ios 📦ipa 📲
✔️ 0191451 #37 2020-07-23 13:45:26 ~10 min android-e2e 📦apk 📲
✔️ 0191451 #38 2020-07-23 13:45:28 ~10 min android 📦apk 📲
✔️ 0191451 #37 2020-07-23 13:51:29 ~16 min ios 📦ipa 📲
✔️ 6c28c89 #38 2020-07-23 14:50:44 ~10 min android-e2e 📦apk 📲
✔️ 6c28c89 #39 2020-07-23 14:50:46 ~10 min android 📦apk 📲
✔️ 6c28c89 #38 2020-07-23 14:59:02 ~18 min ios 📦ipa 📲
✔️ e3bddc1 #40 2020-07-24 14:20:42 ~12 min ios 📦ipa 📲
✔️ e3bddc1 #40 2020-07-24 14:21:32 ~13 min android-e2e 📦apk 📲
✔️ e3bddc1 #41 2020-07-24 14:21:42 ~13 min android 📦apk 📲
cb90bc4 #42 2020-07-30 14:43:35 ~5 min android 📄log
cb90bc4 #41 2020-07-30 14:43:39 ~6 min android-e2e 📄log
cb90bc4 #41 2020-07-30 14:45:17 ~7 min ios 📄log
cb90bc4 #43 2020-07-31 09:37:49 ~4 min android 📄log
cb77d63 #44 2020-07-31 10:58:32 ~3 min android 📄log
cb77d63 #42 2020-07-31 10:58:37 ~3 min android-e2e 📄log
cb77d63 #42 2020-07-31 10:59:13 ~3 min ios 📄log
✔️ a91a3e6 #43 2020-07-31 13:10:14 ~15 min android-e2e 📦apk 📲
✔️ a91a3e6 #45 2020-07-31 13:10:22 ~15 min android 📦apk 📲
✔️ a91a3e6 #43 2020-07-31 13:11:11 ~16 min ios 📦ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ c310943 #46 2020-08-03 12:04:46 ~12 min android 📦apk 📲
✔️ c310943 #44 2020-08-03 12:04:51 ~12 min android-e2e 📦apk 📲
✔️ c310943 #44 2020-08-03 12:05:34 ~13 min ios 📦ipa 📲
✔️ 3c42360 #45 2020-08-03 12:36:16 ~10 min android-e2e 📦apk 📲

@hesterbruikman
Copy link
Contributor

@Ferossgp thanks for your patience! What feedback are you helped with most?

  • I noticed not all entry points (Build front-end user referral flow  #10346) are covered. Do you have that planned for later?
  • Copy in bottom sheet is too long, at least on my galaxy which does have a smaller screen. @errorists any thoughts on a copy change or text wrapping
    Screenshot_20200512-175347_Status PR

@Ferossgp
Copy link
Contributor Author

@hesterbruikman waiting for the contract to be deployed, then I will add usage everywhere.
The feedback mostly on the UI and feel, the bottom sheet is a bit buggy when dragging because we do not support atm multiple bottom sheet at the same time, adding that separately.

@errorists
Copy link
Contributor

@hesterbruikman normally if it doesn't fit we run the text into a second line

@Ferossgp Ferossgp force-pushed the feature/referral-share-ui branch 2 times, most recently from 67365b1 to 58dcb55 Compare May 15, 2020 15:33
@status-github-bot status-github-bot bot moved this from REVIEW to CONTRIBUTOR in Pipeline for QA May 15, 2020
@Ferossgp Ferossgp requested a review from jakubgs as a code owner June 24, 2020 07:40
@Ferossgp Ferossgp force-pushed the feature/referral-share-ui branch 2 times, most recently from 01e2bcb to 73b7636 Compare June 26, 2020 10:59
@oskarth
Copy link
Contributor

oskarth commented Jul 1, 2020

Small request - could you please rebase to latest master so this commit b5fda12 gets included? This means we aren't running E2E tests on eth.prod cluster anymore, and since this happens on every push, the impact is quite big. This ensures we have more accurate metrics going forward from Jul 1 onward, which would be awesome. See https://discuss.status.im/t/user-growth-and-retention/1782 for more

@Ferossgp Ferossgp force-pushed the feature/referral-share-ui branch 4 times, most recently from 2e4e85f to 62eb750 Compare July 11, 2020 09:21
@Ferossgp Ferossgp force-pushed the feature/referral-share-ui branch 2 times, most recently from 11c2ae6 to bcf0a7a Compare July 14, 2020 12:29
@hesterbruikman hesterbruikman added this to the Mobile Release 1.5 milestone Jul 14, 2020
@Ferossgp Ferossgp moved this from CONTRIBUTOR to E2E Tests in Pipeline for QA Jul 23, 2020
@status-im-auto
Copy link
Member

94% of end-end tests have passed

Total executed tests: 98
Failed tests: 6
Passed tests: 92

Failed tests (6)

Click to expand
1. test_decline_transactions_in_1_1_chat

Device 1: Decline transaction request and check that state is changed
Device 1: Tap on CommandsButton

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

Device sessions

2. test_timestamp_in_chats

Device 1: Looking for a message by text: 'test text'
Device 1: Wait for MemberPhoto

Timestamp is not displayed in 1-1 chat for the sender

Device sessions

3. test_connection_is_secure

Device 1: Tap on URLEditBoxLockIcon
Device 1: Looking for full text: 'Connection is secure. Make sure you really trust this site before signing transactions or entering personal data.'

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

Device sessions

4. test_can_use_purchased_stickers_on_recovered_account

Device 1: Wait for JoinPublicChatButton
Device 1: JoinPublicChatButton element not found

Device 1: 'JoinPublicChatButton' is not found on the screen; also Unexpected Alert is shown: 'Ethereum node was started with incorrect configuration, application will be stopped to recover from that condition. Configured network id = 3, actual = 1'

Device sessions

5. test_start_chat_with_ens

Device 1: Wait for StartNewChatButton
Device 1: StartNewChatButton element not found

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

Device sessions

6. test_restore_account_from_mnemonic_to_keycard

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

Device 1: Keycard user is not logged in

Device sessions

Passed tests (92)

Click to expand
1. test_delete_chats_via_delete_button
Device sessions

2. test_can_see_all_transactions_in_history
Device sessions

3. test_install_pack_and_send_sticker
Device sessions

4. test_login_with_new_account
Device sessions

5. test_password_in_logcat_sign_in
Device sessions

6. test_logcat_recovering_account
Device sessions

7. test_public_chat_clear_history
Device sessions

8. test_need_help_section
Device sessions

9. test_send_and_open_links
Device sessions

10. test_mobile_data_usage_popup_stop_syncing
Device sessions

11. test_keycard_send_eth_in_1_1_chat
Device sessions

12. test_mobile_data_usage_settings
Device sessions

13. test_create_new_group_chat
Device sessions

14. test_keycard_send_eth_to_ens
Device sessions

15. test_user_can_switch_network
Device sessions

16. test_mobile_data_usage_popup_continue_syncing
Device sessions

17. test_home_view
Device sessions

18. test_open_google_com_via_open_dapp
Device sessions

19. test_share_contact_code_and_wallet_address
Device sessions

20. test_add_to_contacts
Device sessions

21. test_add_account_to_multiaccount_instance_private_key
Device sessions

22. test_refresh_button_browsing_app_webview
Device sessions

23. test_push_notification_1_1_chat
Device sessions

24. test_keycard_send_two_transactions_one_after_another_in_dapp
Device sessions

25. test_can_add_existing_ens
Device sessions

26. test_transaction_wrong_password_wallet
Device sessions

27. test_public_chat_messaging
Device sessions

28. test_unread_messages_counter_public_chat
Device sessions

29. test_keycard_send_eth_from_wallet_to_address
Device sessions

30. test_keycard_fetching_balance_after_offline
Device sessions

31. test_keycard_send_transaction_from_daap
Device sessions

32. test_text_message_1_1_chat
Device sessions

33. test_open_transaction_on_etherscan
Device sessions

34. test_onboarding_screen_when_requesting_tokens_for_recovered_account
Device sessions

35. test_contact_profile_view
Device sessions

36. test_offline_add_new_group_chat_member
Device sessions

37. test_logcat_backup_recovery_phrase
Device sessions

38. test_can_recover_keycard_account_card_pairing
Device sessions

39. test_add_and_remove_contact_from_public_chat
Device sessions

40. test_add_account_to_multiaccount_instance_seed_phrase
Device sessions

41. test_open_blocked_site
Device sessions

42. test_open_chat_by_pasting_public_key
Device sessions

43. test_pair_devices_sync_one_to_one_contacts_public_chat
Device sessions

44. test_keycard_sign_message_from_daap
Device sessions

45. test_send_non_english_message_to_newly_added_contact
Device sessions

46. test_ens_username_recipient
Device sessions

47. test_fetch_more_history_in_empty_chat
Device sessions

48. test_open_public_chat_using_deep_link
Device sessions

49. test_switch_users_and_add_new_account
Device sessions

50. test_add_account_to_multiaccount_instance_generate_new
Device sessions

51. test_copy_contact_code_and_wallet_address
Device sessions

52. test_send_transaction_from_daap
Device sessions

53. test_send_two_transactions_one_after_another_in_dapp
Device sessions

54. test_image_in_one_to_one_send_save_reply
Device sessions

55. test_add_new_keycard_account_and_login
Device sessions

56. test_long_press_delete_clear_all_dapps
Device sessions

57. test_copy_and_paste_messages
Device sessions

58. test_back_forward_buttons_browsing_website
Device sessions

59. test_password_in_logcat_creating_account
Device sessions

60. test_sign_message_from_daap
Device sessions

61. test_dapps_permissions
Device sessions

62. test_request_public_key_status_test_daap
Device sessions

63. test_long_press_to_delete_chat
Device sessions

64. test_log_level_and_fleet
Device sessions

65. test_add_and_delete_watch_only_account_to_multiaccount_instance
Device sessions

66. test_recover_account_from_new_user_seedphrase
Device sessions

67. test_send_transaction_with_custom_token
Device sessions

68. test_keycard_request_and_receive_stt_in_1_1_chat_offline
Device sessions

69. test_send_eth_in_1_1_chat
Device sessions

70. test_send_two_transactions_in_batch_in_dapp
Device sessions

71. test_ens_in_public_and_1_1_chats
Device sessions

72. test_block_user_from_public_chat
Device sessions

73. test_fetching_balance_after_offline
Device sessions

74. test_offline_status
Device sessions

75. test_wallet_set_up
Device sessions

76. test_manage_assets
Device sessions

77. test_offline_messaging_1_1_chat
Device sessions

78. test_account_recovery_with_uppercase_recovery_phrase
Device sessions

79. test_send_token_with_7_decimals
Device sessions

80. test_user_can_see_all_own_assets_after_account_recovering
Device sessions

81. test_pass_phrase_validation
Device sessions

82. test_keycard_can_see_all_transactions_in_history
Device sessions

83. test_keycard_send_two_transactions_in_batch_in_dapp
Device sessions

84. test_send_emoji
Device sessions

85. test_filters_from_daap
Device sessions

86. test_redirect_to_public_chat_tapping_tag_message
Device sessions

87. test_send_eth_to_ens_in_chat
Device sessions

88. test_send_eth_from_wallet_to_address
Device sessions

89. test_request_and_receive_stt_in_1_1_chat_offline
Device sessions

90. test_messaging_in_different_networks
Device sessions

91. test_collectible_from_wallet_opens_in_browser_view
Device sessions

92. test_insufficient_funds_wallet_positive_balance
Device sessions

@Ferossgp Ferossgp force-pushed the feature/referral-share-ui branch 2 times, most recently from 3f7e0ed to 0191451 Compare July 23, 2020 13:34
@Serhy Serhy moved this from E2E Tests to IN TESTING in Pipeline for QA Jul 24, 2020
@hesterbruikman
Copy link
Contributor

As already discussed with @Ferossgp. These are my findings from testing cc @Serhy

1. Use advertiser referral link - Decline attribution

Samsung Galaxy s10e

  • Needs copy update. I can do this separately after this PR is merged as well (Must have)
  • Can't Dismiss which is a big ask upon onboarding. I think we might want to replace Decline with something like Ask me again later. Let's see how it goes first and then revisit if this is necessary. (Nice to have)

2. Use advertiser referral link - Accept attribution

Samsung Galaxy s10e
(reinstall PR)

  • Likely due to contract on Rinkeby being empty, or contract address having changed, not receiving funds, so not seeing notification. Check again with new contract
  • Other than that looks good

3. Use a previously used referral link

Samsung Galaxy s10e

  • Nothing happens aside from regular use which is expected

4. Invite friends

Samsung Galaxy s10e + Fairphone Android 7

  • Text overflow Earn 0.001 ETH for every friend you invite; looks like this only happens when opening from invite
  • Should be SNT, DAI and (partner token). As discussed, best to avoid amount here. (Must have)
  • Needs latest update with How it works banner and minor copy changes (Must have)
  • Limit in contract needs to be set to 10 (cc @richard-ramos ) (Must have)
  • Terms and conditions should prompt to opt opening in Status. Needs investigation as modal needs to stay open (Helpful to have, not required)
  • Remove the UI altogether on iOS? Terms overview doesn't explicitly state it will not work if the referrer is on iOS and I can generate and use the referral URL, which implies to me I will also get the referral bonus (Must have)

5. Receive friend invite

Need some more attempts to understand the logic of testing for this

@status-im-auto
Copy link
Member

100% of end-end tests have passed

Total executed tests: 97
Failed tests: 0
Passed tests: 97

Passed tests (97)

Click to expand
1. test_request_public_key_status_test_daap
Device sessions

2. test_open_public_chat_using_deep_link
Device sessions

3. test_ens_username_recipient
Device sessions

4. test_keycard_can_see_all_transactions_in_history
Device sessions

5. test_offline_status
Device sessions

6. test_open_transaction_on_etherscan
Device sessions

7. test_open_chat_by_pasting_public_key
Device sessions

8. test_back_forward_buttons_browsing_website
Device sessions

9. test_password_in_logcat_creating_account
Device sessions

10. test_can_use_purchased_stickers_on_recovered_account
Device sessions

11. test_insufficient_funds_wallet_positive_balance
Device sessions

12. test_mobile_data_usage_settings
Device sessions

13. test_open_google_com_via_open_dapp
Device sessions

14. test_logcat_backup_recovery_phrase
Device sessions

15. test_unread_messages_counter_public_chat
Device sessions

16. test_send_two_transactions_one_after_another_in_dapp
Device sessions

17. test_user_can_switch_network
Device sessions

18. test_public_chat_clear_history
Device sessions

19. test_wallet_set_up
Device sessions

20. test_timestamp_in_chats
Device sessions

21. test_delete_chats_via_delete_button
Device sessions

22. test_add_account_to_multiaccount_instance_seed_phrase
Device sessions

23. test_fetch_more_history_in_empty_chat
Device sessions

24. test_push_notification_1_1_chat
Device sessions

25. test_mobile_data_usage_popup_continue_syncing
Device sessions

26. test_keycard_fetching_balance_after_offline
Device sessions

27. test_add_to_contacts
Device sessions

28. test_dapps_permissions
Device sessions

29. test_long_press_delete_clear_all_dapps
Device sessions

30. test_need_help_section
Device sessions

31. test_transaction_wrong_password_wallet
Device sessions

32. test_offline_messaging_1_1_chat
Device sessions

33. test_add_account_to_multiaccount_instance_private_key
Device sessions

34. test_text_message_1_1_chat
Device sessions

35. test_install_pack_and_send_sticker
Device sessions

36. test_send_eth_in_1_1_chat
Device sessions

37. test_pair_devices_sync_one_to_one_contacts_public_chat
Device sessions

38. test_image_in_one_to_one_send_save_reply
Device sessions

39. test_send_emoji
Device sessions

40. test_copy_and_paste_messages
Device sessions

41. test_keycard_send_eth_in_1_1_chat
Device sessions

42. test_restore_account_from_mnemonic_to_keycard
Device sessions

43. test_add_account_to_multiaccount_instance_generate_new
Device sessions

44. test_send_eth_from_wallet_to_address
Device sessions

45. test_messaging_in_different_networks
Device sessions

46. test_start_chat_with_ens
Device sessions

47. test_logcat_recovering_account
Device sessions

48. test_offline_add_new_group_chat_member
Device sessions

49. test_connection_is_secure
Device sessions

50. test_keycard_send_transaction_from_daap
Device sessions

51. test_user_can_see_all_own_assets_after_account_recovering
Device sessions

52. test_send_eth_to_ens_in_chat
Device sessions

53. test_keycard_sign_message_from_daap
Device sessions

54. test_long_press_to_delete_chat
Device sessions

55. test_add_and_remove_contact_from_public_chat
Device sessions

56. test_send_transaction_from_daap
Device sessions

57. test_onboarding_screen_when_requesting_tokens_for_recovered_account
Device sessions

58. test_keycard_send_eth_from_wallet_to_address
Device sessions

59. test_keycard_send_two_transactions_one_after_another_in_dapp
Device sessions

60. test_add_and_delete_watch_only_account_to_multiaccount_instance
Device sessions

61. test_open_blocked_site
Device sessions

62. test_refresh_button_browsing_app_webview
Device sessions

63. test_public_chat_messaging
Device sessions

64. test_pass_phrase_validation
Device sessions

65. test_send_token_with_7_decimals
Device sessions

66. test_sign_message_from_daap
Device sessions

67. test_recover_account_from_new_user_seedphrase
Device sessions

68. test_add_new_keycard_account_and_login
Device sessions

69. test_decline_transactions_in_1_1_chat
Device sessions

70. test_send_and_open_links
Device sessions

71. test_manage_assets
Device sessions

72. test_share_contact_code_and_wallet_address
Device sessions

73. test_send_transaction_with_custom_token
Device sessions

74. test_keycard_send_eth_to_ens (TestRail link is not found)
Device sessions

75. test_can_recover_keycard_account_card_pairing
Device sessions

76. test_request_and_receive_stt_in_1_1_chat_offline
Device sessions

77. test_redirect_to_public_chat_tapping_tag_message
Device sessions

78. test_block_user_from_public_chat
Device sessions

79. test_ens_in_public_and_1_1_chats
Device sessions

80. test_create_new_group_chat
Device sessions

81. test_password_in_logcat_sign_in
Device sessions

82. test_account_recovery_with_uppercase_recovery_phrase
Device sessions

83. test_mobile_data_usage_popup_stop_syncing
Device sessions

84. test_send_non_english_message_to_newly_added_contact
Device sessions

85. test_collectible_from_wallet_opens_in_browser_view
Device sessions

86. test_contact_profile_view
Device sessions

87. test_keycard_send_two_transactions_in_batch_in_dapp
Device sessions

88. test_switch_users_and_add_new_account
Device sessions

89. test_send_two_transactions_in_batch_in_dapp
Device sessions

90. test_filters_from_daap
Device sessions

91. test_login_with_new_account
Device sessions

92. test_home_view
Device sessions

93. test_log_level_and_fleet
Device sessions

94. test_can_add_existing_ens
Device sessions

95. test_copy_contact_code_and_wallet_address
Device sessions

96. test_fetching_balance_after_offline
Device sessions

97. test_can_see_all_transactions_in_history
Device sessions

@churik churik moved this from IN TESTING to E2E Tests in Pipeline for QA Jul 31, 2020
@status-im-auto
Copy link
Member

99% of end-end tests have passed

Total executed tests: 97
Failed tests: 1
Passed tests: 96

Failed tests (1)

Click to expand
1. test_image_in_one_to_one_send_save_reply

Device 2: Looking for a message by text: 'image reply'
Device 2: Wait for ImageInReply

Save and reply are not available on long-press on own image messages

Device sessions

Passed tests (96)

Click to expand
1. test_decline_transactions_in_1_1_chat
Device sessions

2. test_delete_chats_via_delete_button
Device sessions

3. test_can_see_all_transactions_in_history
Device sessions

4. test_install_pack_and_send_sticker
Device sessions

5. test_login_with_new_account
Device sessions

6. test_timestamp_in_chats
Device sessions

7. test_password_in_logcat_sign_in
Device sessions

8. test_logcat_recovering_account
Device sessions

9. test_public_chat_clear_history
Device sessions

10. test_need_help_section
Device sessions

11. test_send_and_open_links
Device sessions

12. test_mobile_data_usage_popup_stop_syncing
Device sessions

13. test_keycard_send_eth_in_1_1_chat
Device sessions

14. test_mobile_data_usage_settings
Device sessions

15. test_create_new_group_chat
Device sessions

16. test_keycard_send_eth_to_ens (TestRail link is not found)
Device sessions

17. test_user_can_switch_network
Device sessions

18. test_mobile_data_usage_popup_continue_syncing
Device sessions

19. test_home_view
Device sessions

20. test_open_google_com_via_open_dapp
Device sessions

21. test_share_contact_code_and_wallet_address
Device sessions

22. test_connection_is_secure
Device sessions

23. test_add_to_contacts
Device sessions

24. test_add_account_to_multiaccount_instance_private_key
Device sessions

25. test_refresh_button_browsing_app_webview
Device sessions

26. test_push_notification_1_1_chat
Device sessions

27. test_keycard_send_two_transactions_one_after_another_in_dapp
Device sessions

28. test_can_add_existing_ens
Device sessions

29. test_transaction_wrong_password_wallet
Device sessions

30. test_public_chat_messaging
Device sessions

31. test_unread_messages_counter_public_chat
Device sessions

32. test_keycard_send_eth_from_wallet_to_address
Device sessions

33. test_keycard_fetching_balance_after_offline
Device sessions

34. test_keycard_send_transaction_from_daap
Device sessions

35. test_text_message_1_1_chat
Device sessions

36. test_can_use_purchased_stickers_on_recovered_account
Device sessions

37. test_open_transaction_on_etherscan
Device sessions

38. test_onboarding_screen_when_requesting_tokens_for_recovered_account
Device sessions

39. test_contact_profile_view
Device sessions

40. test_offline_add_new_group_chat_member
Device sessions

41. test_logcat_backup_recovery_phrase
Device sessions

42. test_can_recover_keycard_account_card_pairing
Device sessions

43. test_start_chat_with_ens
Device sessions

44. test_add_and_remove_contact_from_public_chat
Device sessions

45. test_add_account_to_multiaccount_instance_seed_phrase
Device sessions

46. test_open_blocked_site
Device sessions

47. test_open_chat_by_pasting_public_key
Device sessions

48. test_pair_devices_sync_one_to_one_contacts_public_chat
Device sessions

49. test_keycard_sign_message_from_daap
Device sessions

50. test_send_non_english_message_to_newly_added_contact
Device sessions

51. test_ens_username_recipient
Device sessions

52. test_fetch_more_history_in_empty_chat
Device sessions

53. test_open_public_chat_using_deep_link
Device sessions

54. test_switch_users_and_add_new_account
Device sessions

55. test_add_account_to_multiaccount_instance_generate_new
Device sessions

56. test_copy_contact_code_and_wallet_address
Device sessions

57. test_send_transaction_from_daap
Device sessions

58. test_send_two_transactions_one_after_another_in_dapp
Device sessions

59. test_add_new_keycard_account_and_login
Device sessions

60. test_long_press_delete_clear_all_dapps
Device sessions

61. test_copy_and_paste_messages
Device sessions

62. test_back_forward_buttons_browsing_website
Device sessions

63. test_password_in_logcat_creating_account
Device sessions

64. test_sign_message_from_daap
Device sessions

65. test_dapps_permissions
Device sessions

66. test_request_public_key_status_test_daap
Device sessions

67. test_long_press_to_delete_chat
Device sessions

68. test_log_level_and_fleet
Device sessions

69. test_add_and_delete_watch_only_account_to_multiaccount_instance
Device sessions

70. test_recover_account_from_new_user_seedphrase
Device sessions

71. test_send_transaction_with_custom_token
Device sessions

72. test_send_eth_in_1_1_chat
Device sessions

73. test_send_two_transactions_in_batch_in_dapp
Device sessions

74. test_ens_in_public_and_1_1_chats
Device sessions

75. test_block_user_from_public_chat
Device sessions

76. test_fetching_balance_after_offline
Device sessions

77. test_offline_status
Device sessions

78. test_wallet_set_up
Device sessions

79. test_manage_assets
Device sessions

80. test_offline_messaging_1_1_chat
Device sessions

81. test_account_recovery_with_uppercase_recovery_phrase
Device sessions

82. test_send_token_with_7_decimals
Device sessions

83. test_user_can_see_all_own_assets_after_account_recovering
Device sessions

84. test_pass_phrase_validation
Device sessions

85. test_keycard_can_see_all_transactions_in_history
Device sessions

86. test_keycard_send_two_transactions_in_batch_in_dapp
Device sessions

87. test_send_emoji
Device sessions

88. test_filters_from_daap
Device sessions

89. test_redirect_to_public_chat_tapping_tag_message
Device sessions

90. test_restore_account_from_mnemonic_to_keycard
Device sessions

91. test_send_eth_to_ens_in_chat
Device sessions

92. test_send_eth_from_wallet_to_address
Device sessions

93. test_request_and_receive_stt_in_1_1_chat_offline
Device sessions

94. test_messaging_in_different_networks
Device sessions

95. test_collectible_from_wallet_opens_in_browser_view
Device sessions

96. test_insufficient_funds_wallet_positive_balance
Device sessions

@churik
Copy link
Member

churik commented Jul 31, 2020

@hesterbruikman
referral flow is available on start page on mainnet:
IMAGE 2020-07-31 16:36:35

@Ferossgp
Copy link
Contributor Author

Ferossgp commented Aug 3, 2020

@churik this is expected, the UI is hidden only for release build by env var https://github.com/status-im/status-react/pull/10620/files#diff-95f82adffc4221e092a1ff1a67cef1c5R19

@churik
Copy link
Member

churik commented Aug 3, 2020

Apart from chenging invite link from general http://status.im to deeplink - no more regression is found

Add acquisition backend methods

Init referrals sharing UI

Add invite on home screen

Use i18n for strings

Lint

Update status go

Pull acquisition contract to get SNT amount

Use new invite component

f pulling

go

Use screen instead of bottom sheet

Handle android install referrer

Post referrer to backend if present

go go

Add async storage for referral decisions

Update with the stage backend

Update contract methods

Modal

UI

Full handling of advertiser type

UI

test

UI

Handle with universal link

Allow multiple acquisition per installation

Fix android bottom sheet

Do not call service if no click-id received

Disable invite in release

Parse query params for referrer

Adapt UI changes

Add push notification

update deps

Mock react-native-push-notification

Request push notifications permission on press accept

Store transaction to local storage and load it back on login

Separate acquisition into smaller ns

Add chat invite

Get referrer only on first install

fix string

Fix firebase crash

Handle outdate click-id

Cleanup business logic

Update contract

Revert pn

Minor update to advertiser modal copy

OLD -  Welcome to Status! Here is some crypto to get you started
NEW - Here’s some crypto to get you started! Use it to get stickers, an ENS name and try dapps

OLD - By accepting you agree to the starter pack
NEW - By accepting you agree to the referral program

upgrade status-go

Add mainnet

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
@Ferossgp Ferossgp merged commit 3c42360 into develop Aug 3, 2020
Pipeline for QA automation moved this from MERGE to DONE Aug 3, 2020
@Ferossgp Ferossgp deleted the feature/referral-share-ui branch August 3, 2020 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Build front-end user referral flow
7 participants