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

[Fixes #7325] Add EIP681 deeplink support #8004

Merged
merged 1 commit into from
May 8, 2019
Merged

[Fixes #7325] Add EIP681 deeplink support #8004

merged 1 commit into from
May 8, 2019

Conversation

jeluard
Copy link
Contributor

@jeluard jeluard commented Apr 19, 2019

fixes #7325

Summary

Added EIP681 deep link support.

NOTE to testers EIP681 clicked in mobile stock browser should open status / send screen.

status: ready

@jeluard jeluard self-assigned this Apr 19, 2019
@jeluard jeluard requested a review from yenda April 19, 2019 10:52
@status-github-bot status-github-bot bot added this to REVIEW in Pipeline for QA Apr 19, 2019
@status-im-auto
Copy link
Member

status-im-auto commented Apr 19, 2019

Jenkins Builds

Click to see older builds (26)
Commit #️⃣ Finished (UTC) Duration Platform Result
c37842c #1 2019-04-19 11:06:35 ~13 min android-e2e 📄 log
✔️ c37842c #1 2019-04-19 11:07:41 ~14 min macos 📦 dmg
✔️ c37842c #1 2019-04-19 11:09:05 ~16 min linux 📦 App
✔️ c37842c #1 2019-04-19 11:09:39 ~16 min android 📦 apk
✔️ c37842c #1 2019-04-19 11:13:04 ~20 min windows 📦 exe
✔️ c37842c #1 2019-04-19 11:15:44 ~23 min ios 📦 ipa
c37842c #2 2019-04-22 08:38:06 ~11 min android-e2e 📄 log
c4ca8d1 #2 2019-04-25 09:53:23 ~4 min ios 📄 log
✔️ c4ca8d1 #2 2019-04-25 10:02:11 ~13 min macos 📦 dmg
✔️ c4ca8d1 #2 2019-04-25 10:03:06 ~14 min linux 📦 App
✔️ c4ca8d1 #2 2019-04-25 10:03:57 ~15 min windows 📦 exe
✔️ c4ca8d1 #3 2019-04-25 10:05:52 ~17 min android-e2e 📦 apk
✔️ c4ca8d1 #2 2019-04-25 10:11:01 ~22 min android 📦 apk
✔️ c4ca8d1 #3 2019-04-25 10:30:59 ~24 min ios 📦 ipa
✔️ 917fd6e #4 2019-04-30 15:25:32 ~17 min android-e2e 📦 apk
✔️ 917fd6e #3 2019-04-30 15:26:41 ~18 min macos 📦 dmg
✔️ 917fd6e #3 2019-04-30 15:29:31 ~21 min android 📦 apk
✔️ 917fd6e #3 2019-04-30 15:30:36 ~22 min linux 📦 App
✔️ 917fd6e #4 2019-04-30 15:31:47 ~24 min ios 📦 ipa
✔️ 917fd6e #3 2019-04-30 15:37:56 ~30 min windows 📦 exe
✔️ 483bed0 #5 2019-05-03 12:27:49 ~13 min macos 📦 dmg
✔️ 483bed0 #5 2019-05-03 12:30:52 ~16 min linux 📦 App
✔️ 483bed0 #5 2019-05-03 12:30:56 ~17 min android 📦 apk
✔️ 483bed0 #5 2019-05-03 12:34:11 ~20 min windows 📦 exe
✔️ 483bed0 #6 2019-05-03 12:35:34 ~21 min android-e2e 📦 apk
✔️ 483bed0 #6 2019-05-03 12:39:24 ~25 min ios 📦 ipa
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ b354188 #6 2019-05-06 13:40:06 ~15 min linux 📦 App
✔️ b354188 #7 2019-05-06 13:42:55 ~18 min android-e2e 📦 apk
✔️ b354188 #6 2019-05-06 13:42:58 ~18 min macos 📦 dmg
✔️ b354188 #6 2019-05-06 13:46:07 ~21 min windows 📦 exe
✔️ b354188 #7 2019-05-06 13:49:49 ~25 min ios 📦 ipa
✔️ b354188 #11 2019-05-07 13:04:06 ~19 min android 📦 apk
✔️ 3ff08f8 #9 2019-05-07 11:37:00 ~17 min macos 📦 dmg
✔️ 3ff08f8 #9 2019-05-07 11:37:06 ~17 min linux 📦 App
✔️ 3ff08f8 #10 2019-05-07 11:37:29 ~17 min android-e2e 📦 apk
✔️ 3ff08f8 #8 2019-05-07 11:38:38 ~18 min windows 📦 exe
✔️ 3ff08f8 #9 2019-05-07 11:40:29 ~20 min android 📦 apk
✔️ 3ff08f8 #10 2019-05-07 11:43:24 ~23 min ios 📦 ipa

@flexsurfer flexsurfer moved this from REVIEW to TO TEST in Pipeline for QA Apr 24, 2019
@flexsurfer flexsurfer mentioned this pull request Apr 24, 2019
12 tasks
@churik
Copy link
Member

churik commented Apr 25, 2019

@jeluard please, rebase to current develop.
Thanks!

@jeluard
Copy link
Contributor Author

jeluard commented Apr 25, 2019

@churik Done!

@churik churik moved this from TO TEST to IN TESTING in Pipeline for QA Apr 25, 2019
@churik churik moved this from IN TESTING to TO TEST in Pipeline for QA Apr 26, 2019
@churik churik moved this from TO TEST to IN TESTING in Pipeline for QA Apr 26, 2019
@churik churik self-assigned this Apr 26, 2019
@statustestbot
Copy link

100% of end-end tests have passed

Total executed tests: 48
Failed tests: 0
Passed tests: 48

Passed tests (48)

Click to expand
1. test_block_user_from_public_chat
Device sessions

2. test_filters_from_daap
Device sessions

3. test_copy_and_paste_messages
Device sessions

4. test_send_transaction_from_daap
Device sessions

5. test_request_and_receive_tokens_in_1_1_chat
Device sessions

6. test_deploy_contract_from_daap
Device sessions

7. test_public_chat_messaging
Device sessions

8. test_password_in_logcat_sign_in
Device sessions

9. test_text_message_1_1_chat
Device sessions

10. test_add_to_contacts
Device sessions

11. test_sign_typed_message (TestRail link is not found)
Device sessions

12. test_unread_messages_counter_1_1_chat
Device sessions

13. test_logcat_send_transaction_from_daap
Device sessions

14. test_send_message_in_group_chat
Device sessions

15. test_logcat_send_transaction_from_wallet
Device sessions

16. test_send_token_with_7_decimals
Device sessions

17. test_modify_transaction_fee_values
Device sessions

18. test_send_eth_from_wallet_to_address
Device sessions

19. test_manage_assets
Device sessions

20. test_logcat_send_transaction_in_1_1_chat
Device sessions

21. test_request_and_receive_eth_in_1_1_chat
Device sessions

22. test_swipe_to_delete_public_chat
Device sessions

23. test_send_emoji
Device sessions

24. test_search_chat_on_home
Device sessions

25. test_logcat_recovering_account
Device sessions

26. test_messaging_in_different_networks
Device sessions

27. test_send_tokens_in_1_1_chat
Device sessions

28. test_network_mismatch_for_send_request_commands
Device sessions

29. test_logcat_sign_message_from_daap
Device sessions

30. test_swipe_to_delete_1_1_chat
Device sessions

31. test_switch_users_and_add_new_account
Device sessions

32. test_send_stt_from_wallet
Device sessions

33. test_send_eth_in_1_1_chat
Device sessions

34. test_login_with_new_account
Device sessions

35. test_send_eth_from_wallet_to_contact
Device sessions

36. test_add_contact_from_public_chat
Device sessions

37. test_send_two_transactions_one_after_another_in_dapp
Device sessions

38. test_password_in_logcat_creating_account
Device sessions

39. test_backup_recovery_phrase
Device sessions

40. test_offline_status
Device sessions

41. test_open_google_com_via_open_dapp
Device sessions

42. test_unread_messages_counter_public_chat
Device sessions

43. test_sign_message_from_daap
Device sessions

44. test_user_can_remove_profile_picture
Device sessions

45. test_share_contact_code_and_wallet_address
Device sessions

46. test_request_eth_in_wallet
Device sessions

47. test_refresh_button_browsing_app_webview
Device sessions

48. test_backup_recovery_phrase_warning_from_wallet
Device sessions

@oskarth oskarth requested a review from a team April 30, 2019 03:15
@status-github-bot
Copy link

Pull Request Checklist

  • Have you updated the documentation, if impacted (e.g. docs.status.im)?

@churik churik moved this from TO TEST to IN TESTING in Pipeline for QA May 1, 2019
@churik
Copy link
Member

churik commented May 1, 2019

@jeluard
Please, add a tests that you performed on your devices, as we agreed before.
In this particular case I would like to know examples of the links which you were trying and browsers \ ways how you navigate to the app.

Please, elaborate:

  1. I can't find a way to use it as a link, i.e. if I try to open ethereum:0x744d70fdbe2ba4cf95131626614a1763df805b9e/transfer?address=0x8e23ee67d1332ad560396262c48ffbb01f93d052&uint256=1 in Safari (IOS) or inside Status, I've got 'Unable to load page'.
    Did I do smth wrong?

I tested the following scenarios using "Scan QR" on home screen (generating them using https://www.qr-code-generator.com/ > Text) or via Wallet > Send > Scan QR (result is that same)

  1. Links without function_name are not resolved, i.e. ethereum:0xfb6916095ca1df60bb79Ce92ce3ea74c37c5d359?value=2.014e18 so when scanning URL with this link, got an error

Monosnap 2019-05-01 11-19-13

  1. If using ERC Depend on syng-lib using Lein Voom #20 tokens as parameters, value is not resolved, i.e. after scanning ethereum:0x744d70fdbe2ba4cf95131626614a1763df805b9e/transfer?address=0x8e23ee67d1332ad560396262c48ffbb01f93d052&uint256=1 should sent 1 SNT as far as I understand.
    In fact after scanning QR with link I've got:
    photo_2019-05-01 11 27 14

So the asset was changed to tokens, but the value is not displayed.

  1. Parameters gasLimit and gasPrice are not resolved (i.e. in ethereum:0x744d70fdbe2ba4cf95131626614a1763df805b9e/transfer?address=0x8e23ee67d1332ad560396262c48ffbb01f93d052&value=1&gasLimit=100&gasPrice=1
    However gas is resolved, as it mentioned in spec

@churik churik moved this from IN TESTING to CONTRIBUTOR in Pipeline for QA May 1, 2019
@statustestbot
Copy link

33% of end-end tests have passed

Total executed tests: 3
Failed tests: 2
Passed tests: 1

Failed tests (2)

Click to expand
1. test_send_two_transactions_one_after_another_in_dapp

Device 1: Tap on GotItButton
Device 1: Looking for an element by text: 'Sign transaction'

Second send transaction screen did not appear!

Device sessions

2. test_share_contact_code_and_wallet_address

Device 1: Tap 'Confirm' on native keyboard
Device 1: Looking for an element by text part: '0x836FD5e165C0bc95cB98d082aD06b0A853F0FC7C'

Can't share address

Device sessions

Passed tests (1)

Click to expand
1. test_password_in_logcat_sign_in
Device sessions

@churik
Copy link
Member

churik commented May 6, 2019

@jeluard please, rebase PR to current develop - some of failed tests should be fixed.

Also some notes:

  1. When I open deep link from http://condescending-jones-85ad1f.netlify.com/ I can proceed to Send wallet even if I didn't setup wallet yet.
    So steps are:
  1. additional parameters for full support EIP681 will be added separately? should I create issue for this?
    So, for now, I'm testing only address (according to [Fixes #7325] Add EIP681 deeplink support #8004 (comment))

@churik churik moved this from E2E Tests to CONTRIBUTOR in Pipeline for QA May 6, 2019
@jeluard
Copy link
Contributor Author

jeluard commented May 6, 2019

@churik Done

@churik
Copy link
Member

churik commented May 7, 2019

@jeluard any comments on #8004 (comment)?

@jeluard
Copy link
Contributor Author

jeluard commented May 7, 2019

@churik Sorry missed that comment!

  1. is definitely an issue I need to fix
  2. yes please open a separate issue for that

@jeluard jeluard force-pushed the 7325 branch 2 times, most recently from 9f2adab to 3ff08f8 Compare May 7, 2019 11:19
@jeluard jeluard moved this from CONTRIBUTOR to E2E Tests in Pipeline for QA May 7, 2019
@jeluard
Copy link
Contributor Author

jeluard commented May 7, 2019

@churik 1) should be fixed, with the caveat that onboarding will loose the wallet details. User would have to click a second time on the deep link.

@statustestbot
Copy link

96% of end-end tests have passed

Total executed tests: 48
Failed tests: 2
Passed tests: 46

Failed tests (2)

Click to expand
1. test_send_two_transactions_one_after_another_in_dapp

Device 1: Tap on GotItButton
Device 1: Looking for an element by text: 'Sign transaction'

Second send transaction screen did not appear!

Device sessions

2. test_backup_recovery_phrase_warning_from_wallet

Device 1: Wait for PlusButton
Device 1: Wait for PlusButton

Donation was not received during 300 seconds!

Device sessions

Passed tests (46)

Click to expand
1. test_block_user_from_public_chat
Device sessions

2. test_filters_from_daap
Device sessions

3. test_copy_and_paste_messages
Device sessions

4. test_send_transaction_from_daap
Device sessions

5. test_request_and_receive_tokens_in_1_1_chat
Device sessions

6. test_deploy_contract_from_daap
Device sessions

7. test_public_chat_messaging
Device sessions

8. test_password_in_logcat_sign_in
Device sessions

9. test_text_message_1_1_chat
Device sessions

10. test_add_to_contacts
Device sessions

11. test_sign_typed_message (TestRail link is not found)
Device sessions

12. test_unread_messages_counter_1_1_chat
Device sessions

13. test_logcat_send_transaction_from_daap
Device sessions

14. test_send_message_in_group_chat
Device sessions

15. test_logcat_send_transaction_from_wallet
Device sessions

16. test_send_token_with_7_decimals
Device sessions

17. test_modify_transaction_fee_values
Device sessions

18. test_send_eth_from_wallet_to_address
Device sessions

19. test_manage_assets
Device sessions

20. test_logcat_send_transaction_in_1_1_chat
Device sessions

21. test_request_and_receive_eth_in_1_1_chat
Device sessions

22. test_swipe_to_delete_public_chat
Device sessions

23. test_send_emoji
Device sessions

24. test_search_chat_on_home
Device sessions

25. test_logcat_recovering_account
Device sessions

26. test_messaging_in_different_networks
Device sessions

27. test_send_tokens_in_1_1_chat
Device sessions

28. test_network_mismatch_for_send_request_commands
Device sessions

29. test_logcat_sign_message_from_daap
Device sessions

30. test_swipe_to_delete_1_1_chat
Device sessions

31. test_switch_users_and_add_new_account
Device sessions

32. test_send_stt_from_wallet
Device sessions

33. test_send_eth_in_1_1_chat
Device sessions

34. test_login_with_new_account
Device sessions

35. test_send_eth_from_wallet_to_contact
Device sessions

36. test_add_contact_from_public_chat
Device sessions

37. test_password_in_logcat_creating_account
Device sessions

38. test_backup_recovery_phrase
Device sessions

39. test_offline_status
Device sessions

40. test_open_google_com_via_open_dapp
Device sessions

41. test_unread_messages_counter_public_chat
Device sessions

42. test_sign_message_from_daap
Device sessions

43. test_user_can_remove_profile_picture
Device sessions

44. test_share_contact_code_and_wallet_address
Device sessions

45. test_request_eth_in_wallet
Device sessions

46. test_refresh_button_browsing_app_webview
Device sessions

@statustestbot
Copy link

96% of end-end tests have passed

Total executed tests: 48
Failed tests: 2
Passed tests: 46

Failed tests (2)

Click to expand
1. test_send_two_transactions_one_after_another_in_dapp

Device 1: Tap on GotItButton
Device 1: Looking for an element by text: 'Sign transaction'

Second send transaction screen did not appear!

Device sessions

2. test_backup_recovery_phrase_warning_from_wallet

Device 1: Wait for PlusButton
Device 1: Wait for PlusButton

Donation was not received during 300 seconds!

Device sessions

Passed tests (46)

Click to expand
1. test_block_user_from_public_chat
Device sessions

2. test_filters_from_daap
Device sessions

3. test_copy_and_paste_messages
Device sessions

4. test_send_transaction_from_daap
Device sessions

5. test_request_and_receive_tokens_in_1_1_chat
Device sessions

6. test_deploy_contract_from_daap
Device sessions

7. test_public_chat_messaging
Device sessions

8. test_password_in_logcat_sign_in
Device sessions

9. test_text_message_1_1_chat
Device sessions

10. test_add_to_contacts
Device sessions

11. test_sign_typed_message (TestRail link is not found)
Device sessions

12. test_unread_messages_counter_1_1_chat
Device sessions

13. test_logcat_send_transaction_from_daap
Device sessions

14. test_send_message_in_group_chat
Device sessions

15. test_logcat_send_transaction_from_wallet
Device sessions

16. test_send_token_with_7_decimals
Device sessions

17. test_modify_transaction_fee_values
Device sessions

18. test_send_eth_from_wallet_to_address
Device sessions

19. test_manage_assets
Device sessions

20. test_logcat_send_transaction_in_1_1_chat
Device sessions

21. test_request_and_receive_eth_in_1_1_chat
Device sessions

22. test_swipe_to_delete_public_chat
Device sessions

23. test_send_emoji
Device sessions

24. test_search_chat_on_home
Device sessions

25. test_logcat_recovering_account
Device sessions

26. test_messaging_in_different_networks
Device sessions

27. test_send_tokens_in_1_1_chat
Device sessions

28. test_network_mismatch_for_send_request_commands
Device sessions

29. test_logcat_sign_message_from_daap
Device sessions

30. test_swipe_to_delete_1_1_chat
Device sessions

31. test_switch_users_and_add_new_account
Device sessions

32. test_send_stt_from_wallet
Device sessions

33. test_send_eth_in_1_1_chat
Device sessions

34. test_login_with_new_account
Device sessions

35. test_send_eth_from_wallet_to_contact
Device sessions

36. test_add_contact_from_public_chat
Device sessions

37. test_password_in_logcat_creating_account
Device sessions

38. test_backup_recovery_phrase
Device sessions

39. test_offline_status
Device sessions

40. test_open_google_com_via_open_dapp
Device sessions

41. test_unread_messages_counter_public_chat
Device sessions

42. test_sign_message_from_daap
Device sessions

43. test_user_can_remove_profile_picture
Device sessions

44. test_share_contact_code_and_wallet_address
Device sessions

45. test_request_eth_in_wallet
Device sessions

46. test_refresh_button_browsing_app_webview
Device sessions

@asemiankevich asemiankevich moved this from E2E Tests to TO TEST in Pipeline for QA May 8, 2019
@churik churik moved this from TO TEST to IN TESTING in Pipeline for QA May 8, 2019
@churik
Copy link
Member

churik commented May 8, 2019

Created #8150
Tested on IOS and Android as it mentioned in #8004 (comment)
If user should create an account or pass through set up process - data from deep link is lost, it discussed and decided that it is expected at the moment.

@churik churik moved this from IN TESTING to MERGE in Pipeline for QA May 8, 2019
@churik churik moved this from MERGE to IN TESTING in Pipeline for QA May 8, 2019
@churik churik removed the Tested - OK label May 8, 2019
@statustestbot
Copy link

0% of end-end tests have passed

Total executed tests: 1
Failed tests: 1
Passed tests: 0

Failed tests (1)

Click to expand
1. test_send_two_transactions_one_after_another_in_dapp

Device 1: Tap on SignTransactionButton
Device 1: Wait for EnterPasswordInput

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

Device sessions

@churik
Copy link
Member

churik commented May 8, 2019

test_send_two_transactions_one_after_another_in_dapp retested manually - false failure

@churik churik moved this from IN TESTING to MERGE in Pipeline for QA May 8, 2019
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
@flexsurfer flexsurfer merged commit 9917260 into develop May 8, 2019
Pipeline for QA automation moved this from MERGE to DONE May 8, 2019
@delete-merged-branch delete-merged-branch bot deleted the 7325 branch May 8, 2019 12:44
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.

EIP681 URLs direct to Status
9 participants