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

[16845] Wrong buttons background color on community home screen's page nav #17003

Merged
merged 12 commits into from
Oct 3, 2023

Conversation

ibrkhalil
Copy link
Contributor

@ibrkhalil ibrkhalil commented Aug 13, 2023

fixes #16845

Summary

The state of whether to show the blurred version of the buttons didn't cater for bottom sheet being open (Specifically when it's overlay is visible) And blurring on Android showed in a wrong way because of a limitation/incosistency of blurring between iOS and Android

Figma (State: Light collapsed drawer) iOS Android
Figma (State: Light opened drawer) iOS Android
Figma (State: Dark collapsed drawer) iOS Android
Figma (State: Dark opened drawer) iOS Android

This is not 100% matching figma, But it's as close as possible.
status: ready

@ibrkhalil ibrkhalil requested review from J-Son89 and jo-mut August 13, 2023 08:44
@ibrkhalil ibrkhalil self-assigned this Aug 13, 2023
@status-im-auto
Copy link
Member

status-im-auto commented Aug 13, 2023

Jenkins Builds

Click to see older builds (78)
Commit #️⃣ Finished (UTC) Duration Platform Result
42996a4 #1 2023-08-13 08:48:02 ~3 min tests 📄log
✔️ 42996a4 #1 2023-08-13 08:50:50 ~5 min android-e2e 🤖apk 📲
✔️ 42996a4 #1 2023-08-13 08:50:53 ~5 min android 🤖apk 📲
✔️ 42996a4 #1 2023-08-13 08:52:37 ~7 min ios 📱ipa 📲
eb085d8 #2 2023-08-13 16:37:07 ~2 min tests 📄log
✔️ eb085d8 #2 2023-08-13 16:40:00 ~5 min android-e2e 🤖apk 📲
✔️ eb085d8 #2 2023-08-13 16:40:07 ~5 min android 🤖apk 📲
✔️ eb085d8 #2 2023-08-13 16:41:20 ~6 min ios 📱ipa 📲
cc01cd9 #3 2023-08-15 09:53:53 ~2 min tests 📄log
✔️ cc01cd9 #3 2023-08-15 09:56:41 ~5 min android 🤖apk 📲
✔️ cc01cd9 #3 2023-08-15 09:56:41 ~5 min android-e2e 🤖apk 📲
✔️ cc01cd9 #3 2023-08-15 09:57:42 ~6 min ios 📱ipa 📲
9101cb7 #4 2023-08-16 08:04:26 ~3 min tests 📄log
✔️ 9101cb7 #4 2023-08-16 08:07:29 ~6 min android-e2e 🤖apk 📲
✔️ 9101cb7 #4 2023-08-16 08:07:29 ~6 min android 🤖apk 📲
✔️ 9101cb7 #4 2023-08-16 08:08:34 ~7 min ios 📱ipa 📲
ebca031 #5 2023-08-17 03:50:58 ~2 min tests 📄log
✔️ ebca031 #5 2023-08-17 03:53:51 ~5 min android-e2e 🤖apk 📲
✔️ ebca031 #5 2023-08-17 03:53:59 ~5 min android 🤖apk 📲
✔️ ebca031 #5 2023-08-17 03:57:05 ~8 min ios 📱ipa 📲
72a733d #6 2023-08-19 10:34:40 ~2 min tests 📄log
✔️ 72a733d #6 2023-08-19 10:38:10 ~6 min android-e2e 🤖apk 📲
✔️ 72a733d #6 2023-08-19 10:38:13 ~6 min android 🤖apk 📲
✔️ 72a733d #6 2023-08-19 10:39:16 ~7 min ios 📱ipa 📲
196eaa3 #7 2023-08-26 10:24:24 ~3 min tests 📄log
✔️ 196eaa3 #7 2023-08-26 10:27:42 ~6 min android-e2e 🤖apk 📲
✔️ 196eaa3 #7 2023-08-26 10:27:44 ~6 min android 🤖apk 📲
✔️ 196eaa3 #7 2023-08-26 10:29:26 ~8 min ios 📱ipa 📲
✔️ ce03e18 #9 2023-09-18 08:56:13 ~6 min android-e2e 🤖apk 📲
✔️ ce03e18 #9 2023-09-18 08:56:20 ~6 min ios 📱ipa 📲
✔️ ce03e18 #9 2023-09-18 08:56:23 ~6 min android 🤖apk 📲
✔️ ce03e18 #9 2023-09-18 08:58:30 ~8 min tests 📄log
48b3516 #11 2023-09-18 11:41:13 ~2 min tests 📄log
✔️ 48b3516 #11 2023-09-18 11:44:25 ~5 min android-e2e 🤖apk 📲
✔️ 48b3516 #11 2023-09-18 11:44:34 ~5 min android 🤖apk 📲
✔️ 48b3516 #11 2023-09-18 11:45:22 ~6 min ios 📱ipa 📲
✔️ 26cfd4c #12 2023-09-18 11:50:57 ~5 min android-e2e 🤖apk 📲
✔️ 26cfd4c #12 2023-09-18 11:52:37 ~7 min ios 📱ipa 📲
✔️ 26cfd4c #12 2023-09-18 11:54:51 ~9 min android 🤖apk 📲
✔️ 26cfd4c #12 2023-09-18 11:55:15 ~9 min tests 📄log
✔️ 4d1154f #13 2023-09-19 05:23:58 ~6 min ios 📱ipa 📲
✔️ 4d1154f #13 2023-09-19 05:27:02 ~9 min android-e2e 🤖apk 📲
✔️ 4d1154f #13 2023-09-19 05:27:12 ~9 min android 🤖apk 📲
✔️ 4d1154f #13 2023-09-19 05:27:46 ~10 min tests 📄log
✔️ 6b12ddf #14 2023-09-23 15:46:27 ~6 min ios 📱ipa 📲
✔️ 6b12ddf #14 2023-09-23 15:49:24 ~9 min android-e2e 🤖apk 📲
✔️ 6b12ddf #14 2023-09-23 15:49:39 ~9 min android 🤖apk 📲
✔️ 6b12ddf #14 2023-09-23 15:50:16 ~10 min tests 📄log
✔️ 09752d1 #15 2023-09-26 07:45:00 ~6 min ios 📱ipa 📲
✔️ 09752d1 #15 2023-09-26 07:48:41 ~9 min android 🤖apk 📲
✔️ 09752d1 #15 2023-09-26 07:48:51 ~9 min android-e2e 🤖apk 📲
✔️ 09752d1 #15 2023-09-26 07:49:29 ~10 min tests 📄log
✔️ 0531adb #17 2023-10-01 09:13:12 ~5 min android-e2e 🤖apk 📲
✔️ 0531adb #17 2023-10-01 09:14:09 ~6 min ios 📱ipa 📲
✔️ 0531adb #17 2023-10-01 09:16:09 ~8 min android 🤖apk 📲
✔️ 0531adb #17 2023-10-01 09:16:59 ~9 min tests 📄log
✔️ e31e5ab #18 2023-10-01 15:15:13 ~6 min android-e2e 🤖apk 📲
✔️ e31e5ab #18 2023-10-01 15:15:22 ~6 min ios 📱ipa 📲
✔️ 2a1d7fc #19 2023-10-01 15:21:10 ~5 min android 🤖apk 📲
✔️ 2a1d7fc #19 2023-10-01 15:21:12 ~5 min android-e2e 🤖apk 📲
✔️ 2a1d7fc #19 2023-10-01 15:21:27 ~6 min ios 📱ipa 📲
✔️ 2a1d7fc #19 2023-10-01 15:24:34 ~9 min tests 📄log
4d80851 #21 2023-10-03 05:24:03 ~2 min tests 📄log
✔️ 4d80851 #21 2023-10-03 05:27:03 ~5 min android 🤖apk 📲
✔️ 4d80851 #21 2023-10-03 05:28:18 ~7 min ios 📱ipa 📲
✔️ 4d80851 #21 2023-10-03 05:30:24 ~9 min android-e2e 🤖apk 📲
008c634 #22 2023-10-03 08:31:23 ~2 min tests 📄log
✔️ 008c634 #22 2023-10-03 08:34:58 ~6 min android-e2e 🤖apk 📲
✔️ 008c634 #22 2023-10-03 08:35:02 ~6 min android 🤖apk 📲
✔️ 008c634 #22 2023-10-03 08:35:46 ~7 min ios 📱ipa 📲
75ae50b #23 2023-10-03 13:55:43 ~2 min tests 📄log
✔️ 75ae50b #23 2023-10-03 13:58:41 ~5 min android-e2e 🤖apk 📲
✔️ 75ae50b #23 2023-10-03 13:59:18 ~6 min android 🤖apk 📲
✔️ 75ae50b #23 2023-10-03 14:01:15 ~8 min ios 📱ipa 📲
52578c3 #24 2023-10-03 16:04:06 ~2 min tests 📄log
✔️ 52578c3 #24 2023-10-03 16:07:06 ~5 min android 🤖apk 📲
✔️ 52578c3 #24 2023-10-03 16:07:20 ~5 min android-e2e 🤖apk 📲
✔️ 52578c3 #24 2023-10-03 16:07:48 ~6 min ios 📱ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ dee0dc2 #25 2023-10-03 16:25:36 ~6 min ios 📱ipa 📲
✔️ d5ac41c #26 2023-10-03 16:33:39 ~6 min ios 📱ipa 📲
✔️ d5ac41c #26 2023-10-03 16:33:42 ~6 min android-e2e 🤖apk 📲
✔️ d5ac41c #26 2023-10-03 16:33:45 ~6 min android 🤖apk 📲
✔️ d5ac41c #26 2023-10-03 16:36:43 ~9 min tests 📄log

Copy link
Contributor

@J-Son89 J-Son89 left a comment

Choose a reason for hiding this comment

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

@ibrkhalil did you check with design about this is how it should work? 🤔

Also I noticed in the preview images you added the community being used has no banner image, it's better to avoid testing with this community as banner images are mandatory to make and so it's better to test with a community that has one in place (i.e not generated in mobile)

@ibrkhalil
Copy link
Contributor Author

@ibrkhalil did you check with design about this is how it should work? thinking

Also I noticed in the preview images you added the community being used has no banner image, it's better to avoid testing with this community as banner images are mandatory to make and so it's better to test with a community that has one in place (i.e not generated in mobile)

Let me test it on a community with a banner image
I didn't check with design about it as it was just to fix the blurring of the buttons, But I agree it's better to run this by them.

@J-Son89
Copy link
Contributor

J-Son89 commented Aug 14, 2023

@ibrkhalil did you check with design about this is how it should work? thinking
Also I noticed in the preview images you added the community being used has no banner image, it's better to avoid testing with this community as banner images are mandatory to make and so it's better to test with a community that has one in place (i.e not generated in mobile)

Let me test it on a community with a banner image I didn't check with design about it as it was just to fix the blurring of the buttons, But I agree it's better to run this by them.

yep because in the designs if the configuration of buttons does not change based on bottom sheet opening then the issue is not related to this and it's probably just how the buttons are swapping based on scroll height of the page.

@VolodLytvynenko VolodLytvynenko self-assigned this Aug 15, 2023
@status-im-auto
Copy link
Member

86% of end-end tests have passed

Total executed tests: 43
Failed tests: 6
Passed tests: 37
IDs of failed tests: 702732,703133,702948,702783,702786,702731 

Failed tests (6)

Click to expand
  • Rerun failed tests

  • Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Restoring communities issue: 16787; restoring contacts issue: 15500]]

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_hashtag_links_to_community_channels, id: 702948

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Can't invite user to closed community https://github.com//issues/16968]]

    2. test_community_mentions_push_notification, id: 702786

    # STEP: Admin gets push notification with the mention and tap it
    Device 1: Getting PN by 'user_1'

    critical/test_public_chat_browsing.py:1082: in test_community_mentions_push_notification
        self.errors.verify_no_errors()
    base_test_case.py:177: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Push notification with the mention was not received by admin
    



    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

    Device 2: Find Text by xpath: //*[starts-with(@text,'test message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='message-status']/android.widget.TextView
    Device 2: Text is Delivered

    critical/chats/test_1_1_public_chats.py:1379: in test_1_1_chat_is_shown_message_sent_delivered_from_offline
        self.errors.verify_no_errors()
    base_test_case.py:177: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message was not delivered after resending from offline
    



    Device sessions

    2. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    Passed tests (37)

    Click to expand

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_mute_chat, id: 703495
    Device sessions

    2. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    3. test_group_chat_reactions, id: 703202
    Device sessions

    4. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    5. test_group_chat_offline_pn, id: 702808
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_several_images_send_reply, id: 703194
    Device sessions

    3. test_community_one_image_send_reply, id: 702859
    Device sessions

    4. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    5. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    6. test_community_contact_block_unblock_offline, id: 702894
    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_message_edit, id: 702843
    Device sessions

    11. test_community_leave, id: 702845
    Device sessions

    12. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    2. test_community_discovery, id: 703503
    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 TestActivityMultipleDevicePR:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_navigation_jump_to, id: 702936
    Device sessions

    3. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    4. test_activity_center_admin_notification_accept_swipe, id: 702958
    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 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_delete_via_long_press_relogin, id: 702784
    Device sessions

    4. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    5. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    6. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    7. test_1_1_chat_edit_message, id: 702855
    Device sessions

    8. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    9. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    @VolodLytvynenko
    Copy link
    Contributor

    VolodLytvynenko commented Aug 15, 2023

    Hi @ibrkhalil thank you for PR. Here is a found issue:

    ISSUE 1: Background is slightly visible for buttons when overlay layer is applied

    Steps:

    1. Set banner for community
    2. Open overlay
    3. Check the community buttons

    Actual result:

    Background for community buttons is slightly visible
    https://github.com/status-im/status-mobile/assets/52490791/927c6b50-613f-49ae-a813-2ae66a9cf2a4

    image

    Expected result:

    The background behind the community buttons should have a lighter appearance, in accordance with the design.

    image
    https://www.figma.com/file/h9wo4GipgZURbqqr1vShFN/Communities-for-Mobile?type=design&node-id=1506-122194&mode=design&t=G30NMgsqrioQQIy2-0

    Device:

    • real device: Pixel 7a, Android 13
      • real device: iPhone 11 pro max, ios 16

    @ibrkhalil
    Copy link
    Contributor Author

    Blocked by: #17017

    @ibrkhalil
    Copy link
    Contributor Author

    @VolodLytvynenko Might be fixed in #17031
    Let's check if it's fixed there and if so, We can close this issue/PR as resolved.

    @ibrkhalil
    Copy link
    Contributor Author

    @VolodLytvynenko Might be fixed in #17031 Let's check if it's fixed there and if so, We can close this issue/PR as resolved.

    PR is merged, Kindly take a look @VolodLytvynenko so that we can close this issue.

    @VolodLytvynenko
    Copy link
    Contributor

    @VolodLytvynenko Might be fixed in #17031 Let's check if it's fixed there and if so, We can close this issue/PR as resolved.

    PR is merged, Kindly take a look @VolodLytvynenko so that we can close this issue.

    Thank you. I'll keep you updated if this issue persists. Otherwise, I will close this PR

    @VolodLytvynenko
    Copy link
    Contributor

    hi @ibrkhalil the issue 1 is resolved.
    One more issue is introduced

    ISSUE 2: [Android] Buttons are not blurred when overlay layer is applied

    Steps

    1. Open a community with a banner.
    2. Open the overlay layer.

    Actual result:

    The buttons in the community are not blurred when the overlay layer is applied.
    image

    Expected result:

    The buttons should be blurred in accordance with the design when the overlay layer is applied.
    https://www.figma.com/file/h9wo4GipgZURbqqr1vShFN/Communities-for-Mobile?type=design&node-id=1506-122194&mode=design&t=G30NMgsqrioQQIy2-0

    Device:

    • real device: Pixel 7a, Android 13

    @VolodLytvynenko
    Copy link
    Contributor

    @ibrkhalil Could you please check this new issue if it can be addressed within the scope of this PR? Let me know if it would be better to address it separately. I can create a separate follow-up for it if needed. Thank you

    ISSUE 3: The [x] button is not blurred regardless the overlay layer is applied or not

    Steps

    1. Open a community with a banner.
    2. Check the [x] button
    3. Open the overlay layer
    4. Check the [x] button

    Actual result:

    The [x] button is not blurred regardless of whether the overlay layer is applied or not.

    image

    Expected result:

    The [x] button should be blurred in accordance with the design when the overlay layer is applied or not.

    @ibrkhalil
    Copy link
    Contributor Author

    ibrkhalil commented Sep 18, 2023

    I rewrote the solution, Re-requesting reviews

    @@ -20,7 +20,7 @@
    :blur :grey})

    (defn- page-nav-base
    [{:keys [margin-top background on-press accessibility-label icon-name]
    [{:keys [margin-top background on-press accessibility-label icon-name overlay-shown?]
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    seems like a good solution, perhaps it needs a commit to explain why it is needed? 🤔

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    You mean in the commit message or a comment?

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Just in case it's a comment, I'll do it now

    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    also a nit: perhaps behind-overlay? is a clearer name for this prop? 🤨

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Renamed

    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    Yep I meant in a comment

    @@ -48,7 +50,9 @@
    :icon-only? icon-name
    :size 32
    :accessible true
    :background (when (button-properties/backgrounds background) background))
    :background (if overlay-shown?
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    perhaps put this logic into a simple helper function and leave a comment by that function explaining it's purpose there?

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    We just check if the background is within a set of button types, Here's the definition of backgrounds.

    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    I more so meant this because of the overlay part. It's somewhat of a design hack and so isolating to its own function and leaving the comment there hopefully makes the reason for this more apparent/easy to see

    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 think it's better to have a comment explaining it than having a function for it.

    Copy link
    Contributor

    @ilmotta ilmotta left a comment

    Choose a reason for hiding this comment

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

    Code wise, I don't have much to add. Thanks @ibrkhalil, I think now it's a matter of getting the design approved and well tested for regressions.

    src/quo2/components/navigation/page_nav/view.cljs Outdated Show resolved Hide resolved
    src/status_im2/contexts/communities/overview/view.cljs Outdated Show resolved Hide resolved
    @ibrkhalil
    Copy link
    Contributor Author

    @VolodLytvynenko Can you please take a look?
    I got an OK from design.

    @status-im-auto
    Copy link
    Member

    58% of end-end tests have passed

    Total executed tests: 43
    Failed tests: 18
    Passed tests: 25
    
    IDs of failed tests: 702840,702894,703086,702855,702730,702786,702731,702844,702733,702808,702838,702783,702843,702782,703391,702732,703503,703495 
    

    Failed tests (18)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_mentions_push_notification, id: 702786

    # STEP: Invited member gets push notification with the mention and tap it
    Device 2: Getting PN by 'user_2'

    critical/test_public_chat_browsing.py:1166: in test_community_mentions_push_notification
        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))]))
     Push notification with the mention was not received by admin
    E    Can not edit a message with a mention
    E    Push notification with the mention was not received by the invited member 
    

    [[Issue with username in PN, https://github.com//issues/17396]]

    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_offline_pn, id: 702808

    Device 3: Looking for a message by text: message from old member
    Device 3: Looking for a message by text: message from new member

    critical/chats/test_group_chat.py:443: in test_group_chat_offline_pn
        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))]))
     Messages PN was not fetched from offline 
    

    [[Data delivery issue]]

    Device sessions

    2. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    3. test_group_chat_mute_chat, id: 703495

    Device 2: Click until ChatMessageInput by accessibility id: chat-message-input will be presented
    Device 2: Looking for a message by text: Chat is unmuted now

    critical/chats/test_group_chat.py:607: in test_group_chat_mute_chat
        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))]))
     New messages counter near chats tab button is 1 after unmute, but should be 2
    



    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

    Device 2: Find Text by xpath: //*[starts-with(@text,'test message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='message-status']/android.widget.TextView
    Device 2: Text is Sent

    critical/chats/test_1_1_public_chats.py:1417: in test_1_1_chat_is_shown_message_sent_delivered_from_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))]))
     Message was not delivered after resending from offline
    E    Message status was not changed to Delivered, it's Sent after back up online! 
    

    [[Data delivery issue]]

    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_edit_message, id: 702855

    Device 2: Tap on found: SendMessageButton
    Device 1: Looking for a message by text: AFTER (Edited)

    critical/chats/test_1_1_public_chats.py:1206: in test_1_1_chat_edit_message
        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))]))
     No edited message in 1-1 chat displayed
    



    Device sessions

    2. test_1_1_chat_message_reaction, id: 702730

    Device 1: Find EmojisNumber by xpath: //*[starts-with(@text,'Message sender')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']/../..//*[@content-desc='emoji-reaction-2']/android.widget.TextView
    Device 1: Find EmojisNumber by xpath: //*[starts-with(@text,'Message sender')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']/../..//*[@content-desc='emoji-reaction-2']/android.widget.TextView

    critical/chats/test_1_1_public_chats.py:887: in test_1_1_chat_message_reaction
        message_sender.emojis_below_message(emoji="thumbs-up").wait_for_element_text(1, 90)
    ../views/base_element.py:181: in wait_for_element_text
        self.driver.fail(message if message else "`%s` is not equal to expected `%s` in %s sec" % (
    base_test_case.py:179: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
     Device 1: `2` is not equal to expected `1` in 90 sec
    



    Device sessions

    3. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    4. test_1_1_chat_text_message_delete_push_disappear, id: 702733

    Device 2: Find Text by xpath: //*[starts-with(@text,'smth I should edit')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='message-status']/android.widget.TextView
    Device 2: Text is Sent

    critical/chats/test_1_1_public_chats.py:1280: in test_1_1_chat_text_message_delete_push_disappear
        self.chat_2.chat_element_by_text(message_after_edit_1_1).wait_for_status_to_be("Delivered")
    ../views/chat_view.py:235: in wait_for_status_to_be
        raise TimeoutException("Message status was not changed to %s, it's %s" % (expected_status, current_status))
     Message status was not changed to Delivered, it's Sent
    



    Device sessions

    5. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782

    Device 1: Wait for text element EmojisNumber to be equal to 1
    Device 1: Find EmojisNumber by xpath: //*[starts-with(@text,'Test with link: https://status.im/ here should be nothing unusual.')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']/../..//*[@content-desc='emoji-reaction-2']/android.widget.TextView

    critical/chats/test_1_1_public_chats.py:973: in test_1_1_chat_emoji_send_reply_and_open_link
        self.chat_1.chat_element_by_text(url_message).emojis_below_message().wait_for_element_text(1)
    ../views/base_element.py:172: in wait_for_element_text
        element_text = self.find_element().text.strip()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: EmojisNumber by xpath: `//*[starts-with(@text,'Test with link: https://status.im/ here should be nothing unusual.')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']/../..//*[@content-desc='emoji-reaction-2']/android.widget.TextView` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    Device sessions

    6. test_1_1_chat_send_image_save_and_share, id: 703391

    Device 2: Looking for a message by text: test image
    Device 2: Looking for a message by text: test image

    critical/chats/test_1_1_public_chats.py:1222: in test_1_1_chat_send_image_save_and_share
        self.chat_2.chat_element_by_text(image_description).wait_for_visibility_of_element(30)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'test image')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Device 1: Tap on found: Button
    Device 1: Swiping up

    critical/test_public_chat_browsing.py:359: in test_community_discovery
        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))]))
     Element show-request-to-join-screen-button is different from expected template discovery_join_button.png! 
    

    [[Request to Join Community button color issue: https://github.com//issues/17295]]

    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_emoji_send_copy_paste_reply, id: 702840

    Device 2: Tap on found: SendMessageButton
    Device 1: Looking for a message by text: test message

    critical/test_public_chat_browsing.py:802: in test_community_emoji_send_copy_paste_reply
        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))]))
     Reply message was not received by the sender
    



    Device sessions

    2. test_community_contact_block_unblock_offline, id: 702894

    Device 1: Click until ChatMessageInput by accessibility id: chat-message-input will be presented
    Device 1: Looking for a message by text: Hurray! unblocked

    critical/test_public_chat_browsing.py:984: 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))]))
     Hurray! unblocked was not received in public chat after user unblock! 
    

    [[Message can be missed after unblock: https://github.com//issues/16873]]

    Device sessions

    3. test_community_mark_all_messages_as_read, id: 703086

    Device 1: Tap on found: Button
    Device 1: Click until Text by accessibility id: community-description-text will be presented

    critical/test_public_chat_browsing.py:1045: in test_community_mark_all_messages_as_read
        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))]))
     New messages counter is not shown in home > Community element
    E    New messages counter is not shown in community channel element
    



    Device sessions

    4. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844

    Device 2: Wait for text element EmojisNumber to be equal to 1
    Device 2: Find EmojisNumber by xpath: //*[starts-with(@text,'https://m.youtube.com/watch?v=Je7yErjEVt4')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']/../..//*[@content-desc='emoji-reaction-4']/android.widget.TextView

    critical/test_public_chat_browsing.py:884: in test_community_links_with_previews_github_youtube_twitter_gif_send_enable
        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))]))
     Link message reaction is not shown for the sender
    



    Device sessions

    5. test_community_message_send_check_timestamps_sender_username, id: 702838

    Device 2: Verifying that 'new message' is under today
    Device 2: Looking for a message by text: new message

    critical/test_public_chat_browsing.py:614: in test_community_message_send_check_timestamps_sender_username
        self.channel_2.verify_message_is_under_today_text(new_message, self.errors, 60)
    ../views/chat_view.py:985: in verify_message_is_under_today_text
        message_element.wait_for_visibility_of_element(timeout)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'new message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    6. test_community_message_edit, id: 702843

    Device 1: Wait for text element EmojisNumber to be equal to 1
    Device 1: Find EmojisNumber by xpath: //*[starts-with(@text,'Message AFTER edit 2 (Edited)')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']/../..//*[@content-desc='emoji-reaction-2']/android.widget.TextView

    critical/test_public_chat_browsing.py:633: in test_community_message_edit
        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))]))
     Message reaction is not shown for the sender
    



    Device sessions

    Passed tests (25)

    Click to expand

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_leave, id: 702845
    Device sessions

    2. test_community_markdown_support, id: 702809
    Device sessions

    3. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_reactions, id: 703202
    Device sessions

    2. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    3. test_group_chat_send_image_save_and_share, id: 703297
    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 TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    2. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    2. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    2. test_activity_center_mentions, id: 702957
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    2. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    3. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    4. test_community_undo_delete_message, id: 702869
    Device sessions

    5. test_community_mute_community_and_channel, id: 703382
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    2. test_navigation_jump_to, id: 702936
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_unread_messages_badge, id: 702841
    Device sessions

    2. test_community_message_delete, id: 702839
    Device sessions

    3. test_community_one_image_send_reply, id: 702859
    Device sessions

    4. test_community_several_images_send_reply, id: 703194
    Device sessions

    @VolodLytvynenko
    Copy link
    Contributor

    @ibrkhalil Thank you for PR. No issues from my side. PR is ready to be merged

    @ibrkhalil ibrkhalil merged commit 26a7027 into develop Oct 3, 2023
    2 checks passed
    @ibrkhalil ibrkhalil deleted the 16845 branch October 3, 2023 16:37
    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.

    Wrong buttons' background color on community home screen when overlay layer is applied (Android)
    8 participants