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

Implement animations for discover communities screen #17586

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

Parveshdhull
Copy link
Member

@Parveshdhull Parveshdhull commented Oct 9, 2023

fixes #16115
fixes #17621

Summary

PR implements animations for the discover communities screen and allows the opening of the community from this screen without needing it to be closed.

Note:- Currently, we are not animating closing of discover communities screen on press of jump-to button, it will be implemented separately.

Testing

Please also test #16438 (comment)

status: ready

@Parveshdhull Parveshdhull self-assigned this Oct 9, 2023
@status-im-auto
Copy link
Member

status-im-auto commented Oct 9, 2023

Jenkins Builds

Click to see older builds (28)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 0f8bf3c #1 2023-10-09 08:53:39 ~5 min android-e2e 🤖apk 📲
✔️ 0f8bf3c #1 2023-10-09 08:54:40 ~6 min ios 📱ipa 📲
✔️ 0f8bf3c #1 2023-10-09 08:56:46 ~9 min android 🤖apk 📲
✔️ 0f8bf3c #1 2023-10-09 08:57:34 ~9 min tests 📄log
✔️ b36d4dc #2 2023-10-09 10:43:20 ~6 min android 🤖apk 📲
✔️ b36d4dc #2 2023-10-09 10:43:28 ~6 min android-e2e 🤖apk 📲
✔️ b36d4dc #2 2023-10-09 10:43:31 ~6 min ios 📱ipa 📲
✔️ b36d4dc #2 2023-10-09 10:46:04 ~9 min tests 📄log
✔️ 6dedd9e #3 2023-10-12 09:41:05 ~6 min ios 📱ipa 📲
✔️ 6dedd9e #3 2023-10-12 09:44:12 ~9 min android-e2e 🤖apk 📲
✔️ 6dedd9e #3 2023-10-12 09:44:29 ~9 min android 🤖apk 📲
✔️ 6dedd9e #3 2023-10-12 09:45:31 ~10 min tests 📄log
✔️ 5138bdb #4 2023-10-12 10:50:56 ~6 min android-e2e 🤖apk 📲
✔️ 5138bdb #4 2023-10-12 10:51:02 ~6 min android 🤖apk 📲
✔️ 5138bdb #4 2023-10-12 10:55:57 ~11 min ios 📱ipa 📲
✔️ f6d8ac3 #5 2023-10-16 10:13:24 ~6 min android-e2e 🤖apk 📲
✔️ f6d8ac3 #5 2023-10-16 10:16:33 ~9 min ios 📱ipa 📲
✔️ f6d8ac3 #5 2023-10-16 10:18:47 ~12 min android 🤖apk 📲
✔️ f6d8ac3 #5 2023-10-16 10:25:19 ~18 min tests 📄log
✔️ 2049011 #6 2023-10-16 13:21:39 ~6 min ios 📱ipa 📲
✔️ 2049011 #6 2023-10-16 13:24:40 ~9 min android-e2e 🤖apk 📲
✔️ 2049011 #6 2023-10-16 13:24:55 ~9 min android 🤖apk 📲
✔️ 2049011 #6 2023-10-16 13:26:11 ~10 min tests 📄log
✔️ e7049c7 #7 2023-10-17 05:41:21 ~5 min android-e2e 🤖apk 📲
✔️ 57f2349 #8 2023-10-17 05:47:42 ~5 min android-e2e 🤖apk 📲
✔️ 57f2349 #8 2023-10-17 05:48:06 ~6 min ios 📱ipa 📲
✔️ 57f2349 #8 2023-10-17 05:49:54 ~7 min android 🤖apk 📲
✔️ 57f2349 #8 2023-10-17 05:51:35 ~9 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 975e75f #9 2023-10-17 16:12:40 ~5 min android-e2e 🤖apk 📲
✔️ 975e75f #9 2023-10-17 16:13:01 ~6 min android 🤖apk 📲
✔️ 975e75f #9 2023-10-17 16:13:43 ~6 min ios 📱ipa 📲
✔️ 975e75f #9 2023-10-17 16:16:16 ~9 min tests 📄log
✔️ 6acae42 #10 2023-10-17 16:25:51 ~6 min ios 📱ipa 📲
✔️ 6acae42 #10 2023-10-17 16:26:10 ~6 min android-e2e 🤖apk 📲
✔️ 6acae42 #10 2023-10-17 16:26:15 ~6 min android 🤖apk 📲
✔️ 6acae42 #10 2023-10-17 16:28:50 ~9 min tests 📄log

@@ -52,18 +52,21 @@
(def ^:const communities-discover 9)

;; Floating Screens
Copy link
Contributor

@J-Son89 J-Son89 Oct 9, 2023

Choose a reason for hiding this comment

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

not for this pr, but it feels to me like this sort of information should be defined in one place, e.g navigations.screens and we have a mechanism to pass this down to the relevant places of the app.
right now it feels like we have two navigation systems, the main one and the jump to navigation.
Is this the approach we want to take or would it suit better to try to keep on navigation system?
cc @smohamedjavid, @briansztamfater

Copy link
Member Author

@Parveshdhull Parveshdhull Oct 12, 2023

Choose a reason for hiding this comment

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

hi @J-Son89,

navigation.screens is parent ns which holds all the screens. If we use/import this namespace in another file like here it will create cyclic dependency.

Is this the approach we want to take or would it suit better to try to keep on navigation system?

By navigation system you mean RNN?
RNN is not customizable enough to allow us create UI/animations as per design teams requirment.

Copy link
Contributor

@J-Son89 J-Son89 Oct 16, 2023

Choose a reason for hiding this comment

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

hmm, it is possible to add custom transition animations with the RNN library, as @briansztamfater has done this on other pages. see the onboarding transitions. Although I am not sure whether that is possible here and not necessarily talking about that.

By navigation system I am referring to everything related to navigation in our codebase. Not specifically about the tooling used, RNN etc.

In particular I have some questions about the code structure we are taking here.
We have navigations/screens which is the core place to store information about screens and then we have this shell information about floating screens (among other info)
imo it is worth considering that we have all navigations pieces in one location, and can create some mechanism to define this information in one place and retrieve it in sub-mechanisms of the application code, such as the shell navigation.

Copy link
Contributor

@siddarthkay siddarthkay left a comment

Choose a reason for hiding this comment

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

LGTM

@status-im-auto
Copy link
Member

72% of end-end tests have passed

Total executed tests: 43
Failed tests: 12
Passed tests: 31
IDs of failed tests: 702732,703133,703495,702783,702742,703503,702869,702786,702846,702731,702808,703382 

Failed tests (12)

Click to expand
  • Rerun failed tests

  • Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732
    Test is not run, e2e blocker  
    

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

    2. 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:473: 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

    3. 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:309: 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

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133

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

    critical/chats/test_public_chat_browsing.py:174: in test_restore_multiaccount_with_waku_backup_remove_switch
        profile.logout()
    ../views/profile_view.py:463: in logout
        self.logout_button.click()
    ../views/profile_view.py:26: in click
        self.scroll_to_element().click()
    ../views/base_element.py:196: in scroll_to_element
        raise NoSuchElementException(
     Device 1: LogoutButton by accessibility id: `log-out-button` 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

    2. test_community_copy_and_paste_message_in_chat_input, id: 702742

    Device 1: ChatMessageInput element not found
    Device 1: Sending message 'mmmeowesage_text'

    critical/chats/test_public_chat_browsing.py:91: in test_community_copy_and_paste_message_in_chat_input
        self.channel.send_message(message)
    ../views/chat_view.py:995: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:121: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    3. test_community_discovery, id: 703503

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

    critical/chats/test_public_chat_browsing.py:68: 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))]))
     'Community for Status CCs' text is not shown for (old) Status CCs!
    E    'Ethereum' text is not shown for (old) Status CCs!
    



    Device sessions

    4. test_community_undo_delete_message, id: 702869

    Device 1: ChatMessageInput element not found
    Device 1: Sending message 'message to delete and undo'

    critical/chats/test_public_chat_browsing.py:106: in test_community_undo_delete_message
        self.channel.send_message(message_to_delete)
    ../views/chat_view.py:995: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:121: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    5. test_community_navigate_to_channel_when_relaunch, id: 702846

    Device 1: ChatMessageInput element not found
    Device 1: Sending message 'some_text'

    critical/chats/test_public_chat_browsing.py:77: in test_community_navigate_to_channel_when_relaunch
        self.channel.send_message(text_message)
    ../views/chat_view.py:995: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:121: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    6. test_community_mute_community_and_channel, id: 703382

    Device 1: Long press on ChatElement
    Device 1: Find MuteButton by accessibility id: mute-community

    critical/chats/test_public_chat_browsing.py:121: in test_community_mute_community_and_channel
        self.home.mute_chat_long_press(chat_name=self.community_name, mute_period="mute-for-1-hour", community=True)
    ../views/home_view.py:533: in mute_chat_long_press
        self.mute_community_button.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: MuteButton by accessibility id: `mute-community` 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

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_mentions_push_notification, id: 702786

    Device 2: Getting PN by 'user_2'
    Device 2: Looking for a message by text: user_2

    critical/chats/test_public_chat_browsing.py:874: 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))]))
     Can not edit a message with a mention
    



    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

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

    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:601: 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 status was not changed to Delivered, it's Sent after back up online! 
    

    [[Data delivery issue]]

    Device sessions

    Passed tests (31)

    Click to expand

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    2. test_group_chat_reactions, id: 703202
    Device sessions

    3. test_group_chat_join_send_text_messages_push, id: 702807
    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 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_leave, id: 702845
    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_message_reaction, id: 702730
    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 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_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_mute_chat, id: 703496
    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

    @pavloburykh pavloburykh self-assigned this Oct 16, 2023
    @Parveshdhull Parveshdhull force-pushed the feat/discover-community-animation branch from 5138bdb to f6d8ac3 Compare October 16, 2023 10:06
    @status-im-auto
    Copy link
    Member

    70% of end-end tests have passed

    Total executed tests: 43
    Failed tests: 13
    Passed tests: 30
    
    IDs of failed tests: 702786,702731,702742,702808,702813,702846,703133,702869,702783,703382,702732,703503,703495 
    

    Failed tests (13)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityOneDeviceMerged:

    1. test_community_copy_and_paste_message_in_chat_input, id: 702742

    Device 1: ChatMessageInput element not found
    Device 1: Sending message 'mmmeowesage_text'

    critical/chats/test_public_chat_browsing.py:91: in test_community_copy_and_paste_message_in_chat_input
        self.channel.send_message(message)
    ../views/chat_view.py:995: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:121: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    2. test_community_navigate_to_channel_when_relaunch, id: 702846

    Device 1: ChatMessageInput element not found
    Device 1: Sending message 'some_text'

    critical/chats/test_public_chat_browsing.py:77: in test_community_navigate_to_channel_when_relaunch
        self.channel.send_message(text_message)
    ../views/chat_view.py:995: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:121: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    3. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133

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

    critical/chats/test_public_chat_browsing.py:174: in test_restore_multiaccount_with_waku_backup_remove_switch
        profile.logout()
    ../views/profile_view.py:463: in logout
        self.logout_button.click()
    ../views/profile_view.py:26: in click
        self.scroll_to_element().click()
    ../views/base_element.py:196: in scroll_to_element
        raise NoSuchElementException(
     Device 1: LogoutButton by accessibility id: `log-out-button` 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

    4. test_community_undo_delete_message, id: 702869

    Device 1: ChatMessageInput element not found
    Device 1: Sending message 'message to delete and undo'

    critical/chats/test_public_chat_browsing.py:106: in test_community_undo_delete_message
        self.channel.send_message(message_to_delete)
    ../views/chat_view.py:995: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:121: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    5. test_community_mute_community_and_channel, id: 703382

    Device 1: Long press on ChatElement
    Device 1: Find MuteButton by accessibility id: mute-community

    critical/chats/test_public_chat_browsing.py:121: in test_community_mute_community_and_channel
        self.home.mute_chat_long_press(chat_name=self.community_name, mute_period="mute-for-1-hour", community=True)
    ../views/home_view.py:533: in mute_chat_long_press
        self.mute_community_button.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: MuteButton by accessibility id: `mute-community` 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_community_discovery, id: 703503

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

    critical/chats/test_public_chat_browsing.py:68: 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))]))
     'Community for Status CCs' text is not shown for (old) Status CCs!
    



    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_mentions_push_notification, id: 702786

    Device 2: Getting PN by 'user_2'
    Device 2: Looking for a message by text: user_2

    critical/chats/test_public_chat_browsing.py:874: 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))]))
     Can not edit a message with a mention
    



    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:601: 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 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_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

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

    2. test_1_1_chat_push_emoji, id: 702813

    Device 1: Tap on found: Button
    # STEP: Check Device 1 is actually on chat

    critical/chats/test_1_1_public_chats.py:357: in test_1_1_chat_push_emoji
        self.device_1.driver.fail("Failed to open chat view after tap on PN")
    base_test_case.py:179: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
     Device 1: Failed to open chat view after tap on PN
    



    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:309: 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:473: 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

    Passed tests (30)

    Click to expand

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    2. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    3. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    4. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    5. test_community_unread_messages_badge, id: 702841
    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_one_image_send_reply, id: 702859
    Device sessions

    9. test_community_message_edit, id: 702843
    Device sessions

    10. test_community_several_images_send_reply, id: 703194
    Device sessions

    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 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 TestActivityMultipleDevicePRTwo:

    1. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    2. test_activity_center_mentions, id: 702957
    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 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 TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_edit_message, id: 702855
    Device sessions

    2. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    3. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    4. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    5. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    6. test_1_1_chat_send_image_save_and_share, id: 703391
    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

    @pavloburykh
    Copy link
    Contributor

    @Parveshdhull thank you for the PR!

    Could you please clarify what has changed in closing animation of Discover community screen?

    I have compared PR and nightly builds and not able to see the difference.

    Below is video comparing PR and nightly builds

    telegram-cloud-document-2-5289565096211658295.mp4

    @pavloburykh
    Copy link
    Contributor

    ISSUE 1 User is still being navigated to Community Home screen when closing community if it has been opened from Shell

    Steps:

    1. Open Discover community screen
    2. Open community
    3. Tap jump to navigate to Shell screen
    4. Tap on community card to go back to community screen
    5. Tap close button
    6. See if user is navigated to Discover community home screen

    Actual result: user is navigated to Communities home screen instead of Discover community home screen

    telegram-cloud-document-2-5289565096211658312.mp4

    Expected result: user is navigated to Discover community home screen

    @pavloburykh
    Copy link
    Contributor

    ISSUE 2 Jump-to button overlays community card on Discover community screen (Android)

    Reproducing on Samsung Galaxy A52, Android 12

    Steps:

    1. Navigate to Discover community screen
    2. Pay attention at jump-to button location

    Actual result: Jump-to button overlays community card . At the same time community list is not scrollable because there are only few community cards in the list.

    photo_2023-10-16 16 00 44

    telegram-cloud-document-2-5289565096211658344.mp4

    Expected result: not sure what is expected result. Maybe user should be able to scroll the list even if there are only few cards. Otherwise jump to will overlay the card and there is nothing user can do with that.

    @churik
    Copy link
    Member

    churik commented Oct 16, 2023

    @Parveshdhull fixed the failed group, thank you for taking into account automation!
    Please, mind my commit while squashing.

    @Parveshdhull
    Copy link
    Member Author

    Parveshdhull commented Oct 17, 2023

    hi Pavlo,
    Thank you very much for testing the PR and finding the issues.

    Issue 2 should be fixed now.
    I noticed that the jump-to button also overlaps items in the chats & communities' home screens. Don't know if it's logged somewhere, but fixed the overlapping issue in these screens too.

    Issue 1 - I confirmed with the design team and yes communities discover screen also should be opened in the background when opening the community from the jump-to card. I will log this with the animation issue and will implement it separately.

    Could you please clarify what has changed in closing animation of Discover community screen?

    Please check the discover communities opening/closing animations in the issue #17621. Not sure if the video is old and animations are already fixed in the develop. If this is the case please ignore the issue #16115, and only test #17621 as PR implements this animation also for shell navigation.

    @Parveshdhull Parveshdhull force-pushed the feat/discover-community-animation branch 2 times, most recently from e7049c7 to 57f2349 Compare October 17, 2023 05:41
    @status-im-auto
    Copy link
    Member

    84% of end-end tests have passed

    Total executed tests: 43
    Failed tests: 7
    Passed tests: 36
    
    IDs of failed tests: 702733,702732,703495,702948,702786,702731,702808 
    

    Failed tests (7)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_hashtag_links_to_community_channels, id: 702948

    # STEP: Device 1 sends a message with hashtag in the dogs channel
    Device 1: Sending message '#cats'

    critical/chats/test_public_chat_browsing.py:984: in test_community_hashtag_links_to_community_channels
        self.channel_1.send_message(message_with_hashtag)
    ../views/chat_view.py:995: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:121: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element; 
     RemoteDisconnected
    



    Device sessions

    2. test_community_mentions_push_notification, id: 702786

    Device 2: Getting PN by 'user_2'
    Device 2: Looking for a message by text: user_2

    critical/chats/test_public_chat_browsing.py:874: 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))]))
     Can not edit a message with a mention
    



    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_text_message_delete_push_disappear, id: 702733

    Device 1: Could not reach home view by pressing system back button
    # STEP: Send one more message and check that PN will be deleted with message deletion

    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:703: in urlopen
        httplib_response = self._make_request(
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:449: in _make_request
        six.raise_from(e, None)
    <string>:3: in raise_from
        ???
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:444: in _make_request
        httplib_response = conn.getresponse()
    /usr/lib/python3.10/http/client.py:1374: in getresponse
        response.begin()
    /usr/lib/python3.10/http/client.py:318: in begin
        version, status, reason = self._read_status()
    /usr/lib/python3.10/http/client.py:287: in _read_status
        raise RemoteDisconnected("Remote end closed connection without"
    E   http.client.RemoteDisconnected: Remote end closed connection without response
    
    During handling of the above exception, another exception occurred:
    critical/chats/test_1_1_public_chats.py:497: in test_1_1_chat_text_message_delete_push_disappear
        self.device_2.just_fyi("Send one more message and check that PN will be deleted with message deletion")
    ../views/base_view.py:382: in just_fyi
        self.driver.execute_script("sauce:context=STEP: %s" % some_str)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:405: in execute_script
        return self.execute(command, {"script": script, "args": converted_args})["value"]
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:343: in execute
        response = self.command_executor.execute(driver_command, params)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py:291: in execute
        return self._request(command_info[0], url, body=data)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py:312: in _request
        response = self._conn.request(method, url, body=body, headers=headers)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/request.py:78: in request
        return self.request_encode_body(
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/request.py:170: in request_encode_body
        return self.urlopen(method, url, **extra_kw)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/poolmanager.py:376: in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:787: in urlopen
        retries = retries.increment(
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/util/retry.py:550: in increment
        raise six.reraise(type(error), error, _stacktrace)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/packages/six.py:769: in reraise
        raise value.with_traceback(tb)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:703: in urlopen
        httplib_response = self._make_request(
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:449: in _make_request
        six.raise_from(e, None)
    <string>:3: in raise_from
        ???
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:444: in _make_request
        httplib_response = conn.getresponse()
    /usr/lib/python3.10/http/client.py:1374: in getresponse
        response.begin()
    /usr/lib/python3.10/http/client.py:318: in begin
        version, status, reason = self._read_status()
    /usr/lib/python3.10/http/client.py:287: in _read_status
        raise RemoteDisconnected("Remote end closed connection without"
     ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
    



    Device sessions

    2. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

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

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

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

    2. 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:473: 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

    3. 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:309: 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

    Passed tests (36)

    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 TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    3. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    4. test_1_1_chat_edit_message, id: 702855
    Device sessions

    5. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    6. test_1_1_chat_message_reaction, id: 702730
    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_discovery, id: 703503
    Device sessions

    4. test_community_undo_delete_message, id: 702869
    Device sessions

    5. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    6. test_community_mute_community_and_channel, id: 703382
    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_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 TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_leave, id: 702845
    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_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 TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    2. test_group_chat_reactions, id: 703202
    Device sessions

    3. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    @pavloburykh
    Copy link
    Contributor

    @Parveshdhull Thank you for your work! PR is ready for merge.

    @pavloburykh
    Copy link
    Contributor

    @Parveshdhull Thank you for your work! PR is ready for merge.

    @Parveshdhull UPDATE: ready for design review. cc @Francesca-G

    Copy link

    @Francesca-G Francesca-G left a comment

    Choose a reason for hiding this comment

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

    There's a spacing issue with the close button and the title, as you can see they overlap:

    Screenshot 2023-10-17 alle 15 09 54

    Besides that the screen looks good :)

    @pavloburykh
    Copy link
    Contributor

    pavloburykh commented Oct 17, 2023

    There's a spacing issue with the close button and the title, as you can see they overlap:

    Screenshot 2023-10-17 alle 15 09 54 Besides that the screen looks good :)

    @Francesca-G thank you for your review! This bug is not in scope of current PR. This particular issue has been already reported by designers in 1.25 review https://www.figma.com/file/Tf5nfkYvpbnNCo4rKLK7lS/Feedback-for-Mobile?type=design&node-id=6117-85237&mode=design&t=M4cC4712cKbrlp0Q-0#567182752 and is logged #17557

    @Parveshdhull Parveshdhull force-pushed the feat/discover-community-animation branch from 57f2349 to 975e75f Compare October 17, 2023 16:06
    @Parveshdhull Parveshdhull force-pushed the feat/discover-community-animation branch from 975e75f to 6acae42 Compare October 17, 2023 16:19
    @Parveshdhull Parveshdhull merged commit 6acae42 into develop Oct 17, 2023
    @Parveshdhull Parveshdhull deleted the feat/discover-community-animation branch October 17, 2023 16:30
    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
    7 participants