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

set width boundaries for long usernames in activity center #13185

Conversation

siddarthkay
Copy link
Contributor

[comment]: Fixes #13178

Platforms
Android
iOS
status: ready

@status-im-auto
Copy link
Member

status-im-auto commented Mar 21, 2022

Jenkins Builds

Click to see older builds (18)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 54e5943 #1 2022-03-21 07:27:51 ~7 min android-e2e 📦apk 📲
✔️ 54e5943 #1 2022-03-21 07:27:52 ~7 min android 📦apk 📲
✔️ 54e5943 #1 2022-03-21 07:32:58 ~12 min ios 📦ipa 📲
✖️ 6bb7314 #2 2022-03-21 15:39:05 ~8 min android-e2e 📦apk 📲
✖️ 6bb7314 #2 2022-03-21 15:39:49 ~9 min android 📦apk 📲
✖️ 6bb7314 #2 2022-03-21 15:43:10 ~12 min ios 📦ipa 📲
✖️ 6bb7314 #3 2022-03-21 17:27:38 ~9 min android-e2e 📦apk 📲
✖️ 6bb7314 #3 2022-03-21 17:28:17 ~8 min android 📦apk 📲
✖️ 6bb7314 #3 2022-03-21 17:33:13 ~13 min ios 📦ipa 📲
✔️ 11fd3b3 #5 2022-03-21 18:51:28 ~10 min android-e2e 📦apk 📲
✔️ 11fd3b3 #5 2022-03-21 18:53:07 ~11 min android 📦apk 📲
✔️ 11fd3b3 #5 2022-03-21 18:54:48 ~13 min ios 📦ipa 📲
✔️ 98ac9c4 #4 2022-03-21 18:51:29 ~10 min android-e2e 📦apk 📲
✔️ 98ac9c4 #4 2022-03-21 18:51:29 ~10 min android 📦apk 📲
✔️ 98ac9c4 #4 2022-03-21 18:54:46 ~14 min ios 📦ipa 📲
✖️ 80c78a3 #6 2022-03-23 18:31:26 ~9 min android-e2e 📦apk 📲
✖️ 80c78a3 #6 2022-03-23 18:31:27 ~9 min android 📦apk 📲
✖️ 80c78a3 #6 2022-03-23 18:37:49 ~15 min ios 📦ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 8529e18 #7 2022-03-24 05:01:07 ~9 min android-e2e 📦apk 📲
✔️ 8529e18 #7 2022-03-24 05:01:10 ~8 min android 📦apk 📲
✔️ 8529e18 #7 2022-03-24 05:03:27 ~11 min ios 📦ipa 📲
✔️ 8529e18 #8 2022-03-28 14:00:12 ~12 min ios 📦ipa 📲
✔️ 8aaf37a #8 2022-03-29 04:13:15 ~9 min android 📦apk 📲
✔️ 8aaf37a #8 2022-03-29 04:13:21 ~9 min android-e2e 📦apk 📲
✔️ 8aaf37a #9 2022-03-29 04:16:02 ~12 min ios 📦ipa 📲

{:margin-left 72
:margin-top 12
:margin-right 50})
(let [title-text-width (* @(re-frame/subscribe [:dimensions/window-width]) 0.65)]
Copy link
Member

@flexsurfer flexsurfer Mar 21, 2022

Choose a reason for hiding this comment

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

its better to pass width as a parameter from the view

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree!
working on this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@flexsurfer : done

@@ -1,6 +1,7 @@
(ns status-im.ui.screens.notifications-center.styles
(:require [quo.design-system.colors :as colors]
[quo.design-system.spacing :as spacing]))
[quo.design-system.spacing :as spacing]
[re-frame.core :as re-frame]))
Copy link
Member

Choose a reason for hiding this comment

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

re-frame not used anymore

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixing and squashing asap :)

Copy link
Member

Choose a reason for hiding this comment

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

thanks :) no rush :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed unused import

@pavloburykh pavloburykh self-assigned this Mar 21, 2022
@pavloburykh
Copy link
Contributor

pavloburykh commented Mar 21, 2022

@siddarthkay thanx for the PR. Please, take a look at this issue

ISSUE 1

New usernames and messages are highlighted in activity center.

STEPS:

  1. Generate new chat messages in activity center by user with short and long username
  2. Pay attention at messages in Activity center

Actual result:

  1. In case of message from user with long username - both username, message and timestamp are highlighted in Activity center
  2. In case of message from user with short username - only username is highlighted in Activity center

OS: Android/IOS

photo_2022-03-21 20 22 20

ISSUE 2

Please, take a look at lint errors in last builds
https://ci.status.im/blue/organizations/jenkins/status-react%2Fprs%2Fandroid/detail/PR-13185/3/pipeline

@siddarthkay
Copy link
Contributor Author

@pavloburykh : Um yeah my bad, I left in the background highlighting( which i use internally for debugging ) , I'm pushing a fix for that

@siddarthkay siddarthkay force-pushed the bug/13178-long-username-is-overlaid-on-timestamp-in-activity-center branch from 98ac9c4 to 11fd3b3 Compare March 21, 2022 18:41
@siddarthkay
Copy link
Contributor Author

@pavloburykh : fix pushed, should be good for QA now.

@status-im-auto
Copy link
Member

95% of end-end tests have passed

Total executed tests: 79
Failed tests: 4
Passed tests: 75
IDs of failed tests: 695843,5689,5310,5387 

Failed tests (4)

Click to expand
  • Rerun tests

  • 1. test_edit_delete_message_in_one_to_one_, id: 695843

    Device 2: Tap on found: Button
    Device 1: Getting PN by 'DELETE ME'

    'bool' object has no attribute 'is_element_disappeared'

    Device sessions

    2. test_keycard_create_account_unlock_same_seed, id: 5689

    Device 1: Find 'CheckBox' by 'accessibility id': `checkbox-off`
    Device 1: Find 'Button' by 'xpath': `//*[@text="Get started"]`

    504 Gateway Time-out

    The server didn't respond in time.


    Device sessions

    3. test_offline_is_shown_messaging_1_1_chat_sent_delivered, id: 5310

    Device 1: Looking for chat: 'Squiggly Blanchedalmond Stoat'
    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_delete_chats_via_delete_button_rejoin, id: 5387

    ## Public chat 'public-delete-long-press' is created successfully!
    Device 1: Looking for a message by text: test message:wznvsaguxb

    Messages are not fetched when rejoining public chat after deleting

    Device sessions

    Passed tests (75)

    Click to expand

    1. test_browser_connection_is_secure_not_secure_warning, id: 702073
    Device sessions

    2. test_public_chat_link_send_open, id: 700736
    Device sessions

    3. test_set_profile_picture, id: 6646
    Device sessions

    4. test_wallet_tx_history_copy_tx_hash_on_lte, id: 700756
    Device sessions

    5. test_wallet_add_account_generate_new, id: 700759
    Device sessions

    6. test_public_chat_message_delete, id: 700735
    Device sessions

    7. test_send_tx_custom_token_18_decimals_invalid_password, id: 700765
    Device sessions

    8. test_onboarding_share_contact_address, id: 700743
    Device sessions

    9. test_browser_invalid_url, id: 702074
    Device sessions

    10. test_public_chat_unread_messages_counter, id: 5360
    Device sessions

    11. test_public_chat_unread_messages_counter_for_mention_relogin, id: 700718
    Device sessions

    12. test_reactions_to_message_in_chats, id: 6315
    Device sessions

    13. test_keycard_send_tx_eth, id: 700767
    Device sessions

    14. test_pair_devices_sync_one_to_one_contacts_nicknames_public_chat, id: 5762
    Device sessions

    15. test_image_in_one_to_one_send_save_reply_timeline, id: 6305
    Device sessions

    16. test_install_pack_and_send_sticker, id: 5782
    Device sessions

    17. test_open_chat_by_pasting_chat_key_check_invalid_chat_key_cases, id: 5304
    Device sessions

    18. test_browser_bookmarks_create_edit_remove, id: 702077
    Device sessions

    19. test_group_chat_leave_relogin, id: 3997
    Device sessions

    20. test_public_chat_tag_message, id: 700738
    Device sessions

    21. test_public_chat_delete_chat_long_press, id: 5319
    Device sessions

    22. test_browser_offline, id: 702075
    Device sessions

    23. test_public_chat_navigate_to_chat_when_relaunch, id: 5396
    Device sessions

    24. test_onboarding_add_new_multiaccount_username_by_position_pass_validation, id: 700747
    Device sessions

    25. test_add_and_remove_mention_contact_with_nickname_from_public_chat, id: 5332
    Device sessions

    26. test_send_and_open_emoji_link_in_one_to_one, id: 5373
    Device sessions

    27. test_wallet_add_hide_unhide_account_private_key, id: 700761
    Device sessions

    28. test_keycard_wallet_recover_pairing_check_balance_after_offline_tx_history, id: 700770
    Device sessions

    29. test_send_eth_in_1_1_chat_transaction_push, id: 6253
    Device sessions

    30. test_copy_and_paste_messages, id: 5317
    Device sessions

    31. test_push_notification_1_1_chat_no_pn_activity_center, id: 6283
    Device sessions

    32. test_start_chat_with_ens_mention_in_one_to_one, id: 5403
    Device sessions

    33. test_decline_transactions_in_1_1_chat_push_notification_changing_state, id: 6265
    Device sessions

    34. test_ens_mentions_pn_and_nickname_in_public_and_1_1_chats, id: 6226
    Device sessions

    35. test_wallet_add_delete_watch_only_account, id: 700760
    Device sessions

    36. test_restore_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 700748
    Device sessions

    37. test_public_chat_message_send_check_timestamps_while_on_different_tab, id: 5313
    Device sessions

    38. test_send_tx_set_recipient_options, id: 700757
    Device sessions

    39. test_send_audio_message_with_push_notification_check, id: 6316
    Device sessions

    40. test_public_chat_open_using_deep_link, id: 700739
    Device sessions

    41. test_public_chat_emoji_send_copy_paste_reply, id: 700719
    Device sessions

    42. test_request_and_receive_stt_in_1_1_chat_offline, id: 6263
    Device sessions

    43. test_public_chat_mark_all_messages_as_read, id: 6270
    Device sessions

    44. test_group_chat_push_system_messages_when_invited, id: 3994
    Device sessions

    45. test_onboarding_cant_sign_in_with_invalid_password_logcat, id: 700746
    Device sessions

    46. test_send_non_english_message_to_newly_added_contact_on_different_networks, id: 5315
    Device sessions

    47. test_public_chat_links_with_previews_github_youtube_twitter_gif_send_enable, id: 700737
    Device sessions

    48. test_can_add_existing_ens_on_mainnet, id: 5502
    Device sessions

    49. test_onboarding_share_wallet_address, id: 700744
    Device sessions

    50. test_keycard_send_eth_in_1_1_chat, id: 6293
    Device sessions

    51. test_block_user_from_public_chat, id: 5786
    Device sessions

    52. test_keycard_relogin_after_restore, id: 700768
    Device sessions

    53. test_group_chat_decline_invite_chat_highligted, id: 5756
    Device sessions

    54. test_send_eth_to_ens_in_chat, id: 6279
    Device sessions

    55. test_browser_delete_close_tabs, id: 702076
    Device sessions

    56. test_mobile_data_usage_complex_settings, id: 6228
    Device sessions

    57. test_restore_set_up_wallet_sign_phrase, id: 700749
    Device sessions

    58. test_browser_blocked_url, id: 702072
    Device sessions

    59. test_keycard_send_tx_sign_message_request_stt_testdapp, id: 700769
    Device sessions

    60. test_browser_web3_permissions_testdapp, id: 702078
    Device sessions

    61. test_wallet_fetching_balance_after_offline_insufficient_funds_errors, id: 700766
    Device sessions

    62. test_group_chat_join_send_text_messages_push, id: 700731
    Device sessions

    63. test_restore_validation_seed_phrase_field, id: 700750
    Device sessions

    64. test_send_tx_eth_check_logcat, id: 700763
    Device sessions

    65. test_send_tx_token_7_decimals, id: 700764
    Device sessions

    66. test_public_chat_message_edit, id: 700734
    Device sessions

    67. test_onboarding_home_initial_popup, id: 700742
    Device sessions

    68. test_group_chat_add_new_member_activity_centre, id: 700732
    Device sessions

    69. test_wallet_manage_assets, id: 700758
    Device sessions

    70. test_can_use_purchased_stickers_on_recovered_account, id: 5783
    Device sessions

    71. test_send_tx_sign_message_2tx_in_batch_tx_filters_request_stt_testdapp, id: 5342
    Device sessions

    72. test_public_chat_fetch_more_history, id: 5675
    Device sessions

    73. test_group_chat_offline_pn, id: 3998
    Device sessions

    74. test_onboarding_backup_seed_phrase_restore_same_login_logcat, id: 700745
    Device sessions

    75. test_restore_account_migrate_multiaccount_to_keycard, id: 6645
    Device sessions

    @status-im-auto
    Copy link
    Member

    96% of end-end tests have passed

    Total executed tests: 79
    Failed tests: 3
    Passed tests: 76
    
    IDs of failed tests: 6279,5310,5387 
    

    Failed tests (3)

    Click to expand
  • Rerun tests

  • 1. test_send_eth_to_ens_in_chat, id: 6279

    Transaction #5, amount is 0.00021756
    {'blockNumber': '12113791', 'timeStamp': '1647847304', 'hash': '0x2a38d414be09d966996d1731411ffa72003c1cd799aa45520e928205915070b3', 'nonce': '36', 'blockHash': '0xc21a4a19abbf008056160f02630a0eff8b2adfa0eb915584e48e7631c9dd0fbc', 'transactionIndex': '2', 'from': '0xb044c703a85251e7044f74ca5099d2d3edd85cdf', 'to': '0x1ee3058bd300246b4b20e687efc9eba81ff7814b', 'value': '217560000000000', 'gas': '21000', 'gasPrice': '44758885116', 'isError': '0', 'txreceipt_status': '1', 'input': '0x', 'contractAddress': '', 'cumulativeGasUsed': '3487874', 'gasUsed': '21000', 'confirmations': '1964'}

    Transaction with amount 0.00021203239 is not found in list of ETH transactions, address is b044c703A85251e7044f74Ca5099D2d3EDD85cDf during 300s

    Device sessions

    2. test_offline_is_shown_messaging_1_1_chat_sent_delivered, id: 5310

    Device 1: Looking for chat: 'Careless Failing Ringtailedlemur'
    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

    3. test_delete_chats_via_delete_button_rejoin, id: 5387

    ## Public chat 'public-delete-long-press' is created successfully!
    Device 1: Looking for a message by text: test message:icykxczjyb

    Messages are not fetched when rejoining public chat after deleting

    Device sessions

    Passed tests (76)

    Click to expand

    1. test_can_add_existing_ens_on_mainnet, id: 5502
    Device sessions

    2. test_pair_devices_sync_one_to_one_contacts_nicknames_public_chat, id: 5762
    Device sessions

    3. test_wallet_manage_assets, id: 700758
    Device sessions

    4. test_public_chat_message_edit, id: 700734
    Device sessions

    5. test_keycard_relogin_after_restore, id: 700768
    Device sessions

    6. test_group_chat_push_system_messages_when_invited, id: 3994
    Device sessions

    7. test_can_use_purchased_stickers_on_recovered_account, id: 5783
    Device sessions

    8. test_send_tx_token_7_decimals, id: 700764
    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_chat_unread_messages_counter, id: 5360
    Device sessions

    12. test_public_chat_emoji_send_copy_paste_reply, id: 700719
    Device sessions

    13. test_browser_bookmarks_create_edit_remove, id: 702077
    Device sessions

    14. test_send_tx_eth_check_logcat, id: 700763
    Device sessions

    15. test_reactions_to_message_in_chats, id: 6315
    Device sessions

    16. test_restore_validation_seed_phrase_field, id: 700750
    Device sessions

    17. test_send_eth_in_1_1_chat_transaction_push, id: 6253
    Device sessions

    18. test_public_chat_unread_messages_counter_for_mention_relogin, id: 700718
    Device sessions

    19. test_send_tx_custom_token_18_decimals_invalid_password, id: 700765
    Device sessions

    20. test_onboarding_add_new_multiaccount_username_by_position_pass_validation, id: 700747
    Device sessions

    21. test_public_chat_delete_chat_long_press, id: 5319
    Device sessions

    22. test_onboarding_home_initial_popup, id: 700742
    Device sessions

    23. test_send_non_english_message_to_newly_added_contact_on_different_networks, id: 5315
    Device sessions

    24. test_browser_blocked_url, id: 702072
    Device sessions

    25. test_restore_account_migrate_multiaccount_to_keycard, id: 6645
    Device sessions

    26. test_edit_delete_message_in_one_to_one_, id: 695843
    Device sessions

    27. test_send_and_open_emoji_link_in_one_to_one, id: 5373
    Device sessions

    28. test_wallet_add_hide_unhide_account_private_key, id: 700761
    Device sessions

    29. test_block_user_from_public_chat, id: 5786
    Device sessions

    30. test_keycard_send_tx_sign_message_request_stt_testdapp, id: 700769
    Device sessions

    31. test_push_notification_1_1_chat_no_pn_activity_center, id: 6283
    Device sessions

    32. test_install_pack_and_send_sticker, id: 5782
    Device sessions

    33. test_add_and_remove_mention_contact_with_nickname_from_public_chat, id: 5332
    Device sessions

    34. test_public_chat_link_send_open, id: 700736
    Device sessions

    35. test_onboarding_share_contact_address, id: 700743
    Device sessions

    36. test_onboarding_backup_seed_phrase_restore_same_login_logcat, id: 700745
    Device sessions

    37. test_wallet_tx_history_copy_tx_hash_on_lte, id: 700756
    Device sessions

    38. test_restore_set_up_wallet_sign_phrase, id: 700749
    Device sessions

    39. test_browser_delete_close_tabs, id: 702076
    Device sessions

    40. test_public_chat_mark_all_messages_as_read, id: 6270
    Device sessions

    41. test_browser_connection_is_secure_not_secure_warning, id: 702073
    Device sessions

    42. test_send_audio_message_with_push_notification_check, id: 6316
    Device sessions

    43. test_send_tx_set_recipient_options, id: 700757
    Device sessions

    44. test_onboarding_cant_sign_in_with_invalid_password_logcat, id: 700746
    Device sessions

    45. test_send_tx_sign_message_2tx_in_batch_tx_filters_request_stt_testdapp, id: 5342
    Device sessions

    46. test_group_chat_join_send_text_messages_push, id: 700731
    Device sessions

    47. test_browser_web3_permissions_testdapp, id: 702078
    Device sessions

    48. test_open_chat_by_pasting_chat_key_check_invalid_chat_key_cases, id: 5304
    Device sessions

    49. test_wallet_add_delete_watch_only_account, id: 700760
    Device sessions

    50. test_group_chat_decline_invite_chat_highligted, id: 5756
    Device sessions

    51. test_set_profile_picture, id: 6646
    Device sessions

    52. test_public_chat_tag_message, id: 700738
    Device sessions

    53. test_request_and_receive_stt_in_1_1_chat_offline, id: 6263
    Device sessions

    54. test_onboarding_share_wallet_address, id: 700744
    Device sessions

    55. test_keycard_create_account_unlock_same_seed, id: 5689
    Device sessions

    56. test_mobile_data_usage_complex_settings, id: 6228
    Device sessions

    57. test_public_chat_navigate_to_chat_when_relaunch, id: 5396
    Device sessions

    58. test_public_chat_fetch_more_history, id: 5675
    Device sessions

    59. test_wallet_fetching_balance_after_offline_insufficient_funds_errors, id: 700766
    Device sessions

    60. test_group_chat_offline_pn, id: 3998
    Device sessions

    61. test_group_chat_add_new_member_activity_centre, id: 700732
    Device sessions

    62. test_public_chat_links_with_previews_github_youtube_twitter_gif_send_enable, id: 700737
    Device sessions

    63. test_keycard_send_tx_eth, id: 700767
    Device sessions

    64. test_browser_offline, id: 702075
    Device sessions

    65. test_browser_invalid_url, id: 702074
    Device sessions

    66. test_wallet_add_account_generate_new, id: 700759
    Device sessions

    67. test_keycard_send_eth_in_1_1_chat, id: 6293
    Device sessions

    68. test_restore_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 700748
    Device sessions

    69. test_copy_and_paste_messages, id: 5317
    Device sessions

    70. test_public_chat_message_send_check_timestamps_while_on_different_tab, id: 5313
    Device sessions

    71. test_ens_mentions_pn_and_nickname_in_public_and_1_1_chats, id: 6226
    Device sessions

    72. test_decline_transactions_in_1_1_chat_push_notification_changing_state, id: 6265
    Device sessions

    73. test_group_chat_leave_relogin, id: 3997
    Device sessions

    74. test_public_chat_message_delete, id: 700735
    Device sessions

    75. test_start_chat_with_ens_mention_in_one_to_one, id: 5403
    Device sessions

    76. test_keycard_wallet_recover_pairing_check_balance_after_offline_tx_history, id: 700770
    Device sessions

    @pavloburykh
    Copy link
    Contributor

    @siddarthkay thanx for fixes!

    ISSUE 3

    It seems that on IOS (iPhone X) long username is still located to close to timestamp. That's definitely a minor but if this is an easy fix lets improve it.

    Below 2 screenshots for comparison from IOS (iPhone X) and Android (Samsung Galaxy A52) with a message from same user

    iPhone x
    photo_2022-03-22 10 20 39

    Samsung Galaxy A52
    photo_2022-03-22 10 21 34

    @siddarthkay
    Copy link
    Contributor Author

    @pavloburykh : I'm working on reproducing this in iphoneX Simulator and then will push a fix

    @pavloburykh
    Copy link
    Contributor

    pavloburykh commented Mar 23, 2022

    @pavloburykh : I'm working on reproducing this in iphoneX Simulator and then will push a fix

    @siddarthkay thank you! let me know if you need any help on reproduction.

    @siddarthkay
    Copy link
    Contributor Author

    Latest fix should take care of this case @pavloburykh
    Screenshot on iPhone X below
    Simulator Screen Shot - iPhone X - 2022-03-23 at 23 50 18

    @status-im-auto
    Copy link
    Member

    86% of end-end tests have passed

    Total executed tests: 79
    Failed tests: 11
    Passed tests: 68
    
    IDs of failed tests: 700764,6279,700763,6253,702076,700757,6263,5689,6228,700767,6293 
    

    Failed tests (11)

    Click to expand
  • Rerun tests

  • 1. test_send_tx_token_7_decimals, id: 700764

    Device 1: ADI value is 499.9743176
    Device 1: Waiting 400s for ADI updated balance

    Device 1: Balance ADI 499.9743176 is not changed during 400 seconds!

    Device sessions

    2. test_send_eth_to_ens_in_chat, id: 6279

    Finding tx in ETH transactions, attempt #1
    Expected amount of confirmations is 6, in fact 4

    Transaction with amount 0.0002493557 was not confirmed, address is b044c703A85251e7044f74Ca5099D2d3EDD85cDf, still has 4 confirmations

    Device sessions

    3. test_send_tx_eth_check_logcat, id: 700763

    Transaction #5, amount is 0.0001871
    {'blockNumber': '12129514', 'timeStamp': '1648108053', 'hash': '0x8573fa0bf088c7718595886d6ccbe76ad19a115127b9617e9df211221b761aff', 'nonce': '369', 'blockHash': '0x9aee373b1950270ea0a26aae24c78153f787149e987cd134500a54dd1496bbd1', 'transactionIndex': '10', 'from': '0x512543419b894307ea979c8d24219c279be2315b', 'to': '0xaa2c8fbfed0e36e793aa51707c4f575d2b7f2dc8', 'value': '187100000000000', 'gas': '21000', 'gasPrice': '1500000108', 'isError': '0', 'txreceipt_status': '1', 'input': '0x', 'contractAddress': '', 'cumulativeGasUsed': '5901115', 'gasUsed': '21000', 'confirmations': '67'}

    Transaction with amount 0.0008421 is not found in list of ETH transactions, address is 512543419b894307EA979C8d24219c279Be2315B during 300s

    Device sessions

    4. test_send_eth_in_1_1_chat_transaction_push, id: 6253

    Finding tx in ETH transactions, attempt #1
    Expected amount of confirmations is 6, in fact 4

    Transaction with amount 0.0002493439 was not confirmed, address is AA2C8FbfEd0e36E793aA51707C4F575D2B7f2dC8, still has 4 confirmations

    Device sessions

    5. test_browser_delete_close_tabs, id: 702076

    Device 1: Find 'Button' by 'accessibility id': `browser-open-tabs`
    Device 1: Tap on found: Button

    Closed tab is present after deletion

    Device sessions

    6. test_send_tx_set_recipient_options, id: 700757

    Device 1: Click until 'AccessKeyButton' by 'xpath': `//*[@text="Access existing keys"]` will be presented
    Device 1: Find 'Button' by 'xpath': `//*[@text="Get started"]`

    504 Gateway Time-out

    The server didn't respond in time.


    Device sessions

    7. test_request_and_receive_stt_in_1_1_chat_offline, id: 6263

    Transaction #5, amount is 0.000237357
    {'blockNumber': '12121038', 'timeStamp': '1648019717', 'hash': '0xe226a586e78a5b9a4c971acc9274de620ad1e87d79d88bf95dee12903d8616f8', 'nonce': '57', 'blockHash': '0xabdf1d2ee695058d498bc31c23bdfa1ad86a2c7318030a3d2f7d910ec7c413a7', 'from': '0xe67685fe27e269799c00c9e3474804bc65ac0208', 'contractAddress': '0xc55cf4b03948d7ebc8b9e8bad92643703811d162', 'to': '0x22c83502946fbd161ae1c28657be5a5aa355ec87', 'value': '237357000000000', 'tokenName': 'Status Test Token', 'tokenSymbol': 'STT', 'tokenDecimal': '18', 'transactionIndex': '8', 'gas': '141014', 'gasPrice': '2007186296', 'gasUsed': '117512', 'cumulativeGasUsed': '7722591', 'input': 'deprecated', 'confirmations': '8538'}

    Transaction with amount 0.0002491429 is not found in list of token transactions, address is E67685fE27E269799C00C9e3474804BC65ac0208 during 300s

    Device sessions

    8. test_keycard_create_account_unlock_same_seed, id: 5689

    Device 1: Tap on found: Button
    Device 1: Wait for element 'Button' for max 30s and click when it is available

    An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up

    Device sessions

    9. test_mobile_data_usage_complex_settings, id: 6228

    Device 2: Find 'Button' by 'accessibility id': `Wi‑Fi`
    Device 2: Tap on found: Button

    Device 2: Button by accessibility id:`conn-button-mobile-sync-off` is not found on the screen

    Device sessions

    10. test_keycard_send_tx_eth, id: 700767

    Finding tx in ETH transactions, attempt #1
    Expected amount of confirmations is 6, in fact 3

    Transaction with amount 0.000249374 was not confirmed, address is 37cd95335b4bFF05A3C13a431e0C72359B82811D, still has 3 confirmations

    Device sessions

    11. test_keycard_send_eth_in_1_1_chat, id: 6293

    Transaction #5, amount is 0.0002372749
    {'blockNumber': '12121077', 'timeStamp': '1648020569', 'hash': '0xf47be867b7c8a96e024f55b05266659abb8a2c4bcfb079fb2216b54c7120bf57', 'nonce': '41', 'blockHash': '0x8c2a515637c4535e42925fa46cda58656cab148a48df1387cd0be6247eb648c5', 'transactionIndex': '13', 'from': '0x2836494ad06871443dd56e3108e4dd43a4f449c5', 'to': '0x72d4fcef114945cb02ca323063319f87256fbc1c', 'value': '237274900000000', 'gas': '21000', 'gasPrice': '4007184354', 'isError': '0', 'txreceipt_status': '1', 'input': '0x', 'contractAddress': '', 'cumulativeGasUsed': '294000', 'gasUsed': '21000', 'confirmations': '8503'}

    Transaction with amount 0.0002493732 is not found in list of ETH transactions, address is 2836494ad06871443Dd56e3108E4dD43A4F449c5 during 300s

    Device sessions

    Passed tests (68)

    Click to expand

    1. test_can_add_existing_ens_on_mainnet, id: 5502
    Device sessions

    2. test_pair_devices_sync_one_to_one_contacts_nicknames_public_chat, id: 5762
    Device sessions

    3. test_wallet_manage_assets, id: 700758
    Device sessions

    4. test_public_chat_message_edit, id: 700734
    Device sessions

    5. test_keycard_relogin_after_restore, id: 700768
    Device sessions

    6. test_group_chat_push_system_messages_when_invited, id: 3994
    Device sessions

    7. test_can_use_purchased_stickers_on_recovered_account, id: 5783
    Device sessions

    8. test_image_in_one_to_one_send_save_reply_timeline, id: 6305
    Device sessions

    9. test_public_chat_open_using_deep_link, id: 700739
    Device sessions

    10. test_public_chat_unread_messages_counter, id: 5360
    Device sessions

    11. test_public_chat_emoji_send_copy_paste_reply, id: 700719
    Device sessions

    12. test_browser_bookmarks_create_edit_remove, id: 702077
    Device sessions

    13. test_reactions_to_message_in_chats, id: 6315
    Device sessions

    14. test_restore_validation_seed_phrase_field, id: 700750
    Device sessions

    15. test_public_chat_unread_messages_counter_for_mention_relogin, id: 700718
    Device sessions

    16. test_send_tx_custom_token_18_decimals_invalid_password, id: 700765
    Device sessions

    17. test_onboarding_add_new_multiaccount_username_by_position_pass_validation, id: 700747
    Device sessions

    18. test_public_chat_delete_chat_long_press, id: 5319
    Device sessions

    19. test_onboarding_home_initial_popup, id: 700742
    Device sessions

    20. test_send_non_english_message_to_newly_added_contact_on_different_networks, id: 5315
    Device sessions

    21. test_browser_blocked_url, id: 702072
    Device sessions

    22. test_restore_account_migrate_multiaccount_to_keycard, id: 6645
    Device sessions

    23. test_edit_delete_message_in_one_to_one_, id: 695843
    Device sessions

    24. test_offline_is_shown_messaging_1_1_chat_sent_delivered, id: 5310
    Device sessions

    25. test_send_and_open_emoji_link_in_one_to_one, id: 5373
    Device sessions

    26. test_wallet_add_hide_unhide_account_private_key, id: 700761
    Device sessions

    27. test_block_user_from_public_chat, id: 5786
    Device sessions

    28. test_keycard_send_tx_sign_message_request_stt_testdapp, id: 700769
    Device sessions

    29. test_push_notification_1_1_chat_no_pn_activity_center, id: 6283
    Device sessions

    30. test_install_pack_and_send_sticker, id: 5782
    Device sessions

    31. test_add_and_remove_mention_contact_with_nickname_from_public_chat, id: 5332
    Device sessions

    32. test_public_chat_link_send_open, id: 700736
    Device sessions

    33. test_onboarding_share_contact_address, id: 700743
    Device sessions

    34. test_onboarding_backup_seed_phrase_restore_same_login_logcat, id: 700745
    Device sessions

    35. test_wallet_tx_history_copy_tx_hash_on_lte, id: 700756
    Device sessions

    36. test_restore_set_up_wallet_sign_phrase, id: 700749
    Device sessions

    37. test_public_chat_mark_all_messages_as_read, id: 6270
    Device sessions

    38. test_browser_connection_is_secure_not_secure_warning, id: 702073
    Device sessions

    39. test_send_audio_message_with_push_notification_check, id: 6316
    Device sessions

    40. test_onboarding_cant_sign_in_with_invalid_password_logcat, id: 700746
    Device sessions

    41. test_send_tx_sign_message_2tx_in_batch_tx_filters_request_stt_testdapp, id: 5342
    Device sessions

    42. test_group_chat_join_send_text_messages_push, id: 700731
    Device sessions

    43. test_browser_web3_permissions_testdapp, id: 702078
    Device sessions

    44. test_open_chat_by_pasting_chat_key_check_invalid_chat_key_cases, id: 5304
    Device sessions

    45. test_wallet_add_delete_watch_only_account, id: 700760
    Device sessions

    46. test_group_chat_decline_invite_chat_highligted, id: 5756
    Device sessions

    47. test_set_profile_picture, id: 6646
    Device sessions

    48. test_public_chat_tag_message, id: 700738
    Device sessions

    49. test_onboarding_share_wallet_address, id: 700744
    Device sessions

    50. test_public_chat_navigate_to_chat_when_relaunch, id: 5396
    Device sessions

    51. test_delete_chats_via_delete_button_rejoin, id: 5387
    Device sessions

    52. test_public_chat_fetch_more_history, id: 5675
    Device sessions

    53. test_wallet_fetching_balance_after_offline_insufficient_funds_errors, id: 700766
    Device sessions

    54. test_group_chat_offline_pn, id: 3998
    Device sessions

    55. test_group_chat_add_new_member_activity_centre, id: 700732
    Device sessions

    56. test_public_chat_links_with_previews_github_youtube_twitter_gif_send_enable, id: 700737
    Device sessions

    57. test_browser_offline, id: 702075
    Device sessions

    58. test_browser_invalid_url, id: 702074
    Device sessions

    59. test_wallet_add_account_generate_new, id: 700759
    Device sessions

    60. test_restore_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 700748
    Device sessions

    61. test_copy_and_paste_messages, id: 5317
    Device sessions

    62. test_public_chat_message_send_check_timestamps_while_on_different_tab, id: 5313
    Device sessions

    63. test_ens_mentions_pn_and_nickname_in_public_and_1_1_chats, id: 6226
    Device sessions

    64. test_decline_transactions_in_1_1_chat_push_notification_changing_state, id: 6265
    Device sessions

    65. test_group_chat_leave_relogin, id: 3997
    Device sessions

    66. test_public_chat_message_delete, id: 700735
    Device sessions

    67. test_start_chat_with_ens_mention_in_one_to_one, id: 5403
    Device sessions

    68. test_keycard_wallet_recover_pairing_check_balance_after_offline_tx_history, id: 700770
    Device sessions

    @status-im-auto
    Copy link
    Member

    95% of end-end tests have passed

    Total executed tests: 79
    Failed tests: 4
    Passed tests: 75
    
    IDs of failed tests: 6279,6263,5689,3997 
    

    Failed tests (4)

    Click to expand
  • Rerun tests

  • 1. test_send_eth_to_ens_in_chat, id: 6279

    Transaction #5, amount is 0.0002416127
    {'blockNumber': '12129873', 'timeStamp': '1648137809', 'hash': '0x9d8af9fefb6cb17bbe0a58c941d0031142a9778e0181b50d6da1ef760e9e5d96', 'nonce': '51', 'blockHash': '0x49038da0e2e2314869489644532dd228217778c4ebbc3389c22e86f8e0ce3c12', 'transactionIndex': '7', 'from': '0xb044c703a85251e7044f74ca5099d2d3edd85cdf', 'to': '0x1ee3058bd300246b4b20e687efc9eba81ff7814b', 'value': '241612700000000', 'gas': '21000', 'gasPrice': '275631815737', 'isError': '0', 'txreceipt_status': '1', 'input': '0x', 'contractAddress': '', 'cumulativeGasUsed': '945242', 'gasUsed': '21000', 'confirmations': '3724'}

    Transaction with amount 0.00025194851 is not found in list of ETH transactions, address is b044c703A85251e7044f74Ca5099D2d3EDD85cDf during 300s

    Device sessions

    2. test_request_and_receive_stt_in_1_1_chat_offline, id: 6263

    Transaction #5, amount is 0.0002418647
    {'blockNumber': '12130127', 'timeStamp': '1648145720', 'hash': '0x67e1bbf59e756e68e0f934bef4bbe28e7e35c64d3606ee9678d4cd3f8cd555e2', 'nonce': '66', 'blockHash': '0xb8ceab304ed2f66a95d58228b0bab07416a513438860496d51531e336ed59114', 'from': '0xe67685fe27e269799c00c9e3474804bc65ac0208', 'contractAddress': '0xc55cf4b03948d7ebc8b9e8bad92643703811d162', 'to': '0x4ba4bd3716ad8713bfe909cbdc91b7f42be03083', 'value': '241864700000000', 'tokenName': 'Status Test Token', 'tokenSymbol': 'STT', 'tokenDecimal': '18', 'transactionIndex': '7', 'gas': '141014', 'gasPrice': '39825928931', 'gasUsed': '117512', 'cumulativeGasUsed': '5799380', 'input': 'deprecated', 'confirmations': '3466'}

    Transaction with amount 0.0002519353 is not found in list of token transactions, address is E67685fE27E269799C00C9e3474804BC65ac0208 during 300s

    Device sessions

    3. test_keycard_create_account_unlock_same_seed, id: 5689

    Device 1: 'Text' is '0xAd74E4E19536E6f86800A0e103bBE5937c900795'
    Device 1: Closing share popup

    The test with session id 59ac17e9fec04711a163726eb3c24e68 has already finished, and can't receive further commands. For help, please check https://docs.saucelabs.com/dev/error-messages

    Device sessions

    4. test_group_chat_leave_relogin, id: 3997

    ## Signed in successfully!
    Device 1: Looking for chat: 'ejutyfq'

    An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up

    Device sessions

    Passed tests (75)

    Click to expand

    1. test_can_add_existing_ens_on_mainnet, id: 5502
    Device sessions

    2. test_pair_devices_sync_one_to_one_contacts_nicknames_public_chat, id: 5762
    Device sessions

    3. test_wallet_manage_assets, id: 700758
    Device sessions

    4. test_public_chat_message_edit, id: 700734
    Device sessions

    5. test_keycard_relogin_after_restore, id: 700768
    Device sessions

    6. test_group_chat_push_system_messages_when_invited, id: 3994
    Device sessions

    7. test_can_use_purchased_stickers_on_recovered_account, id: 5783
    Device sessions

    8. test_send_tx_token_7_decimals, id: 700764
    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_chat_unread_messages_counter, id: 5360
    Device sessions

    12. test_public_chat_emoji_send_copy_paste_reply, id: 700719
    Device sessions

    13. test_browser_bookmarks_create_edit_remove, id: 702077
    Device sessions

    14. test_send_tx_eth_check_logcat, id: 700763
    Device sessions

    15. test_reactions_to_message_in_chats, id: 6315
    Device sessions

    16. test_restore_validation_seed_phrase_field, id: 700750
    Device sessions

    17. test_send_eth_in_1_1_chat_transaction_push, id: 6253
    Device sessions

    18. test_public_chat_unread_messages_counter_for_mention_relogin, id: 700718
    Device sessions

    19. test_send_tx_custom_token_18_decimals_invalid_password, id: 700765
    Device sessions

    20. test_onboarding_add_new_multiaccount_username_by_position_pass_validation, id: 700747
    Device sessions

    21. test_public_chat_delete_chat_long_press, id: 5319
    Device sessions

    22. test_onboarding_home_initial_popup, id: 700742
    Device sessions

    23. test_send_non_english_message_to_newly_added_contact_on_different_networks, id: 5315
    Device sessions

    24. test_browser_blocked_url, id: 702072
    Device sessions

    25. test_restore_account_migrate_multiaccount_to_keycard, id: 6645
    Device sessions

    26. test_edit_delete_message_in_one_to_one_, id: 695843
    Device sessions

    27. test_offline_is_shown_messaging_1_1_chat_sent_delivered, id: 5310
    Device sessions

    28. test_send_and_open_emoji_link_in_one_to_one, id: 5373
    Device sessions

    29. test_wallet_add_hide_unhide_account_private_key, id: 700761
    Device sessions

    30. test_block_user_from_public_chat, id: 5786
    Device sessions

    31. test_keycard_send_tx_sign_message_request_stt_testdapp, id: 700769
    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_add_and_remove_mention_contact_with_nickname_from_public_chat, id: 5332
    Device sessions

    35. test_public_chat_link_send_open, id: 700736
    Device sessions

    36. test_onboarding_share_contact_address, id: 700743
    Device sessions

    37. test_onboarding_backup_seed_phrase_restore_same_login_logcat, id: 700745
    Device sessions

    38. test_wallet_tx_history_copy_tx_hash_on_lte, id: 700756
    Device sessions

    39. test_restore_set_up_wallet_sign_phrase, id: 700749
    Device sessions

    40. test_browser_delete_close_tabs, id: 702076
    Device sessions

    41. test_public_chat_mark_all_messages_as_read, id: 6270
    Device sessions

    42. test_browser_connection_is_secure_not_secure_warning, id: 702073
    Device sessions

    43. test_send_audio_message_with_push_notification_check, id: 6316
    Device sessions

    44. test_send_tx_set_recipient_options, id: 700757
    Device sessions

    45. test_onboarding_cant_sign_in_with_invalid_password_logcat, id: 700746
    Device sessions

    46. test_send_tx_sign_message_2tx_in_batch_tx_filters_request_stt_testdapp, id: 5342
    Device sessions

    47. test_group_chat_join_send_text_messages_push, id: 700731
    Device sessions

    48. test_browser_web3_permissions_testdapp, id: 702078
    Device sessions

    49. test_open_chat_by_pasting_chat_key_check_invalid_chat_key_cases, id: 5304
    Device sessions

    50. test_wallet_add_delete_watch_only_account, id: 700760
    Device sessions

    51. test_group_chat_decline_invite_chat_highligted, id: 5756
    Device sessions

    52. test_set_profile_picture, id: 6646
    Device sessions

    53. test_public_chat_tag_message, id: 700738
    Device sessions

    54. test_onboarding_share_wallet_address, id: 700744
    Device sessions

    55. test_mobile_data_usage_complex_settings, id: 6228
    Device sessions

    56. test_public_chat_navigate_to_chat_when_relaunch, id: 5396
    Device sessions

    57. test_delete_chats_via_delete_button_rejoin, id: 5387
    Device sessions

    58. test_public_chat_fetch_more_history, id: 5675
    Device sessions

    59. test_wallet_fetching_balance_after_offline_insufficient_funds_errors, id: 700766
    Device sessions

    60. test_group_chat_offline_pn, id: 3998
    Device sessions

    61. test_group_chat_add_new_member_activity_centre, id: 700732
    Device sessions

    62. test_public_chat_links_with_previews_github_youtube_twitter_gif_send_enable, id: 700737
    Device sessions

    63. test_keycard_send_tx_eth, id: 700767
    Device sessions

    64. test_browser_offline, id: 702075
    Device sessions

    65. test_browser_invalid_url, id: 702074
    Device sessions

    66. test_wallet_add_account_generate_new, id: 700759
    Device sessions

    67. test_keycard_send_eth_in_1_1_chat, id: 6293
    Device sessions

    68. test_restore_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 700748
    Device sessions

    69. test_copy_and_paste_messages, id: 5317
    Device sessions

    70. test_public_chat_message_send_check_timestamps_while_on_different_tab, id: 5313
    Device sessions

    71. test_ens_mentions_pn_and_nickname_in_public_and_1_1_chats, id: 6226
    Device sessions

    72. test_decline_transactions_in_1_1_chat_push_notification_changing_state, id: 6265
    Device sessions

    73. test_public_chat_message_delete, id: 700735
    Device sessions

    74. test_start_chat_with_ens_mention_in_one_to_one, id: 5403
    Device sessions

    75. test_keycard_wallet_recover_pairing_check_balance_after_offline_tx_history, id: 700770
    Device sessions

    @status-im-auto
    Copy link
    Member

    ✔️ status-react/prs/ios/PR-13185#8 🔹 ~12 min 🔹 8529e18 🔹 📦 ios package

    @pavloburykh
    Copy link
    Contributor

    @siddarthkay thanx for fixes, ready for merge. Sorry for testing delay, was busy by release testing.

    @siddarthkay siddarthkay force-pushed the bug/13178-long-username-is-overlaid-on-timestamp-in-activity-center branch from 8529e18 to 8aaf37a Compare March 29, 2022 04:03
    lint fix
    
    remove unused import and debug backgrounds
    
    set width boundaries for long usernames in activity
    
    fix lint and pass width from view
    
    updated spacing to accommodate iphoneX
    
    Signed-off-by: andrey <motor4ik@gmail.com>
    @flexsurfer flexsurfer force-pushed the bug/13178-long-username-is-overlaid-on-timestamp-in-activity-center branch from 8aaf37a to c40094f Compare March 30, 2022 13:43
    @flexsurfer flexsurfer merged commit c40094f into status-im:develop Mar 30, 2022
    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.

    Long username is overlaid on timestamp in Activity center (Android)
    5 participants