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 ens resolve issue while following deep link #13080

Merged
merged 3 commits into from
Feb 9, 2022

Conversation

Parveshdhull
Copy link
Member

@Parveshdhull Parveshdhull commented Feb 7, 2022

fixes #11248

status: ready

@status-im-auto
Copy link
Member

status-im-auto commented Feb 7, 2022

Jenkins Builds

Click to see older builds (6)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 6731877 #1 2022-02-07 08:56:49 ~7 min android-e2e 📦apk 📲
✔️ 6731877 #1 2022-02-07 08:56:52 ~7 min android 📦apk 📲
✔️ 6731877 #1 2022-02-07 09:00:58 ~11 min ios 📦ipa 📲
✔️ 1e03755 #2 2022-02-07 09:28:53 ~8 min android-e2e 📦apk 📲
✔️ 1e03755 #2 2022-02-07 09:29:09 ~8 min android 📦apk 📲
✔️ 1e03755 #2 2022-02-07 09:32:08 ~11 min ios 📦ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 1184645 #3 2022-02-08 23:13:54 ~7 min android-e2e 📦apk 📲
✔️ 1184645 #3 2022-02-08 23:19:40 ~13 min android 📦apk 📲
✔️ 1184645 #3 2022-02-08 23:21:36 ~15 min ios 📦ipa 📲
✔️ bc489ed #4 2022-02-09 10:51:08 ~8 min android-e2e 📦apk 📲
✔️ bc489ed #4 2022-02-09 10:52:47 ~10 min android 📦apk 📲
✔️ bc489ed #4 2022-02-09 10:58:08 ~15 min ios 📦ipa 📲

@Parveshdhull Parveshdhull force-pushed the fix/ens-resolve-when-following-deeplink branch from 6731877 to 1e03755 Compare February 7, 2022 09:20
@Parveshdhull Parveshdhull requested a review from bitgamma February 7, 2022 10:05
@pavloburykh pavloburykh self-assigned this Feb 7, 2022
@status-im-auto
Copy link
Member

94% of end-end tests have passed

Total executed tests: 83
Failed tests: 5
Passed tests: 78
IDs of failed tests: 5762,6272,5346,6237,6228 

Failed tests (5)

Click to expand
  • Rerun tests

  • 1. test_pair_devices_sync_one_to_one_contacts_nicknames_public_chat, id: 5762

    Device 1: Looking for a message by text: I am blocked user
    Device 1: Find 'ChatElementByText' by 'xpath': `//*[starts-with(@text,'I am blocked user')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']`

    Device 1: ChatElementByText by xpath:`//*[starts-with(@text,'I am blocked user')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen

    Device sessions

    2. test_add_account_to_wallet_private_key_and_seed_phrase, id: 6272

    Device 1: Getting ETH amount
    Device 1: Waiting 400s for ETH updated balance

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

    Device sessions

    3. test_collectible_from_wallet, id: 5346

    Device 1: Find 'Text' by 'xpath': `//*[@text='CryptoKitties']//following-sibling::android.widget.TextView`
    Device 1: Tap on found: Text

    Device 1: Kitty is not shown after opening it from collectibles!

    Device sessions

    4. test_fetching_balance_after_offline, id: 6237

    Device 1: AirplaneModeButton element not found
    Device 1: Find 'AirplaneModeButton' by 'accessibility id': `Airplane mode`

    Device 1: AirplaneModeButton by accessibility id: `Airplane mode` is not found on the screen

    Device sessions

    5. test_mobile_data_usage_complex_settings, id: 6228

    Device 1: Find 'Button' by 'xpath': `//*[@text="Use mobile data"]/following-sibling::android.widget.Switch[1]`
    Device 1: Find 'Button' by 'xpath': `//*[@text="Ask me when on mobile network"]/following-sibling::android.widget.Switch[1]`

    Chat history was not fetched with mobile data fetching ON

    Device sessions

    Passed tests (78)

    Click to expand

    1. test_can_add_existing_ens_on_mainnet, id: 5502
    Device sessions

    2. test_add_and_delete_watch_only_account_to_multiaccount_instance, id: 6244
    Device sessions

    3. test_keycard_can_recover_keycard_account_card_pairing, id: 5758
    Device sessions

    4. test_public_mark_all_messages_as_read, id: 6270
    Device sessions

    5. test_restore_account_from_mnemonic_to_keycard, id: 6240
    Device sessions

    6. test_can_use_purchased_stickers_on_recovered_account, id: 5783
    Device sessions

    7. test_group_leave_relogin, id: 3997
    Device sessions

    8. test_keycard_create_login_restore_unlock_same_seed, id: 5689
    Device sessions

    9. test_image_in_one_to_one_send_save_reply_timeline, id: 6305
    Device sessions

    10. test_public_chat_open_using_deep_link, id: 700739
    Device sessions

    11. test_public_delete_chat_long_press, id: 5319
    Device sessions

    12. test_send_token_with_7_decimals, id: 5350
    Device sessions

    13. test_send_eth_to_ens_in_chat, id: 6279
    Device sessions

    14. test_public_tag_message, id: 700738
    Device sessions

    15. test_reactions_to_message_in_chats, id: 6315
    Device sessions

    16. test_send_eth_in_1_1_chat_transaction_push, id: 6253
    Device sessions

    17. test_open_transaction_on_etherscan_copy_tx_hash, id: 5384
    Device sessions

    18. test_send_eth_from_wallet_to_address_incorrect_password, id: 5308
    Device sessions

    19. test_recover_set_up_wallet_sign_phrase, id: 700749
    Device sessions

    20. test_keycard_send_eth_from_wallet_to_address, id: 6289
    Device sessions

    21. test_public_message_edit, id: 700734
    Device sessions

    22. test_open_blocked_secure_not_secure_inlalid_offline_urls, id: 6210
    Device sessions

    23. test_keycard_sign_message_and_transactions_from_daap, id: 6251
    Device sessions

    24. test_public_link_send_open, id: 700736
    Device sessions

    25. test_onboarding_add_new_multiaccount_username_by_position_pass_validation, id: 700747
    Device sessions

    26. test_onboarding_home_initial_popup, id: 700742
    Device sessions

    27. test_send_non_english_message_to_newly_added_contact_on_different_networks, id: 5315
    Device sessions

    28. test_restore_account_migrate_multiaccount_to_keycard, id: 6645
    Device sessions

    29. test_edit_delete_message_in_one_to_one_, id: 695843
    Device sessions

    30. test_public_links_with_previews_github_youtube_twitter_gif_send_enable, id: 700737
    Device sessions

    31. test_offline_is_shown_messaging_1_1_chat_sent_delivered, id: 5310
    Device sessions

    32. test_send_and_open_emoji_link_in_one_to_one, id: 5373
    Device sessions

    33. test_block_user_from_public_chat, id: 5786
    Device sessions

    34. test_push_notification_1_1_chat_no_pn_activity_center, id: 6283
    Device sessions

    35. test_install_pack_and_send_sticker, id: 5782
    Device sessions

    36. test_keycard_request_stt_from_daap, id: 6249
    Device sessions

    37. test_add_and_remove_mention_contact_with_nickname_from_public_chat, id: 5332
    Device sessions

    38. test_browser_managing_bookmarks, id: 6633
    Device sessions

    39. test_group_add_new_member_activity_centre, id: 700732
    Device sessions

    40. test_public_fetch_more_history, id: 5675
    Device sessions

    41. test_onboarding_share_contact_address, id: 700743
    Device sessions

    42. test_onboarding_backup_seed_phrase_restore_same_login_logcat, id: 700745
    Device sessions

    43. test_send_transaction_with_custom_token, id: 6208
    Device sessions

    44. test_user_can_see_collectibles_on_rinkeby_after_account_recovering, id: 5381
    Device sessions

    45. test_can_see_balance_and_all_transactions_history_on_cellular, id: 5314
    Device sessions

    46. test_recover_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 700748
    Device sessions

    47. test_send_audio_message_with_push_notification_check, id: 6316
    Device sessions

    48. test_add_account_to_multiaccount_instance_generate_new, id: 6224
    Device sessions

    49. test_onboarding_cant_sign_in_with_invalid_password_logcat, id: 700746
    Device sessions

    50. test_request_stt_from_dapp, id: 5309
    Device sessions

    51. test_open_chat_by_pasting_chat_key_check_invalid_chat_key_cases, id: 5304
    Device sessions

    52. test_insufficient_funds_wallet_positive_balance, id: 5412
    Device sessions

    53. test_set_profile_picture, id: 6646
    Device sessions

    54. test_request_and_receive_stt_in_1_1_chat_offline, id: 6263
    Device sessions

    55. test_delete_close_all_tabs, id: 5390
    Device sessions

    56. test_public_unread_messages_counter_for_mentions_relogin, id: 700718
    Device sessions

    57. test_onboarding_share_wallet_address, id: 700744
    Device sessions

    58. test_group_offline_pn, id: 3998
    Device sessions

    59. test_public_navigate_to_chat_when_relaunch, id: 5396
    Device sessions

    60. test_recover_validation_seed_phrase_field, id: 700750
    Device sessions

    61. test_delete_chats_via_delete_button_rejoin, id: 5387
    Device sessions

    62. test_dapps_permissions, id: 5738
    Device sessions

    63. test_group_pn_system_messages_when_invited, id: 3994
    Device sessions

    64. test_group_decline_invite_chat_highligted, id: 5756
    Device sessions

    65. test_public_message_send_check_timestamps_while_on_different_tab, id: 5313
    Device sessions

    66. test_manage_assets, id: 5341
    Device sessions

    67. test_send_transaction_set_recipient_options, id: 6328
    Device sessions

    68. test_public_unread_messages_counter, id: 5360
    Device sessions

    69. test_keycard_send_eth_in_1_1_chat, id: 6293
    Device sessions

    70. test_public_emoji_send_copy_paste_reply, id: 700719
    Device sessions

    71. test_public_message_delete, id: 700735
    Device sessions

    72. test_copy_and_paste_messages, id: 5317
    Device sessions

    73. test_ens_mentions_pn_and_nickname_in_public_and_1_1_chats, id: 6226
    Device sessions

    74. test_decline_transactions_in_1_1_chat_push_notification_changing_state, id: 6265
    Device sessions

    75. test_start_chat_with_ens_mention_in_one_to_one, id: 5403
    Device sessions

    76. test_group_join_send_text_messages_pn, id: 700731
    Device sessions

    77. test_keycard_can_see_all_transactions_in_history, id: 6291
    Device sessions

    78. test_sign_message_and_2tx_in_batch_and_transactions_filters_from_daap, id: 5342
    Device sessions

    @Parveshdhull
    Copy link
    Member Author

    Hi @pavloburykh, Thanks for testing the PR,
    Please can you add details about issues? Thanks

    @pavloburykh
    Copy link
    Contributor

    pavloburykh commented Feb 8, 2022

    @Parveshdhull oh sorry, my comment with issues description was not saved for some reason.
    Thanx for PR. Please take a look at following issues.

    ISSUE 1 (Reproducible on Mainnet)

    ENS username is not shown on Profile page after scanning QR code containing ENS with internal domain stateofus.eth. For reproduction use Mainnet.

    STR:

    1. Download and install manual build https://ci.status.im/job/status-react/job/manual/203/ for testing this PR on Mainnet. Do not use PR build for testing ENS on Mainnet, as PR builds have ENS_VERIFY_NETWORK parameter set to Ropsten.
    2. Open Chat tab
    3. Tap +Add new button => bottom sheet opens
    4. Open QR scanner by tapping QR icon in right upper corner of bottom sheet
    5. Scan this deeplink QR code https://join.status.im/u/dikhasi.stateofus.eth => Profile screen opens
    6. Pay attention at name on Profile screen

    Actual result: after Profile page is opened ENS name is displayed for a second, but after that it is changed for 3 random name.
    On given video you can see that in case of following the deeplink, ENS name is shown on opened Profile screen. But in case of opening deeplink by scanning QR code all subsequent following the deeplink will result in showing 3 random name instead of ENS.

    telegram-cloud-document-2-5192676311960655242.mp4

    geth.log

    OS: Android / IOS

    ISSUE 2 (reproducible both on ropsten and mainnet)

    ENS name is not resolved in chats until user is added to contacts through Profile => Contacts => Add new contact => Scan deeplink QR code

    STR:

    1. Follow deeplink containing ENS or open it by scanning it's QR code. You can use this deeplink https://join.status.im/u/dikhasi.stateofus.eth for mainnet and this one https://join.status.im/u/sergey.stateofus.eth for ropsten network.
    2. On Profile screen proceed to Chat
    3. Pay attention at username on 1-1 chat screen

    Actual result: 3 random name is displayed in chats. ENS username starts displaying only after adding user to contacts by opening Profile => Contacts => Add new contact => Scan deeplink QR code

    Expected result: ENS user name should be displayed.

    telegram-cloud-document-2-5192676311960655323.mp4

    @Parveshdhull
    Copy link
    Member Author

    Hi @pavloburykh,
    Thanks for finding these great issues.
    Issue 2 is fixed.
    I am not sure about the cause of Issue 1, but it seems related to issue 2. So hopefully new changes will fix that too.
    Please let me know if this is not the case. Thanks

    @status-im-auto
    Copy link
    Member

    98% of end-end tests have passed

    Total executed tests: 83
    Failed tests: 2
    Passed tests: 81
    
    IDs of failed tests: 5346,5756 
    

    Failed tests (2)

    Click to expand
  • Rerun tests

  • 1. test_collectible_from_wallet, id: 5346

    Device 1: Find 'Text' by 'xpath': `//*[@text='CryptoKitties']//following-sibling::android.widget.TextView`
    Device 1: Tap on found: Text

    Device 1: Kitty is not shown after opening it from collectibles!

    Device sessions

    2. test_group_decline_invite_chat_highligted, id: 5756

    Device 2: Tap on found: Button
    Device 1: Looking for a message by text: Busy Mixed Noctule left the group

    ERROR The test with session id 2e30e833c5e74f9a9196eb58c6632204 has already finished, and can't receive further commands. You can learn more at https://app.saucelabs.com/tests/2e30e833c5e74f9a9196eb58c6632204 For help, please check https://docs.s

    Device sessions

    Passed tests (81)

    Click to expand

    1. test_install_pack_and_send_sticker, id: 5782
    Device sessions

    2. test_public_mark_all_messages_as_read, id: 6270
    Device sessions

    3. test_keycard_can_see_all_transactions_in_history, id: 6291
    Device sessions

    4. test_keycard_create_login_restore_unlock_same_seed, id: 5689
    Device sessions

    5. test_onboarding_add_new_multiaccount_username_by_position_pass_validation, id: 700747
    Device sessions

    6. test_mobile_data_usage_complex_settings, id: 6228
    Device sessions

    7. test_push_notification_1_1_chat_no_pn_activity_center, id: 6283
    Device sessions

    8. test_onboarding_share_wallet_address, id: 700744
    Device sessions

    9. test_start_chat_with_ens_mention_in_one_to_one, id: 5403
    Device sessions

    10. test_can_use_purchased_stickers_on_recovered_account, id: 5783
    Device sessions

    11. test_dapps_permissions, id: 5738
    Device sessions

    12. test_fetching_balance_after_offline, id: 6237
    Device sessions

    13. test_keycard_sign_message_and_transactions_from_daap, id: 6251
    Device sessions

    14. test_set_profile_picture, id: 6646
    Device sessions

    15. test_public_link_send_open, id: 700736
    Device sessions

    16. test_can_see_balance_and_all_transactions_history_on_cellular, id: 5314
    Device sessions

    17. test_group_leave_relogin, id: 3997
    18. test_send_eth_from_wallet_to_address_incorrect_password, id: 5308
    Device sessions

    19. test_request_and_receive_stt_in_1_1_chat_offline, id: 6263
    Device sessions

    20. test_decline_transactions_in_1_1_chat_push_notification_changing_state, id: 6265
    Device sessions

    21. test_public_tag_message, id: 700738
    Device sessions

    22. test_send_eth_to_ens_in_chat, id: 6279
    Device sessions

    23. test_edit_delete_message_in_one_to_one_, id: 695843
    Device sessions

    24. test_restore_account_from_mnemonic_to_keycard, id: 6240
    Device sessions

    25. test_manage_assets, id: 5341
    Device sessions

    26. test_offline_is_shown_messaging_1_1_chat_sent_delivered, id: 5310
    Device sessions

    27. test_onboarding_share_contact_address, id: 700743
    Device sessions

    28. test_add_account_to_wallet_private_key_and_seed_phrase, id: 6272
    Device sessions

    29. test_onboarding_backup_seed_phrase_restore_same_login_logcat, id: 700745
    Device sessions

    30. test_image_in_one_to_one_send_save_reply_timeline, id: 6305
    Device sessions

    31. test_delete_close_all_tabs, id: 5390
    Device sessions

    32. test_add_and_remove_mention_contact_with_nickname_from_public_chat, id: 5332
    Device sessions

    33. test_send_audio_message_with_push_notification_check, id: 6316
    Device sessions

    34. test_copy_and_paste_messages, id: 5317
    Device sessions

    35. test_recover_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 700748
    Device sessions

    36. test_restore_account_migrate_multiaccount_to_keycard, id: 6645
    Device sessions

    37. test_public_emoji_send_copy_paste_reply, id: 700719
    Device sessions

    38. test_pair_devices_sync_one_to_one_contacts_nicknames_public_chat, id: 5762
    Device sessions

    39. test_add_and_delete_watch_only_account_to_multiaccount_instance, id: 6244
    Device sessions

    40. test_recover_set_up_wallet_sign_phrase, id: 700749
    Device sessions

    41. test_public_unread_messages_counter, id: 5360
    Device sessions

    42. test_open_transaction_on_etherscan_copy_tx_hash, id: 5384
    Device sessions

    43. test_keycard_request_stt_from_daap, id: 6249
    Device sessions

    44. test_public_chat_open_using_deep_link, id: 700739
    Device sessions

    45. test_public_fetch_more_history, id: 5675
    Device sessions

    46. test_onboarding_home_initial_popup, id: 700742
    Device sessions

    47. test_group_offline_pn, id: 3998
    Device sessions

    48. test_reactions_to_message_in_chats, id: 6315
    Device sessions

    49. test_keycard_can_recover_keycard_account_card_pairing, id: 5758
    Device sessions

    50. test_public_navigate_to_chat_when_relaunch, id: 5396
    Device sessions

    51. test_user_can_see_collectibles_on_rinkeby_after_account_recovering, id: 5381
    Device sessions

    52. test_open_chat_by_pasting_chat_key_check_invalid_chat_key_cases, id: 5304
    Device sessions

    53. test_send_non_english_message_to_newly_added_contact_on_different_networks, id: 5315
    Device sessions

    54. test_browser_managing_bookmarks, id: 6633
    Device sessions

    55. test_block_user_from_public_chat, id: 5786
    Device sessions

    56. test_delete_chats_via_delete_button_rejoin, id: 5387
    Device sessions

    57. test_public_message_delete, id: 700735
    Device sessions

    58. test_keycard_send_eth_from_wallet_to_address, id: 6289
    Device sessions

    59. test_send_token_with_7_decimals, id: 5350
    Device sessions

    60. test_send_transaction_set_recipient_options, id: 6328
    Device sessions

    61. test_onboarding_cant_sign_in_with_invalid_password_logcat, id: 700746
    Device sessions

    62. test_request_stt_from_dapp, id: 5309
    Device sessions

    63. test_send_transaction_with_custom_token, id: 6208
    Device sessions

    64. test_public_unread_messages_counter_for_mentions_relogin, id: 700718
    Device sessions

    65. test_add_account_to_multiaccount_instance_generate_new, id: 6224
    Device sessions

    66. test_public_message_send_check_timestamps_while_on_different_tab, id: 5313
    Device sessions

    67. test_keycard_send_eth_in_1_1_chat, id: 6293
    Device sessions

    68. test_public_message_edit, id: 700734
    Device sessions

    69. test_sign_message_and_2tx_in_batch_and_transactions_filters_from_daap, id: 5342
    Device sessions

    70. test_group_join_send_text_messages_pn, id: 700731
    Device sessions

    71. test_group_add_new_member_activity_centre, id: 700732
    Device sessions

    72. test_open_blocked_secure_not_secure_inlalid_offline_urls, id: 6210
    Device sessions

    73. test_can_add_existing_ens_on_mainnet, id: 5502
    Device sessions

    74. test_group_pn_system_messages_when_invited, id: 3994
    Device sessions

    75. test_public_links_with_previews_github_youtube_twitter_gif_send_enable, id: 700737
    Device sessions

    76. test_public_delete_chat_long_press, id: 5319
    Device sessions

    77. test_send_and_open_emoji_link_in_one_to_one, id: 5373
    Device sessions

    78. test_ens_mentions_pn_and_nickname_in_public_and_1_1_chats, id: 6226
    Device sessions

    79. test_insufficient_funds_wallet_positive_balance, id: 5412
    Device sessions

    80. test_recover_validation_seed_phrase_field, id: 700750
    Device sessions

    81. test_send_eth_in_1_1_chat_transaction_push, id: 6253
    Device sessions

    @pavloburykh
    Copy link
    Contributor

    pavloburykh commented Feb 9, 2022

    @Parveshdhull Thank you for fixes, great job!
    ISSUE 1 - fixed
    ISSUE 2 - is partially fixed. There is still one flow which results in unresolved ENS usernames in chats.
    STR:

    1. Open Chats tab
    2. Tap + Add button
    3. Tap Start new chat - New chat screen opens
    4. Open QR scanner by tapping QR icon in right upper corner. - 1-1 chat page opens
    5. Scan deeplink's QR code. You can use this on https://join.status.im/u/sergey.stateofus.eth both for ropsten and mainnet.
    6. Pay attention at username on opened 1-1 chat page

    Actual result: 3 random name is displayed
    Expected result: ENS username is displayed.

    OS: IOS/Android

    geth.log

    telegram-cloud-document-2-5197679966040363976.mp4

    @Parveshdhull
    Copy link
    Member Author

    Parveshdhull commented Feb 9, 2022

    @pavloburykh , Sorry, I missed this one, there are so many QR scanners 😄, fixed now 👍

    @status-im-auto
    Copy link
    Member

    86% of end-end tests have passed

    Total executed tests: 83
    Failed tests: 12
    Passed tests: 71
    
    IDs of failed tests: 5762,6305,700747,5310,5675,700743,700745,5346,700746,5390,700744,6228 
    

    Failed tests (12)

    Click to expand
  • Rerun tests

  • 1. test_pair_devices_sync_one_to_one_contacts_nicknames_public_chat, id: 5762

    Device 1: Looking for a message by text: I am blocked user
    Device 1: Find 'ChatElementByText' by 'xpath': `//*[starts-with(@text,'I am blocked user')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']`

    Device 1: ChatElementByText by xpath:`//*[starts-with(@text,'I am blocked user')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen

    Device sessions

    2. test_image_in_one_to_one_send_save_reply_timeline, id: 6305

    Device 2: Find 'AllowButton' by 'xpath': `//*[@text="Allow" or @text="ALLOW"]`
    Device 2: Find 'Button' by 'xpath': `//*[@content-desc='open-gallery']/following-sibling::android.view.ViewGroup[1]`

    Status of another user not shown when open another user profile Status of another user not shown when open another user profile

    Device sessions

    3. test_onboarding_add_new_multiaccount_username_by_position_pass_validation, id: 700747

    Device 1: Logging out
    Device 1: Scrolling down to LogoutButton

    Device 1: LogoutButton by accessibility id: `log-out-button` is not found on the screen

    Device sessions

    4. test_offline_is_shown_messaging_1_1_chat_sent_delivered, id: 5310

    Device 1: Looking for chat: 'Acclaimed Euphoric Arieltoucan'
    Device 1: Wait for element 'Button' for max 60s and click when it is available

    Device 1: Button by accessibility id:`notifications-unread-badge` is not found on the screen

    Device sessions

    5. test_public_fetch_more_history, id: 5675

    ## Public chat 'ueertpo' is created successfully!
    # STEP: Check that can fetch previous history for several days

    Device 1: "Feb 8, 2022" is not shown

    Device sessions

    6. test_onboarding_share_contact_address, id: 700743

    Device 1: Tap on found: Button
    Sharing via messenger

    Device 1: Button by xpath: `//*[contains(@text, "Direct share")]` is not found on the screen

    Device sessions

    7. test_onboarding_backup_seed_phrase_restore_same_login_logcat, id: 700745

    # STEP: Check that badge on profile about back up seed phrase is presented
    Device 1: Find 'Counter' by 'xpath': `//*[contains(@content-desc,'5 out of 5')]/android.widget.TextView`

    Device 1: Counter by xpath: `//*[contains(@content-desc,'5 out of 5')]/android.widget.TextView` is not found on the screen

    Device sessions

    8. test_collectible_from_wallet, id: 5346

    Device 1: Find 'Text' by 'xpath': `//*[@text='CryptoKitties']//following-sibling::android.widget.TextView`
    Device 1: Tap on found: Text

    Device 1: Kitty is not shown after opening it from collectibles!

    Device sessions

    9. test_onboarding_cant_sign_in_with_invalid_password_logcat, id: 700746

    Device 1: Logging out
    Device 1: Scrolling down to LogoutButton

    Device 1: LogoutButton by accessibility id: `log-out-button` is not found on the screen

    Device sessions

    10. test_delete_close_all_tabs, id: 5390

    ## Signed in successfully!
    Device 1: Find 'DappTabButton' by 'xpath': `//*[contains(@content-desc,'tab, 2 out of 5')]`

    Device 1: DappTabButton by xpath: `//*[contains(@content-desc,'tab, 2 out of 5')]` is not found on the screen

    Device sessions

    11. test_onboarding_share_wallet_address, id: 700744

    Device 1: Find 'WalletButton' by 'xpath': `//*[contains(@content-desc,'tab, 3 out of 5')]`
    Device 1: Button element not found

    Device 1: 'AccountElementButton' by xpath:'//*[@content-desc='accountcardEthereum account']' not found on the screen

    Device sessions

    12. test_mobile_data_usage_complex_settings, id: 6228

    Device 1: Find 'Button' by 'xpath': `//*[@text="Use mobile data"]/following-sibling::android.widget.Switch[1]`
    Device 1: Find 'Button' by 'xpath': `//*[@text="Ask me when on mobile network"]/following-sibling::android.widget.Switch[1]`

    Not connected to history node after enabling fetching on mobile data Chat history was not fetched with mobile data fetching ON

    Device sessions

    Passed tests (71)

    Click to expand

    1. test_can_add_existing_ens_on_mainnet, id: 5502
    Device sessions

    2. test_add_and_delete_watch_only_account_to_multiaccount_instance, id: 6244
    Device sessions

    3. test_keycard_can_recover_keycard_account_card_pairing, id: 5758
    Device sessions

    4. test_public_mark_all_messages_as_read, id: 6270
    Device sessions

    5. test_restore_account_from_mnemonic_to_keycard, id: 6240
    Device sessions

    6. test_add_account_to_wallet_private_key_and_seed_phrase, id: 6272
    Device sessions

    7. test_can_use_purchased_stickers_on_recovered_account, id: 5783
    Device sessions

    8. test_group_leave_relogin, id: 3997
    Device sessions

    9. test_keycard_create_login_restore_unlock_same_seed, id: 5689
    Device sessions

    10. test_public_chat_open_using_deep_link, id: 700739
    Device sessions

    11. test_public_delete_chat_long_press, id: 5319
    Device sessions

    12. test_send_token_with_7_decimals, id: 5350
    Device sessions

    13. test_send_eth_to_ens_in_chat, id: 6279
    Device sessions

    14. test_public_tag_message, id: 700738
    Device sessions

    15. test_reactions_to_message_in_chats, id: 6315
    Device sessions

    16. test_send_eth_in_1_1_chat_transaction_push, id: 6253
    Device sessions

    17. test_open_transaction_on_etherscan_copy_tx_hash, id: 5384
    Device sessions

    18. test_send_eth_from_wallet_to_address_incorrect_password, id: 5308
    Device sessions

    19. test_recover_set_up_wallet_sign_phrase, id: 700749
    Device sessions

    20. test_keycard_send_eth_from_wallet_to_address, id: 6289
    Device sessions

    21. test_public_message_edit, id: 700734
    Device sessions

    22. test_open_blocked_secure_not_secure_inlalid_offline_urls, id: 6210
    Device sessions

    23. test_keycard_sign_message_and_transactions_from_daap, id: 6251
    Device sessions

    24. test_public_link_send_open, id: 700736
    Device sessions

    25. test_onboarding_home_initial_popup, id: 700742
    Device sessions

    26. test_send_non_english_message_to_newly_added_contact_on_different_networks, id: 5315
    Device sessions

    27. test_restore_account_migrate_multiaccount_to_keycard, id: 6645
    Device sessions

    28. test_edit_delete_message_in_one_to_one_, id: 695843
    Device sessions

    29. test_public_links_with_previews_github_youtube_twitter_gif_send_enable, id: 700737
    Device sessions

    30. test_send_and_open_emoji_link_in_one_to_one, id: 5373
    Device sessions

    31. test_block_user_from_public_chat, id: 5786
    Device sessions

    32. test_push_notification_1_1_chat_no_pn_activity_center, id: 6283
    Device sessions

    33. test_install_pack_and_send_sticker, id: 5782
    Device sessions

    34. test_keycard_request_stt_from_daap, id: 6249
    Device sessions

    35. test_add_and_remove_mention_contact_with_nickname_from_public_chat, id: 5332
    Device sessions

    36. test_browser_managing_bookmarks, id: 6633
    Device sessions

    37. test_group_add_new_member_activity_centre, id: 700732
    Device sessions

    38. test_send_transaction_with_custom_token, id: 6208
    Device sessions

    39. test_user_can_see_collectibles_on_rinkeby_after_account_recovering, id: 5381
    Device sessions

    40. test_can_see_balance_and_all_transactions_history_on_cellular, id: 5314
    Device sessions

    41. test_recover_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 700748
    Device sessions

    42. test_send_audio_message_with_push_notification_check, id: 6316
    Device sessions

    43. test_add_account_to_multiaccount_instance_generate_new, id: 6224
    Device sessions

    44. test_request_stt_from_dapp, id: 5309
    Device sessions

    45. test_open_chat_by_pasting_chat_key_check_invalid_chat_key_cases, id: 5304
    Device sessions

    46. test_insufficient_funds_wallet_positive_balance, id: 5412
    Device sessions

    47. test_fetching_balance_after_offline, id: 6237
    Device sessions

    48. test_set_profile_picture, id: 6646
    Device sessions

    49. test_request_and_receive_stt_in_1_1_chat_offline, id: 6263
    Device sessions

    50. test_public_unread_messages_counter_for_mentions_relogin, id: 700718
    Device sessions

    51. test_group_offline_pn, id: 3998
    Device sessions

    52. test_public_navigate_to_chat_when_relaunch, id: 5396
    Device sessions

    53. test_recover_validation_seed_phrase_field, id: 700750
    Device sessions

    54. test_delete_chats_via_delete_button_rejoin, id: 5387
    Device sessions

    55. test_dapps_permissions, id: 5738
    Device sessions

    56. test_group_pn_system_messages_when_invited, id: 3994
    Device sessions

    57. test_group_decline_invite_chat_highligted, id: 5756
    Device sessions

    58. test_public_message_send_check_timestamps_while_on_different_tab, id: 5313
    Device sessions

    59. test_manage_assets, id: 5341
    Device sessions

    60. test_send_transaction_set_recipient_options, id: 6328
    Device sessions

    61. test_public_unread_messages_counter, id: 5360
    Device sessions

    62. test_keycard_send_eth_in_1_1_chat, id: 6293
    Device sessions

    63. test_public_emoji_send_copy_paste_reply, id: 700719
    Device sessions

    64. test_public_message_delete, id: 700735
    Device sessions

    65. test_copy_and_paste_messages, id: 5317
    Device sessions

    66. test_ens_mentions_pn_and_nickname_in_public_and_1_1_chats, id: 6226
    Device sessions

    67. test_decline_transactions_in_1_1_chat_push_notification_changing_state, id: 6265
    Device sessions

    68. test_start_chat_with_ens_mention_in_one_to_one, id: 5403
    Device sessions

    69. test_group_join_send_text_messages_pn, id: 700731
    Device sessions

    70. test_keycard_can_see_all_transactions_in_history, id: 6291
    Device sessions

    71. test_sign_message_and_2tx_in_batch_and_transactions_filters_from_daap, id: 5342
    Device sessions

    @status-im-auto
    Copy link
    Member

    50% of end-end tests have passed

    Total executed tests: 12
    Failed tests: 6
    Passed tests: 6
    
    IDs of failed tests: 5762,6305,5310,5675,5346,6228 
    

    Failed tests (6)

    Click to expand
  • Rerun tests

  • 1. test_pair_devices_sync_one_to_one_contacts_nicknames_public_chat, id: 5762

    Device 1: Looking for a message by text: I am blocked user
    Device 1: Find 'ChatElementByText' by 'xpath': `//*[starts-with(@text,'I am blocked user')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']`

    Device 1: ChatElementByText by xpath:`//*[starts-with(@text,'I am blocked user')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen

    Device sessions

    2. test_image_in_one_to_one_send_save_reply_timeline, id: 6305

    Device 2: Find 'AllowButton' by 'xpath': `//*[@text="Allow" or @text="ALLOW"]`
    Device 2: Find 'Button' by 'xpath': `//*[@content-desc='open-gallery']/following-sibling::android.view.ViewGroup[1]`

    Status of another user not shown when open another user profile Status of another user not shown when open another user profile

    Device sessions

    3. test_offline_is_shown_messaging_1_1_chat_sent_delivered, id: 5310

    Device 1: Looking for chat: 'Aqua Silent Nightheron'
    Device 1: Wait for element 'Button' for max 60s and click when it is available

    Device 1: Button by accessibility id:`notifications-unread-badge` is not found on the screen

    Device sessions

    4. test_public_fetch_more_history, id: 5675

    ## Public chat 'glayfdm' is created successfully!
    # STEP: Check that can fetch previous history for several days

    Device 1: "Feb 8, 2022" is not shown

    Device sessions

    5. test_collectible_from_wallet, id: 5346

    Device 1: Find 'Text' by 'xpath': `//*[@text='CryptoKitties']//following-sibling::android.widget.TextView`
    Device 1: Tap on found: Text

    Device 1: Kitty is not shown after opening it from collectibles!

    Device sessions

    6. test_mobile_data_usage_complex_settings, id: 6228

    Device 1: Find 'Button' by 'xpath': `//*[@text="Use mobile data"]/following-sibling::android.widget.Switch[1]`
    Device 1: Find 'Button' by 'xpath': `//*[@text="Ask me when on mobile network"]/following-sibling::android.widget.Switch[1]`

    Not connected to history node after enabling fetching on mobile data Chat history was not fetched with mobile data fetching ON

    Device sessions

    Passed tests (6)

    Click to expand

    1. test_onboarding_add_new_multiaccount_username_by_position_pass_validation, id: 700747
    Device sessions

    2. test_onboarding_share_contact_address, id: 700743
    Device sessions

    3. test_onboarding_backup_seed_phrase_restore_same_login_logcat, id: 700745
    Device sessions

    4. test_onboarding_cant_sign_in_with_invalid_password_logcat, id: 700746
    Device sessions

    5. test_delete_close_all_tabs, id: 5390
    Device sessions

    6. test_onboarding_share_wallet_address, id: 700744
    Device sessions

    @pavloburykh
    Copy link
    Contributor

    @Parveshdhull thanx a lot for your work and such quick bugfixing. PR is ready for merge.

    @Parveshdhull Parveshdhull merged commit 9850dd5 into develop Feb 9, 2022
    @Parveshdhull Parveshdhull deleted the fix/ens-resolve-when-following-deeplink branch February 9, 2022 18:51
    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.

    3-random name is resolved instead of ENS when following deeplink
    4 participants