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: avatar alignment #19073

Merged
merged 12 commits into from
Mar 28, 2024
Merged

fix: avatar alignment #19073

merged 12 commits into from
Mar 28, 2024

Conversation

jo-mut
Copy link
Contributor

@jo-mut jo-mut commented Mar 1, 2024

Fixes #18827

Summary

Handles the limit event when creating a new group chat

  • Fixes avatar/username alignment
  • Adds animation for avatar/username when scrolling up (ref)

Platforms

  • Android
  • iOS
Functional
  • 1-1 chats

Steps to test

  • Open Status
  • Go to chat tab
  • Start 1:1 chat with a contact
  • When you have enough content more than the screen, scroll to the bottom
  • Observe animation and alignment for avatar/username

status: ready

Avatar Alignment Fix

@status-im-auto
Copy link
Member

status-im-auto commented Mar 1, 2024

Jenkins Builds

Click to see older builds (49)
Commit #️⃣ Finished (UTC) Duration Platform Result
842456a #1 2024-03-01 11:45:19 ~1 min tests 📄log
✔️ 842456a #1 2024-03-01 11:50:26 ~7 min android-e2e 🤖apk 📲
✔️ 842456a #1 2024-03-01 11:51:08 ~7 min android 🤖apk 📲
✔️ 842456a #1 2024-03-01 11:55:39 ~12 min ios 📱ipa 📲
41ab0e8 #2 2024-03-14 10:09:42 ~1 min tests 📄log
✔️ 41ab0e8 #2 2024-03-14 10:14:37 ~6 min android-e2e 🤖apk 📲
✔️ 41ab0e8 #2 2024-03-14 10:15:06 ~7 min android 🤖apk 📲
✔️ 41ab0e8 #2 2024-03-14 10:16:57 ~9 min ios 📱ipa 📲
✔️ 754f6df #3 2024-03-14 12:04:12 ~7 min tests 📄log
✔️ 754f6df #3 2024-03-14 12:04:26 ~7 min android 🤖apk 📲
✔️ 754f6df #3 2024-03-14 12:05:28 ~8 min android-e2e 🤖apk 📲
✔️ 754f6df #3 2024-03-14 12:05:38 ~8 min ios 📱ipa 📲
✔️ 3beb4b2 #4 2024-03-14 12:21:08 ~6 min tests 📄log
✔️ 3beb4b2 #4 2024-03-14 12:21:30 ~7 min android-e2e 🤖apk 📲
✔️ 3beb4b2 #4 2024-03-14 12:22:27 ~7 min android 🤖apk 📲
✔️ 3beb4b2 #4 2024-03-14 12:23:09 ~8 min ios 📱ipa 📲
✔️ e8061f2 #5 2024-03-14 13:36:34 ~5 min tests 📄log
✔️ e8061f2 #5 2024-03-14 13:37:18 ~6 min android 🤖apk 📲
✔️ e8061f2 #5 2024-03-14 13:38:04 ~7 min android-e2e 🤖apk 📲
✔️ e8061f2 #5 2024-03-14 13:38:54 ~8 min ios 📱ipa 📲
✔️ 38d6481 #6 2024-03-15 10:45:34 ~8 min android-e2e 🤖apk 📲
✔️ 38d6481 #6 2024-03-15 10:45:41 ~8 min android 🤖apk 📲
✔️ 38d6481 #6 2024-03-15 10:46:34 ~9 min ios 📱ipa 📲
✔️ 1e6c8e4 #7 2024-03-18 10:02:00 ~6 min tests 📄log
✔️ 1e6c8e4 #7 2024-03-18 10:03:21 ~7 min android 🤖apk 📲
✔️ 1e6c8e4 #7 2024-03-18 10:03:38 ~8 min android-e2e 🤖apk 📲
✔️ 1e6c8e4 #7 2024-03-18 10:05:19 ~9 min ios 📱ipa 📲
✔️ 60d178f #8 2024-03-18 10:56:13 ~5 min tests 📄log
✔️ 60d178f #8 2024-03-18 10:56:53 ~6 min android-e2e 🤖apk 📲
✔️ 60d178f #8 2024-03-18 10:57:49 ~7 min android 🤖apk 📲
✔️ 60d178f #8 2024-03-18 10:58:39 ~8 min ios 📱ipa 📲
✔️ aff946e #9 2024-03-20 08:49:41 ~7 min android-e2e 🤖apk 📲
✔️ aff946e #9 2024-03-20 08:50:01 ~7 min android 🤖apk 📲
✔️ aff946e #9 2024-03-20 08:50:37 ~8 min ios 📱ipa 📲
✔️ 021060d #10 2024-03-20 18:19:19 ~25 min ios 📱ipa 📲
✔️ b96dc86 #15 2024-03-22 15:33:57 ~5 min tests 📄log
✔️ b96dc86 #15 2024-03-22 15:35:25 ~7 min android-e2e 🤖apk 📲
✔️ b96dc86 #15 2024-03-22 15:35:31 ~7 min android 🤖apk 📲
✔️ b96dc86 #15 2024-03-22 15:39:42 ~11 min ios 📱ipa 📲
✔️ e373b6a #16 2024-03-25 11:52:44 ~7 min android-e2e 🤖apk 📲
✔️ e373b6a #16 2024-03-25 11:52:58 ~7 min android 🤖apk 📲
✔️ e373b6a #16 2024-03-25 11:56:30 ~11 min ios 📱ipa 📲
✔️ 8c2c2f0 #17 2024-03-25 15:03:07 ~7 min android-e2e 🤖apk 📲
✔️ 8c2c2f0 #17 2024-03-25 15:03:12 ~7 min android 🤖apk 📲
✔️ 8c2c2f0 #17 2024-03-25 15:06:34 ~10 min ios 📱ipa 📲
✔️ c2bc334 #19 2024-03-26 20:02:16 ~5 min tests 📄log
✔️ c2bc334 #19 2024-03-26 20:02:26 ~6 min android 🤖apk 📲
✔️ c2bc334 #19 2024-03-26 20:02:49 ~6 min android-e2e 🤖apk 📲
✔️ c2bc334 #19 2024-03-26 20:10:49 ~14 min ios 📱ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 879bc1e #20 2024-03-27 11:10:39 ~6 min android-e2e 🤖apk 📲
✔️ 879bc1e #20 2024-03-27 11:11:02 ~7 min tests 📄log
✔️ 879bc1e #20 2024-03-27 11:11:21 ~7 min android 🤖apk 📲
✔️ 879bc1e #20 2024-03-27 11:20:07 ~16 min ios 📱ipa 📲
✔️ 25c1325 #21 2024-03-28 11:03:45 ~5 min tests 📄log
✔️ 25c1325 #21 2024-03-28 11:05:11 ~7 min android 🤖apk 📲
✔️ 25c1325 #21 2024-03-28 11:06:30 ~8 min android-e2e 🤖apk 📲
✔️ 25c1325 #21 2024-03-28 11:07:50 ~9 min ios 📱ipa 📲

@status-im-auto
Copy link
Member

71% of end-end tests have passed

Total executed tests: 48
Failed tests: 13
Expected to fail tests: 1
Passed tests: 34
IDs of failed tests: 702809,703194,702859,702777,702840,703086,702894,704615,702839,702838,702844,702843,702841 
IDs of expected to fail tests: 703503 

Failed tests (13)

Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194
    Test setup failed: critical/chats/test_public_chat_browsing.py:322: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:444: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:147: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    2. test_community_one_image_send_reply, id: 702859

    Test setup failed: critical/chats/test_public_chat_browsing.py:322: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:444: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:147: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    3. test_community_emoji_send_copy_paste_reply, id: 702840

    Test setup failed: critical/chats/test_public_chat_browsing.py:322: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:444: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:147: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    4. test_community_mark_all_messages_as_read, id: 703086

    Test setup failed: critical/chats/test_public_chat_browsing.py:322: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:444: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:147: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    5. test_community_contact_block_unblock_offline, id: 702894

    Test setup failed: critical/chats/test_public_chat_browsing.py:322: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:444: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:147: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    6. test_community_edit_delete_message_when_offline, id: 704615

    Test setup failed: critical/chats/test_public_chat_browsing.py:322: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:444: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:147: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    7. test_community_message_delete, id: 702839

    Test setup failed: critical/chats/test_public_chat_browsing.py:322: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:444: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:147: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    8. test_community_message_send_check_timestamps_sender_username, id: 702838

    Device 2: Find Button by xpath: //*[@content-desc='password-input']/../following-sibling::*//*[@text='Join Community']
    Device 2: Tap on found: Button

    Test setup failed: critical/chats/test_public_chat_browsing.py:322: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:444: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:147: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    9. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844

    Test setup failed: critical/chats/test_public_chat_browsing.py:322: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:444: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:147: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    10. test_community_message_edit, id: 702843

    Test setup failed: critical/chats/test_public_chat_browsing.py:322: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:444: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:147: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    11. test_community_unread_messages_badge, id: 702841

    Test setup failed: critical/chats/test_public_chat_browsing.py:322: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:444: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:147: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_add_contact_field_validation, id: 702777

    Device 1: Find Button by xpath: //*[@text="Paste"]
    Device 1: Tap on found: Button

    activity_center/test_activity_center.py:226: in test_add_contact_field_validation
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Error message is not shown for value "zQ3shNpRmFUXcQQP4sNSJCiZNinLB9LSGFbSCAEdqdWb6BU3"
    



    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809

    Device 1: Looking for a message by text: quote reply (one row)
    Device 2: Looking for a message by text: quote reply (one row)

    critical/chats/test_public_chat_browsing.py:980: in test_community_markdown_support
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     inline code is not displayed with markdown in community channel for the recipient (device 1) 
    E   
    E    quote reply (one row) is not displayed with markdown in community channel for the recipient (device 1)
    



    Device sessions

    Expected to fail tests (1)

    Click to expand

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Curated communities not loading, https://github.com//issues/17852]]

    Passed tests (34)

    Click to expand

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732
    Device sessions

    2. test_group_chat_mute_chat, id: 703495
    Device sessions

    3. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    4. test_group_chat_reactions, id: 703202
    Device sessions

    5. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    6. test_group_chat_offline_pn, id: 702808
    Device sessions

    Class TestDeepLinksOneDevice:

    1. test_links_open_universal_links_from_chat, id: 704613
    Device sessions

    2. test_links_deep_links, id: 702775
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    2. test_community_mentions_push_notification, id: 702786
    Device sessions

    3. test_community_leave, id: 702845
    Device sessions

    4. test_community_join_when_node_owner_offline, id: 703629
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    4. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    5. test_1_1_chat_edit_message, id: 702855
    Device sessions

    6. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    7. test_1_1_chat_pin_messages, id: 702731
    Device sessions

    8. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    2. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    3. test_community_undo_delete_message, id: 702869
    Device sessions

    4. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    5. test_community_mute_community_and_channel, id: 703382
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    3. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    @BalogunofAfrica BalogunofAfrica changed the title Bug/avatar alignment fix: avatar alignment Mar 14, 2024
    @BalogunofAfrica BalogunofAfrica force-pushed the bug/avatar-alignment branch 2 times, most recently from e8061f2 to 38d6481 Compare March 15, 2024 10:36
    @status-im-auto
    Copy link
    Member

    94% of end-end tests have passed

    Total executed tests: 48
    Failed tests: 2
    Expected to fail tests: 1
    Passed tests: 45
    
    IDs of failed tests: 702843,703629 
    
    IDs of expected to fail tests: 703503 
    

    Failed tests (2)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_join_when_node_owner_offline, id: 703629

    Device 2: Looking for community: 'open community'
    Device 2: Click until `Text` by `accessibility id`: `community-description-text` will be presented

    critical/chats/test_public_chat_browsing.py:1178: in test_community_join_when_node_owner_offline
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Text "You joined “closed community”" in shown toast element doesn't match expected "You joined “open community”"
    



    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_message_edit, id: 702843

    Device 2: Looking for a message by text: Message AFTER edit 2 (Edited)
    Device 2: Find ChatElementByText by xpath: //*[starts-with(@text,'Message AFTER edit 2 (Edited)')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']

    critical/chats/test_public_chat_browsing.py:353: in test_community_message_edit
        self.channel_2.set_reaction(message_text_after_edit)
    ../views/chat_view.py:1084: in set_reaction
        self.chat_element_by_text(message).long_press_until_element_is_shown(element)
    ../views/base_element.py:326: in long_press_until_element_is_shown
        element = self.find_element()
    ../views/chat_view.py:134: in find_element
        self.wait_for_visibility_of_element(20)
    ../views/base_element.py:147: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'Message AFTER edit 2 (Edited)')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    Expected to fail tests (1)

    Click to expand

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Curated communities not loading, https://github.com//issues/17852]]

    Passed tests (45)

    Click to expand

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    2. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    3. test_community_undo_delete_message, id: 702869
    Device sessions

    4. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    5. test_community_mute_community_and_channel, id: 703382
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732
    Device sessions

    2. test_group_chat_mute_chat, id: 703495
    Device sessions

    3. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    4. test_group_chat_reactions, id: 703202
    Device sessions

    5. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    6. test_group_chat_offline_pn, id: 702808
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    3. test_community_mentions_push_notification, id: 702786
    Device sessions

    4. test_community_leave, id: 702845
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194
    Device sessions

    2. test_community_one_image_send_reply, id: 702859
    Device sessions

    3. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    4. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    5. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    6. test_community_edit_delete_message_when_offline, id: 704615
    Device sessions

    7. test_community_message_delete, id: 702839
    Device sessions

    8. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    9. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    10. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    4. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    5. test_1_1_chat_edit_message, id: 702855
    Device sessions

    6. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    7. test_1_1_chat_pin_messages, id: 702731
    Device sessions

    8. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestDeepLinksOneDevice:

    1. test_links_open_universal_links_from_chat, id: 704613
    Device sessions

    2. test_links_deep_links, id: 702775
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    3. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_add_contact_field_validation, id: 702777
    Device sessions

    2. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    3. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Copy link
    Member

    @Parveshdhull Parveshdhull left a comment

    Choose a reason for hiding this comment

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

    Thank you for implementing this animation.

    • Avatar is overlapping Name
    • Probably we also want to decrease/animate gap between pins banner and top bar

    Please request design review before merging.

    output-2024-03-16_18.53.41.mp4

    @BalogunofAfrica BalogunofAfrica force-pushed the bug/avatar-alignment branch 2 times, most recently from 1e6c8e4 to 60d178f Compare March 18, 2024 10:50
    :number-of-lines 1}
    display-name]
    [contact-icon contact theme]]
    [:f> f-username
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    Do we still need :f>?

    From ui-guidelines
    :f> not needed anymore, all components are functional by default

    Copy link
    Member

    Choose a reason for hiding this comment

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

    no :f> is not needed anymore

    @@ -133,6 +132,28 @@
    :profile-picture profile-picture
    :size :big}]]))

    (defn f-username
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    Since all components are functional by default, the f- naming convention doesn't make sense

    cc: @flexsurfer

    Copy link
    Member

    Choose a reason for hiding this comment

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

    yes thanks

    @status-im-auto
    Copy link
    Member

    92% of end-end tests have passed

    Total executed tests: 48
    Failed tests: 3
    Expected to fail tests: 1
    Passed tests: 44
    
    IDs of failed tests: 702894,702850,703629 
    
    IDs of expected to fail tests: 703503 
    

    Failed tests (3)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMerged:

    1. test_community_contact_block_unblock_offline, id: 702894

    Device 2: `Text` is `Delivered`
    Device 1: Looking for a message by text: Hurray! unblocked

    critical/chats/test_public_chat_browsing.py:740: in test_community_contact_block_unblock_offline
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     1-1 chat from blocked user is not removed and messages home is not empty!
    



    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_join_when_node_owner_offline, id: 703629

    Device 2: Looking for community: 'open community'
    Device 2: Click until Text by accessibility id: community-description-text will be presented

    critical/chats/test_public_chat_browsing.py:1180: in test_community_join_when_node_owner_offline
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Text "You joined “closed community”" in shown toast element doesn't match expected "You joined “open community”"
    



    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_decline, id: 702850

    Device 2: Find Button by accessibility id: close-activity-center
    Device 2: Tap on found: Button

    activity_center/test_activity_center.py:94: in test_activity_center_contact_request_decline
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Pending contact request is not shown on unread notification element on Activity center!
    



    Device sessions

    Expected to fail tests (1)

    Click to expand

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Curated communities not loading, https://github.com//issues/17852]]

    Passed tests (44)

    Click to expand

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194
    Device sessions

    2. test_community_one_image_send_reply, id: 702859
    Device sessions

    3. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    4. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    5. test_community_edit_delete_message_when_offline, id: 704615
    Device sessions

    6. test_community_message_delete, id: 702839
    Device sessions

    7. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    8. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    9. test_community_message_edit, id: 702843
    Device sessions

    10. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    3. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    2. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    3. test_community_undo_delete_message, id: 702869
    Device sessions

    4. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    5. test_community_mute_community_and_channel, id: 703382
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    3. test_community_mentions_push_notification, id: 702786
    Device sessions

    4. test_community_leave, id: 702845
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732
    Device sessions

    2. test_group_chat_mute_chat, id: 703495
    Device sessions

    3. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    4. test_group_chat_reactions, id: 703202
    Device sessions

    5. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    6. test_group_chat_offline_pn, id: 702808
    Device sessions

    Class TestDeepLinksOneDevice:

    1. test_links_open_universal_links_from_chat, id: 704613
    Device sessions

    2. test_links_deep_links, id: 702775
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_add_contact_field_validation, id: 702777
    Device sessions

    2. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    4. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    5. test_1_1_chat_edit_message, id: 702855
    Device sessions

    6. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    7. test_1_1_chat_pin_messages, id: 702731
    Device sessions

    8. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    @mariia-skrypnyk
    Copy link

    Hi @BalogunofAfrica!

    Thanks for your implementation!
    I also saw avatar overlapping during animation.
    Now
    Screenshot 2024-03-21 at 13 09 51

    Design
    Screenshot 2024-03-21 at 12 37 16

    So will adress it to the design team.

    @mariia-skrypnyk
    Copy link

    @BalogunofAfrica please tag me when I can retest 🙏

    @BalogunofAfrica BalogunofAfrica force-pushed the bug/avatar-alignment branch 2 times, most recently from fa87a5d to c2bc334 Compare March 26, 2024 19:56
    @BalogunofAfrica
    Copy link
    Contributor

    @BalogunofAfrica please tag me when I can retest 🙏

    Hi @mariia-skrypnyk You can re test. Android Jank is related to #19387.

    @BalogunofAfrica
    Copy link
    Contributor

    Hi @Francesca-G, I have addressed all comments save the dot size.

    For that, the identicon and dot are generated as one single image, which is what we can animate to scale.

    We can not animate the dot separately.

    @Francesca-G
    Copy link

    Hi @Francesca-G, I have addressed all comments save the dot size.

    For that, the identicon and dot are generated as one single image, which is what we can animate to scale.

    We can not animate the dot separately.

    can we create a separate issue to find a solution to this? 🙏

    @mohsen-ghafouri
    Copy link
    Contributor

    we already have a similar open issue for indicator size #18257

    @BalogunofAfrica
    Copy link
    Contributor

    BalogunofAfrica commented Mar 27, 2024

    we already have a similar open issue for indicator size #18257

    Thanks @mohsen-ghafouri 🙏

    cc: @Francesca-G

    @BalogunofAfrica
    Copy link
    Contributor

    @mariia-skrypnyk Can this be merged?

    @mariia-skrypnyk
    Copy link

    @BalogunofAfrica yes, please!

    @BalogunofAfrica BalogunofAfrica merged commit 6c07fac into develop Mar 28, 2024
    6 checks passed
    @BalogunofAfrica BalogunofAfrica deleted the bug/avatar-alignment branch March 28, 2024 11:13
    mmilad75 pushed a commit that referenced this pull request Apr 2, 2024
    Co-authored-by: balogunofafrica <balogunakanbi.k@gmail.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    Archived in project
    Archived in project
    Development

    Successfully merging this pull request may close these issues.

    The avatar is on the wrong place in the opened 1-1
    9 participants