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

Remove 3 words alias #17042

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Remove 3 words alias #17042

merged 1 commit into from
Aug 30, 2023

Conversation

cammellos
Copy link
Contributor

This commit replaces the 3 random words alias with zQ....something, as per designs.
It will only work for accounts that are not in your contact yet, previous accounts will still show the 3 random words name (thought that could be fixed, but I could do in a separate PR).

@cammellos cammellos self-assigned this Aug 17, 2023
@cammellos cammellos requested a review from yqrashawn August 17, 2023 12:59
@status-im-auto
Copy link
Member

status-im-auto commented Aug 17, 2023

Jenkins Builds

Click to see older builds (13)
Commit #️⃣ Finished (UTC) Duration Platform Result
7fa6eaa #1 2023-08-17 13:03:16 ~3 min tests 📄log
✔️ 3cf16bd #2 2023-08-17 13:17:14 ~11 min android-e2e 🤖apk 📲
✔️ 3cf16bd #2 2023-08-17 13:17:43 ~12 min tests 📄log
✔️ 3cf16bd #2 2023-08-17 13:18:19 ~12 min android 🤖apk 📲
✔️ 3cf16bd #2 2023-08-17 13:53:44 ~48 min ios 📱ipa 📲
✔️ 585c9ee #3 2023-08-21 11:21:17 ~6 min android 🤖apk 📲
✔️ 585c9ee #3 2023-08-21 11:23:09 ~8 min android-e2e 🤖apk 📲
✔️ 585c9ee #3 2023-08-21 11:24:13 ~9 min tests 📄log
✔️ 585c9ee #4 2023-08-21 11:59:50 ~5 min ios 📱ipa 📲
✔️ ce3cd4c #5 2023-08-22 07:06:05 ~8 min ios 📱ipa 📲
✔️ ce3cd4c #4 2023-08-22 07:06:09 ~8 min android 🤖apk 📲
✔️ ce3cd4c #4 2023-08-22 07:09:15 ~11 min tests 📄log
✔️ ce3cd4c #4 2023-08-22 07:09:45 ~11 min android-e2e 🤖apk 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ a41859b #6 2023-08-30 07:10:56 ~8 min ios 📱ipa 📲
✔️ a41859b #5 2023-08-30 07:13:07 ~10 min android-e2e 🤖apk 📲
✔️ a41859b #5 2023-08-30 07:13:49 ~11 min android 🤖apk 📲
✔️ a41859b #5 2023-08-30 07:14:10 ~11 min tests 📄log
✔️ 83f96ff #6 2023-08-30 08:40:57 ~9 min android-e2e 🤖apk 📲
✔️ 83f96ff #6 2023-08-30 08:41:07 ~9 min android 🤖apk 📲
✔️ 83f96ff #6 2023-08-30 08:41:39 ~10 min tests 📄log
✔️ 83f96ff #7 2023-08-30 08:50:00 ~18 min ios 📱ipa 📲

@cammellos cammellos force-pushed the bug/remove-3-words-alias branch from 7fa6eaa to 3cf16bd Compare August 17, 2023 13:05
@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: 702733,702732,702813,703133,703495,703297,703503,703202,702786,702807,702731,702808 

Failed tests (12)

Click to expand
  • Rerun failed tests

  • Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133

    Device 1: Find `Button` by `accessibility id`: `show-profiles`
    Device 1: Tap on found: Button

    critical/test_public_chat_browsing.py:528: in test_restore_multiaccount_with_waku_backup_remove_switch
        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))]))
     Incorrect contacts number restored: 0 instead of 2
    E    admin_open was not restored from waku-backup!!
    E    member_open was not restored from waku-backup!!
    E    admin_closed was not restored from waku-backup!!
    E    member_closed was not restored from waku-backup!!
    



    Device sessions

    2. test_community_discovery, id: 703503

    Device 1: Tap on found: Button
    Device 1: Find Button by xpath: //*[@text="Contributors' test community"]

    critical/test_public_chat_browsing.py:331: in test_community_discovery
        self.home.element_by_text(self.discovery_community_attributes[0]).click()
    ../views/base_element.py:91: in click
        self.find_element().click()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Contributors' test community"]` is not found on the screen
    



    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. 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 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

    Test setup failed: critical/chats/test_group_chat.py:205: in prepare_devices
        self.chats[0].send_message(self.message_before_adding)
    ../views/chat_view.py:988: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:122: 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
    



    3. test_group_chat_send_image_save_and_share, id: 703297

    Test setup failed: critical/chats/test_group_chat.py:205: in prepare_devices
        self.chats[0].send_message(self.message_before_adding)
    ../views/chat_view.py:988: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:122: 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
    



    4. test_group_chat_reactions, id: 703202

    Test setup failed: critical/chats/test_group_chat.py:205: in prepare_devices
        self.chats[0].send_message(self.message_before_adding)
    ../views/chat_view.py:988: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:122: 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
    



    5. test_group_chat_join_send_text_messages_push, id: 702807

    ## Group chat ikqwmaz is created successfully!
    Device 1: Sending message 'message before adding new user'

    Test setup failed: critical/chats/test_group_chat.py:205: in prepare_devices
        self.chats[0].send_message(self.message_before_adding)
    ../views/chat_view.py:988: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:122: 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_group_chat_offline_pn, id: 702808

    Test setup failed: critical/chats/test_group_chat.py:205: in prepare_devices
        self.chats[0].send_message(self.message_before_adding)
    ../views/chat_view.py:988: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:122: 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
    



    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_text_message_delete_push_disappear, id: 702733

    Device 1: Could not reach ChatsTab element by pressing back
    Device 2: Could not reach ChatsTab element by pressing back

    critical/chats/test_1_1_public_chats.py:1329: in test_1_1_chat_text_message_delete_push_disappear
        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 doesn't appear
    



    Device sessions

    2. test_1_1_chat_push_emoji, id: 702813

    Device 1: Find Button by xpath: //*[contains(@content-desc,'Status')]
    Device 1: Tap on found: Button

    critical/chats/test_1_1_public_chats.py:1168: in test_1_1_chat_push_emoji
        self.device_1.driver.fail("Push notification with emoji was not received")
    base_test_case.py:165: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
     Device 1: Push notification with emoji was not received
    



    Device sessions

    3. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

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

    Passed tests (31)

    Click to expand

    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_delete_via_long_press_relogin, id: 702784
    Device sessions

    3. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    4. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    5. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    6. test_1_1_chat_edit_message, id: 702855
    Device sessions

    7. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    8. test_1_1_chat_message_reaction, id: 702730
    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 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_hashtag_links_to_community_channels, id: 702948
    Device sessions

    7. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    8. test_community_message_delete, id: 702839
    Device sessions

    9. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    10. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    11. test_community_message_edit, id: 702843
    Device sessions

    12. test_community_leave, id: 702845
    Device sessions

    13. 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_undo_delete_message, id: 702869
    Device sessions

    3. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    4. test_community_mute_community_and_channel, id: 703382
    Device sessions

    @pavloburykh pavloburykh self-assigned this Aug 21, 2023
    @pavloburykh pavloburykh force-pushed the bug/remove-3-words-alias branch from 3cf16bd to 585c9ee Compare August 21, 2023 11:14
    @status-im-auto
    Copy link
    Member

    79% of end-end tests have passed

    Total executed tests: 43
    Failed tests: 9
    Passed tests: 34
    
    IDs of failed tests: 702786,702731,702807,702733,702808,702813,702783,702732,703503 
    

    Failed tests (9)

    Click to expand
  • Rerun failed tests

  • 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_text_message_delete_push_disappear, id: 702733

    Device 1: Could not reach ChatsTab element by pressing back
    Device 2: Could not reach ChatsTab element by pressing back

    critical/chats/test_1_1_public_chats.py:1329: in test_1_1_chat_text_message_delete_push_disappear
        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 doesn't appear
    



    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813

    Device 1: Find Button by xpath: //*[contains(@content-desc,'Status')]
    Device 1: Tap on found: Button

    critical/chats/test_1_1_public_chats.py:1168: in test_1_1_chat_push_emoji
        self.device_1.driver.fail("Push notification with emoji was not received")
    base_test_case.py:165: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
     Device 1: Push notification with emoji was not received
    



    Device sessions

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



    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807

    Device 2: Text is Delivered
    Device 1: Looking for a message by text: Hey, admin!

    critical/chats/test_group_chat.py:231: in test_group_chat_join_send_text_messages_push
        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))]))
     No PN was received on new message for message in group chat
    



    Device sessions

    2. 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:441: in test_group_chat_offline_pn
        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))]))
     Messages PN was not fetched from offline
    



    Device sessions

    3. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

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

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Device 1: Tap on found: Button
    Device 1: Find Button by xpath: //*[@text="Contributors' test community"]

    critical/test_public_chat_browsing.py:331: in test_community_discovery
        self.home.element_by_text(self.discovery_community_attributes[0]).click()
    ../views/base_element.py:91: in click
        self.find_element().click()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Contributors' test community"]` is not found on the screen
    



    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. 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

    Passed tests (34)

    Click to expand

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    3. test_activity_center_mentions, id: 702957
    Device sessions

    4. test_navigation_jump_to, id: 702936
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_leave, id: 702845
    Device sessions

    2. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    3. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    4. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    5. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    6. test_community_unread_messages_badge, id: 702841
    Device sessions

    7. test_community_message_delete, id: 702839
    Device sessions

    8. test_community_markdown_support, id: 702809
    Device sessions

    9. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    10. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    11. test_community_one_image_send_reply, id: 702859
    Device sessions

    12. test_community_message_edit, id: 702843
    Device sessions

    13. test_community_several_images_send_reply, id: 703194
    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 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_mute_chat, id: 703496
    Device sessions

    5. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    6. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    7. 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_send_image_save_and_share, id: 703297
    Device sessions

    3. test_group_chat_mute_chat, id: 703495
    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

    @pavloburykh
    Copy link
    Contributor

    @cammellos thanx for the PR!

    1. Regarding this comment

    It will only work for accounts that are not in your contact yet, previous accounts will still show the 3 random words name (thought that could be fixed, but I could do in a separate PR).

    I restored my main account which used to have a lot 3 random names contacts and I see that all of those contacts are displayed with keys (without 3 random names)

    photo_2023-08-21 16 55 59

    1. @cammellos do I understand correctly that after merging current changes Desktop team will need to implement them on their side?

    Currently when I add Desktop user as a contact I observe Display name not being fetched until CR is accepted. Tested on Desktop release version 0.13.3.

    Mobile_CR_sender.zip

    telegram-cloud-document-2-5411571751152793317.mp4

    @cammellos
    Copy link
    Contributor Author

    Thanks for testing @pavloburykh

    I restored my main account which used to have a lot 3 random names contacts and I see that all of those contacts are displayed with keys (without 3 random names)

    Yes, that's expected, anytime you saw a 3 random words username, now you see a compressed pk, looks ugly, but if we are to get rid of 3 random names, that's the only way, we should make sure we limit the time you see pks, but a fallback is inevitable.

    @cammellos do I understand correctly that after merging current changes Desktop team will need to implement them on their side?

    Not quite, if they use the status-go version, they will also default to compressed pks instead of 3 random words, they just have to upgrade status go, but no work should be necessary (if they implemented things in the same way as mobile).

    Currently when I add Desktop user as a contact I observe Display name not being fetched until CR is accepted. Tested on Desktop release version 0.13.3.

    Is it different in this PR from develop? That code should not have changed in this PR

    Thank you

    @pavloburykh
    Copy link
    Contributor

    Is it different in this PR from develop? That code should not have changed in this PR

    @cammellos yes, it is different. I checked with mobile nightly build - Desktop display name is being fetched right after scanning QR code from mobile.

    @status-im-auto
    Copy link
    Member

    81% of end-end tests have passed

    Total executed tests: 43
    Failed tests: 8
    Passed tests: 35
    
    IDs of failed tests: 702786,702731,702807,702733,702808,702813,702732,703503 
    

    Failed tests (8)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Device 1: Tap on found: Button
    Device 1: Find `Button` by `xpath`: `//*[@text="Contributors' test community"]`

    critical/test_public_chat_browsing.py:331: in test_community_discovery
        self.home.element_by_text(self.discovery_community_attributes[0]).click()
    ../views/base_element.py:91: in click
        self.find_element().click()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Contributors' test community"]` is not found on the screen
    



    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_text_message_delete_push_disappear, id: 702733

    Device 1: Could not reach home view by pressing system back button
    Device 2: Could not reach home view by pressing system back button

    critical/chats/test_1_1_public_chats.py:1327: in test_1_1_chat_text_message_delete_push_disappear
        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 doesn't appear
    



    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813

    Device 1: Find Button by xpath: //*[contains(@content-desc,'Status')]
    Device 1: Tap on found: Button

    critical/chats/test_1_1_public_chats.py:1166: in test_1_1_chat_push_emoji
        self.device_1.driver.fail("Push notification with emoji was not received")
    base_test_case.py:165: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
     Device 1: Push notification with emoji was not received
    



    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. 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 TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807

    Device 2: Text is Delivered
    Device 1: Looking for a message by text: Hey, admin!

    critical/chats/test_group_chat.py:231: in test_group_chat_join_send_text_messages_push
        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))]))
     No PN was received on new message for message in group chat
    



    Device sessions

    2. 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:441: in test_group_chat_offline_pn
        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))]))
     Messages PN was not fetched from offline
    



    Device sessions

    3. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

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

    Passed tests (35)

    Click to expand

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

    1. test_community_leave, id: 702845
    Device sessions

    2. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    3. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    4. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    5. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    6. test_community_unread_messages_badge, id: 702841
    Device sessions

    7. test_community_message_delete, id: 702839
    Device sessions

    8. test_community_markdown_support, id: 702809
    Device sessions

    9. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    10. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    11. test_community_one_image_send_reply, id: 702859
    Device sessions

    12. test_community_message_edit, id: 702843
    Device sessions

    13. test_community_several_images_send_reply, id: 703194
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_reactions, id: 703202
    Device sessions

    2. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    3. test_group_chat_mute_chat, id: 703495
    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_mute_chat, id: 703496
    Device sessions

    5. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    6. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    7. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    8. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    3. test_activity_center_mentions, id: 702957
    Device sessions

    4. test_navigation_jump_to, id: 702936
    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

    @pavloburykh
    Copy link
    Contributor

    Is it different in this PR from develop? That code should not have changed in this PR

    @cammellos yes, it is different. I checked with mobile nightly build - Desktop display name is being fetched right after scanning QR code from mobile.

    @cammellos ignore this for now please. I think it is randomly happening. Sometimes display name still not fetched right after scanning QR code. I believe it has nothing to do with this PR changes.

    @pavloburykh
    Copy link
    Contributor

    pavloburykh commented Aug 21, 2023

    ISSUE 1 PN does not appear for receiver

    E2E tests a catching this issue in all re-runs. Manually I have faced it once, but failed to reproduce after app re-install.

    Below I provide links to e2e video and logs

    Failed test https://ethstatus.testrail.net/index.php?/tests/view/3217537

    Steps:

    1. Device 2 sends message in group chat https://app.eu-central-1.saucelabs.com/tests/48ce510aca564dd1a19c835520a1c313?auth=b3e271f7fd2d3828d3eb308b8f77df6e#83

    2. Device 1 is looking for PN from this group https://app.eu-central-1.saucelabs.com/tests/357227fa9ae541ed96abbe636e6e7a43?auth=b4d06adc30736857c342b3c40dfd318c#134

    Actual result: PN does not appear for Device 1

    PN_receiver.log
    Sender_PN.log

    @cammellos could you please check the above logs and tell if it will help to figure out the problem

    @cammellos cammellos force-pushed the bug/remove-3-words-alias branch from 585c9ee to ce3cd4c Compare August 22, 2023 06:57
    @status-im-auto
    Copy link
    Member

    81% of end-end tests have passed

    Total executed tests: 43
    Failed tests: 8
    Passed tests: 35
    
    IDs of failed tests: 702786,702731,702807,702733,702808,702813,702732,703503 
    

    Failed tests (8)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMerged:

    1. 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 TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Device 1: Tap on found: Button
    Device 1: Find Button by xpath: //*[@text="Contributors' test community"]

    critical/test_public_chat_browsing.py:331: in test_community_discovery
        self.home.element_by_text(self.discovery_community_attributes[0]).click()
    ../views/base_element.py:91: in click
        self.find_element().click()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Contributors' test community"]` is not found on the screen
    



    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807

    Device 2: Text is Delivered
    Device 1: Looking for a message by text: Hey, admin!

    critical/chats/test_group_chat.py:231: in test_group_chat_join_send_text_messages_push
        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))]))
     No PN was received on new message for message in group chat
    



    Device sessions

    2. 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:441: in test_group_chat_offline_pn
        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))]))
     Messages PN was not fetched from offline
    



    Device sessions

    3. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

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

    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_text_message_delete_push_disappear, id: 702733

    Device 1: Could not reach home view by pressing system back button
    Device 2: Could not reach home view by pressing system back button

    critical/chats/test_1_1_public_chats.py:1327: in test_1_1_chat_text_message_delete_push_disappear
        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 doesn't appear
    



    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813

    Device 1: Find Button by xpath: //*[contains(@content-desc,'Status')]
    Device 1: Tap on found: Button

    critical/chats/test_1_1_public_chats.py:1166: in test_1_1_chat_push_emoji
        self.device_1.driver.fail("Push notification with emoji was not received")
    base_test_case.py:165: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
     Device 1: Push notification with emoji was not received
    



    Device sessions

    Passed tests (35)

    Click to expand

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

    1. test_community_leave, id: 702845
    Device sessions

    2. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    3. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    4. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    5. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    6. test_community_unread_messages_badge, id: 702841
    Device sessions

    7. test_community_message_delete, id: 702839
    Device sessions

    8. test_community_markdown_support, id: 702809
    Device sessions

    9. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    10. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    11. test_community_one_image_send_reply, id: 702859
    Device sessions

    12. test_community_message_edit, id: 702843
    Device sessions

    13. test_community_several_images_send_reply, id: 703194
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_reactions, id: 703202
    Device sessions

    2. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    3. test_group_chat_mute_chat, id: 703495
    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_mute_chat, id: 703496
    Device sessions

    5. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    6. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    7. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    8. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    3. test_activity_center_mentions, id: 702957
    Device sessions

    4. test_navigation_jump_to, id: 702936
    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

    @status-im-auto
    Copy link
    Member

    65% of end-end tests have passed

    Total executed tests: 43
    Failed tests: 15
    Passed tests: 28
    
    IDs of failed tests: 702947,702958,702786,702745,702731,702807,702733,702808,702813,702948,702957,702783,702732,703503,702936 
    

    Failed tests (15)

    Click to expand
  • Rerun failed tests

  • Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745

    Device 1: Sending message 'just a text'
    Device 1: Find `ChatMessageInput` by `accessibility id`: `chat-message-input`

    critical/chats/test_1_1_public_chats.py:1092: in test_1_1_chat_non_latin_messages_stack_update_profile_photo
        self.chat_1.send_message("just a text")  # Sending a message here so the next ones will be in a separate line
    ../views/chat_view.py:989: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:353: in send_keys
        self.find_element().send_keys(value)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webelement.py:218: in send_keys
        self._execute(RemoteCommand.SEND_KEYS_TO_ELEMENT, {'text': ''.join(keys), 'value': keys})
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:633: in _execute
        return self._parent.execute(command, params)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:321: in execute
        self.error_handler.check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:31: in check_response
        raise wde
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:26: in check_response
        super().check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py:242: in check_response
        raise exception_class(message, screen, stacktrace)
     androidx.test.uiautomator.StaleObjectException
    



    Device sessions

    2. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

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

    3. test_1_1_chat_text_message_delete_push_disappear, id: 702733

    Device 1: Could not reach home view by pressing system back button
    Device 2: Could not reach home view by pressing system back button

    critical/chats/test_1_1_public_chats.py:1327: in test_1_1_chat_text_message_delete_push_disappear
        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 doesn't appear
    



    Device sessions

    4. test_1_1_chat_push_emoji, id: 702813

    Device 1: Sending message 'Text push notification'
    Device 1: Find ChatMessageInput by accessibility id: chat-message-input

    critical/chats/test_1_1_public_chats.py:1142: in test_1_1_chat_push_emoji
        self.chat_1.send_message(message)
    ../views/chat_view.py:989: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:353: in send_keys
        self.find_element().send_keys(value)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webelement.py:218: in send_keys
        self._execute(RemoteCommand.SEND_KEYS_TO_ELEMENT, {'text': ''.join(keys), 'value': keys})
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:633: in _execute
        return self._parent.execute(command, params)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:321: in execute
        self.error_handler.check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:31: in check_response
        raise wde
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:26: in check_response
        super().check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py:242: in check_response
        raise exception_class(message, screen, stacktrace)
     androidx.test.uiautomator.StaleObjectException
    



    Device sessions

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



    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. 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

    2. 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/test_public_chat_browsing.py:1189: in test_community_hashtag_links_to_community_channels
        self.channel_1.send_message(message_with_hashtag)
    ../views/chat_view.py:988: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:122: 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

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947

    Test setup failed: medium/test_activity_center.py:141: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: in run_in_parallel
        returns.append(await k)
    /usr/lib/python3.10/concurrent/futures/thread.py:58: in run
        result = self.fn(*self.args, **self.kwargs)
    ../views/sign_in_view.py:249: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:97: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:140: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    2. test_activity_center_admin_notification_accept_swipe, id: 702958

    Test setup failed: medium/test_activity_center.py:141: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: in run_in_parallel
        returns.append(await k)
    /usr/lib/python3.10/concurrent/futures/thread.py:58: in run
        result = self.fn(*self.args, **self.kwargs)
    ../views/sign_in_view.py:249: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:97: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:140: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    3. test_activity_center_mentions, id: 702957

    Test setup failed: medium/test_activity_center.py:141: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: in run_in_parallel
        returns.append(await k)
    /usr/lib/python3.10/concurrent/futures/thread.py:58: in run
        result = self.fn(*self.args, **self.kwargs)
    ../views/sign_in_view.py:249: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:97: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:140: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    4. test_navigation_jump_to, id: 702936

    Device 1: Wait for element Button for max 30s and click when it is available
    Device 2: Wait for element Button for max 30s and click when it is available

    Test setup failed: medium/test_activity_center.py:141: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: in run_in_parallel
        returns.append(await k)
    /usr/lib/python3.10/concurrent/futures/thread.py:58: in run
        result = self.fn(*self.args, **self.kwargs)
    ../views/sign_in_view.py:249: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:97: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:140: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` 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: Find Button by xpath: //*[@text="Contributors' test community"]

    critical/test_public_chat_browsing.py:331: in test_community_discovery
        self.home.element_by_text(self.discovery_community_attributes[0]).click()
    ../views/base_element.py:91: in click
        self.find_element().click()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Contributors' test community"]` is not found on the screen
    



    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807

    Device 2: Text is Delivered
    Device 1: Looking for a message by text: Hey, admin!

    critical/chats/test_group_chat.py:231: in test_group_chat_join_send_text_messages_push
        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))]))
     No PN was received on new message for message in group chat
    



    Device sessions

    2. 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:441: in test_group_chat_offline_pn
        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))]))
     Messages PN was not fetched from offline
    



    Device sessions

    3. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

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

    Passed tests (28)

    Click to expand

    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_mute_chat, id: 703496
    Device sessions

    4. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    5. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

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

    1. test_community_leave, id: 702845
    Device sessions

    2. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    3. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    4. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    5. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    6. test_community_unread_messages_badge, id: 702841
    Device sessions

    7. test_community_message_delete, id: 702839
    Device sessions

    8. test_community_markdown_support, id: 702809
    Device sessions

    9. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    10. test_community_one_image_send_reply, id: 702859
    Device sessions

    11. test_community_message_edit, id: 702843
    Device sessions

    12. test_community_several_images_send_reply, id: 703194
    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 TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_reactions, id: 703202
    Device sessions

    2. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    3. test_group_chat_mute_chat, id: 703495
    Device sessions

    @status-im-auto
    Copy link
    Member

    63% of end-end tests have passed

    Total executed tests: 43
    Failed tests: 16
    Passed tests: 27
    
    IDs of failed tests: 703086,702786,702745,702731,702807,702733,702808,702809,702813,702948,703133,702783,703382,702732,703503,703495 
    

    Failed tests (16)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133

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

    critical/test_public_chat_browsing.py:443: 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:182: in scroll_to_element
        raise NoSuchElementException(
     Device 1: LogoutButton by accessibility id: `log-out-button` is not found on the screen
    



    Device sessions

    2. test_community_mute_community_and_channel, id: 703382

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

    critical/test_public_chat_browsing.py:391: 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:528: in mute_chat_long_press
        self.mute_community_button.click()
    ../views/base_element.py:91: in click
        self.find_element().click()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 1: MuteButton by accessibility id: `mute-community` is not found on the screen
    



    Device sessions

    3. test_community_discovery, id: 703503

    Device 1: Tap on found: Button
    Device 1: Find Button by xpath: //*[@text="Contributors' test community"]

    critical/test_public_chat_browsing.py:331: in test_community_discovery
        self.home.element_by_text(self.discovery_community_attributes[0]).click()
    ../views/base_element.py:91: in click
        self.find_element().click()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Contributors' test community"]` is not found on the screen
    



    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_mark_all_messages_as_read, id: 703086

    Device 2: Sending message 'hello'
    Device 2: Find ChatMessageInput by accessibility id: chat-message-input

    critical/test_public_chat_browsing.py:986: in test_community_mark_all_messages_as_read
        self.channel_2.send_message(self.text_message)
    ../views/chat_view.py:989: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:353: in send_keys
        self.find_element().send_keys(value)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webelement.py:218: in send_keys
        self._execute(RemoteCommand.SEND_KEYS_TO_ELEMENT, {'text': ''.join(keys), 'value': keys})
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:633: in _execute
        return self._parent.execute(command, params)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:321: in execute
        self.error_handler.check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:31: in check_response
        raise wde
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:26: in check_response
        super().check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py:242: in check_response
        raise exception_class(message, screen, stacktrace)
     androidx.test.uiautomator.StaleObjectException
    



    Device sessions

    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

    3. test_community_markdown_support, id: 702809

    Device 2: Sending message 'bold text in asterics'
    Device 2: Find ChatMessageInput by accessibility id: chat-message-input

    critical/test_public_chat_browsing.py:1105: in test_community_markdown_support
        self.channel_2.send_message(message_to_send)
    ../views/chat_view.py:989: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:353: in send_keys
        self.find_element().send_keys(value)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webelement.py:218: in send_keys
        self._execute(RemoteCommand.SEND_KEYS_TO_ELEMENT, {'text': ''.join(keys), 'value': keys})
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:633: in _execute
        return self._parent.execute(command, params)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:321: in execute
        self.error_handler.check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:31: in check_response
        raise wde
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:26: in check_response
        super().check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py:242: in check_response
        raise exception_class(message, screen, stacktrace)
     androidx.test.uiautomator.StaleObjectException
    



    Device sessions

    4. 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/test_public_chat_browsing.py:1189: in test_community_hashtag_links_to_community_channels
        self.channel_1.send_message(message_with_hashtag)
    ../views/chat_view.py:988: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:122: 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

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745

    Device 2: Sending message 'hello'
    Device 2: Find ChatMessageInput by accessibility id: chat-message-input

    critical/chats/test_1_1_public_chats.py:1097: in test_1_1_chat_non_latin_messages_stack_update_profile_photo
        [self.chat_2.send_message(message) for message in messages]
    critical/chats/test_1_1_public_chats.py:1097: in <listcomp>
        [self.chat_2.send_message(message) for message in messages]
    ../views/chat_view.py:989: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:353: in send_keys
        self.find_element().send_keys(value)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webelement.py:218: in send_keys
        self._execute(RemoteCommand.SEND_KEYS_TO_ELEMENT, {'text': ''.join(keys), 'value': keys})
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:633: in _execute
        return self._parent.execute(command, params)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:321: in execute
        self.error_handler.check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:31: in check_response
        raise wde
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:26: in check_response
        super().check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py:242: in check_response
        raise exception_class(message, screen, stacktrace)
     androidx.test.uiautomator.StaleObjectException
    



    Device sessions

    2. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

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

    3. test_1_1_chat_text_message_delete_push_disappear, id: 702733

    Device 1: Could not reach home view by pressing system back button
    Device 2: Could not reach home view by pressing system back button

    critical/chats/test_1_1_public_chats.py:1327: in test_1_1_chat_text_message_delete_push_disappear
        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 doesn't appear
    



    Device sessions

    4. test_1_1_chat_push_emoji, id: 702813

    Device 1: Find Button by xpath: //*[contains(@content-desc,'Status')]
    Device 1: Tap on found: Button

    critical/chats/test_1_1_public_chats.py:1166: in test_1_1_chat_push_emoji
        self.device_1.driver.fail("Push notification with emoji was not received")
    base_test_case.py:165: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
     Device 1: Push notification with emoji was not received
    



    Device sessions

    5. 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:1377: 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

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807

    Device 2: Text is Delivered
    Device 1: Looking for a message by text: Hey, admin!

    critical/chats/test_group_chat.py:231: in test_group_chat_join_send_text_messages_push
        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))]))
     No PN was received on new message for message in group chat
    



    Device sessions

    2. 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:441: in test_group_chat_offline_pn
        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))]))
     Messages PN was not fetched from offline
    



    Device sessions

    3. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

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

    4. test_group_chat_mute_chat, id: 703495

    Device 3: Sending message 'Chat is unmuted now'
    Device 3: Find ChatMessageInput by accessibility id: chat-message-input

    critical/chats/test_group_chat.py:587: in test_group_chat_mute_chat
        self.chats[2].send_message(unmuted_message)
    ../views/chat_view.py:989: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:353: in send_keys
        self.find_element().send_keys(value)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webelement.py:218: in send_keys
        self._execute(RemoteCommand.SEND_KEYS_TO_ELEMENT, {'text': ''.join(keys), 'value': keys})
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:633: in _execute
        return self._parent.execute(command, params)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:321: in execute
        self.error_handler.check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:31: in check_response
        raise wde
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:26: in check_response
        super().check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py:242: in check_response
        raise exception_class(message, screen, stacktrace)
     androidx.test.uiautomator.StaleObjectException
    



    Device sessions

    Passed tests (27)

    Click to expand

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    3. test_activity_center_mentions, id: 702957
    Device sessions

    4. test_navigation_jump_to, id: 702936
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_leave, id: 702845
    Device sessions

    2. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    3. test_community_contact_block_unblock_offline, id: 702894
    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 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 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_community_undo_delete_message, id: 702869
    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_mute_chat, id: 703496
    Device sessions

    4. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    5. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    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_send_image_save_and_share, id: 703297
    Device sessions

    @yevh-berdnyk
    Copy link
    Contributor

    hi @cammellos, thanks for you PR!
    I see 2 issues found by automated tests and appeared after the last rebase commit (2 last comments in this PR).

    1. Looks like rendering or some background process is happening in the chat screen because in the tests we get StaleObjectException for the chat message input. That means that Appium can't interact with the message input element because the DOM was reloaded.
      Logs:
      logcat (1).log
      test_community_markdown_support_geth2.log

    2. In some tests the app was crashed or closed after creating an account. Here is a video example and logs:
      https://app.eu-central-1.saucelabs.com/tests/e573ab8441824060aa87db6020fad60b?auth=a62a41e9b3c949495c6976aee3b78c59#21
      logcat (3).log
      TestActivityMultipleDevicePR_geth0.log

    @pavloburykh
    Copy link
    Contributor

    pavloburykh commented Aug 22, 2023

    hi @cammellos, thanks for you PR! I see 2 issues found by automated tests and appeared after the last rebase commit (2 last comments in this PR).

    1. Looks like rendering or some background process is happening in the chat screen because in the tests we get StaleObjectException for the chat message input. That means that Appium can't interact with the message input element because the DOM was reloaded.
      Logs:
      logcat (1).log
      test_community_markdown_support_geth2.log
    2. In some tests the app was crashed or closed after creating an account. Here is a video example and logs:
      https://app.eu-central-1.saucelabs.com/tests/e573ab8441824060aa87db6020fad60b?auth=a62a41e9b3c949495c6976aee3b78c59#21
      logcat (3).log
      TestActivityMultipleDevicePR_geth0.log

    @yevh-berdnyk thanx for pointing out these issues.

    @cammellos small update:

    • point 1 looks like a global problem now not related to this PR, so we will log this issue separately as it is e2e blocker.

    • regarding point 2 (app crash) - would be great if you take a look before merging this PR as for now we have not faced such issue in other PRs which have no updated go version.

    @pavloburykh
    Copy link
    Contributor

    pavloburykh commented Aug 25, 2023

    • regarding point 2 (app crash) - would be great if you take a look before merging this PR as for now we have not faced such issue in other PRs which have no updated go version.

    @cammellos @yevh-berdnyk since we are facing point 2 in other PRs already it is not in scope of current PR and should be addressed separately.

    @churik
    Copy link
    Member

    churik commented Aug 25, 2023

    2 is reported in #17114

    @pavloburykh
    Copy link
    Contributor

    @cammellos hi! Could you please rebase go and mobile branches once again? I will re-run e2e and perform smoke test so we can merge this PR. As far as understand all mentioned go bugs should be already fixed.

    @cammellos cammellos force-pushed the bug/remove-3-words-alias branch from ce3cd4c to a41859b Compare August 30, 2023 07:02
    @cammellos
    Copy link
    Contributor Author

    @pavloburykh done, thank you for reminding me!

    @cammellos cammellos force-pushed the bug/remove-3-words-alias branch from a41859b to 83f96ff Compare August 30, 2023 08:31
    @status-im-auto
    Copy link
    Member

    60% of end-end tests have passed

    Total executed tests: 43
    Failed tests: 17
    Passed tests: 26
    
    IDs of failed tests: 703086,702947,702958,702786,702745,702731,702807,702733,702808,702813,702948,702957,702843,702784,702732,702936,703495 
    

    Failed tests (17)

    Click to expand
  • Rerun failed tests

  • Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745

    Device 2: Find `MemberPhoto` by `xpath`: `//*[starts-with(@text,'profile_photo')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='user-avatar']`
    Device 2: Image differs from template to 6.056937423406863 percents

    critical/chats/test_1_1_public_chats.py:1127: in test_1_1_chat_non_latin_messages_stack_update_profile_photo
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Image of user in 1-1 chat is too different from template!
    



    Device sessions

    2. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

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

    3. test_1_1_chat_text_message_delete_push_disappear, id: 702733

    Device 1: Could not reach home view by pressing system back button
    Device 2: Could not reach home view by pressing system back button

    critical/chats/test_1_1_public_chats.py:1327: in test_1_1_chat_text_message_delete_push_disappear
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Push notification doesn't appear
    



    Device sessions

    4. test_1_1_chat_push_emoji, id: 702813

    Device 1: Find Button by xpath: //*[contains(@content-desc,'Status')]
    Device 1: Tap on found: Button

    critical/chats/test_1_1_public_chats.py:1166: in test_1_1_chat_push_emoji
        self.device_1.driver.fail("Push notification with emoji was not received")
    base_test_case.py:175: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
     Device 1: Push notification with emoji was not received
    



    Device sessions

    5. test_1_1_chat_delete_via_long_press_relogin, id: 702784

    ## Signed in successfully!
    Device 2: Looking for chat: 'sender'

    critical/chats/test_1_1_public_chats.py:1433: in test_1_1_chat_delete_via_long_press_relogin
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Deleted sender chat is shown, but the chat has been deleted
    



    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807

    Device 2: Text is Delivered
    Device 1: Looking for a message by text: Hey, admin!

    critical/chats/test_group_chat.py:231: in test_group_chat_join_send_text_messages_push
        self.errors.verify_no_errors()
    base_test_case.py:187: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     No PN was received on new message for message in group chat
    



    Device sessions

    2. 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:441: in test_group_chat_offline_pn
        self.errors.verify_no_errors()
    base_test_case.py:187: 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
    



    Device sessions

    3. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

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

    4. test_group_chat_mute_chat, id: 703495

    Device 1: ChatMessageInput element not found
    Device 1: Sending message 'Text message in the muted chat'

    critical/chats/test_group_chat.py:549: in test_group_chat_mute_chat
        self.chats[0].send_message(muted_message)
    ../views/chat_view.py:991: 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

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_mark_all_messages_as_read, id: 703086

    Device 1: Click system back button
    Device 1: Long press on ChatElement until expected element is shown

    critical/test_public_chat_browsing.py:1013: in test_community_mark_all_messages_as_read
        community_1_element.long_press_until_element_is_shown(mark_as_read_button)
    ../views/base_element.py:329: in long_press_until_element_is_shown
        action.long_press(element).release().perform()
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/common/touch_action.py:174: in perform
        self._driver.execute(Command.TOUCH_ACTION, params)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:345: in execute
        self.error_handler.check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:122: in check_response
        raise exception_class(msg=message, stacktrace=format_stacktrace(stacktrace))
     The element 'By.xpath: //*[@content-desc='chat-name-text'][starts-with(@text,'open community')]/..' is not linked to the same object in DOM anymore; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#stale-element-reference-exception
    E   Stacktrace:
    E   io.appium.uiautomator2.common.exceptions.StaleElementReferenceException: The element 'By.xpath: //*[@content-desc='chat-name-text'][starts-with(@text,'open community')]/..' is not linked to the same object in DOM anymore
    E   	at io.appium.uiautomator2.model.ElementsCache.restore(ElementsCache.java:122)
    E   	at io.appium.uiautomator2.model.ElementsCache.get(ElementsCache.java:153)
    E   	at io.appium.uiautomator2.handler.Location.safeHandle(Location.java:23)
    E   	at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)
    E   	at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:277)
    E   	at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:271)
    E   	at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    E   	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    E   	at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    E   	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    E   	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    E   	at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    E   	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    E   	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    E   	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    E   	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    E   	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    E   	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    E   	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:552)
    E   	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:466)
    E   	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    E   	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    E   	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    E   	at java.lang.Thread.run(Thread.java:919)
    



    Device sessions

    2. 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:1129: in test_community_mentions_push_notification
        self.errors.verify_no_errors()
    base_test_case.py:187: 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, issue #6 in https://github.com//issues/15500]]

    Device sessions

    3. test_community_hashtag_links_to_community_channels, id: 702948

    Device 2: Looking for a message by text: closed community
    Device 2: Find BaseElement by xpath: //*[starts-with(@text,'closed community')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@text='View']

    critical/test_public_chat_browsing.py:1212: in test_community_hashtag_links_to_community_channels
        self.chat_2.chat_element_by_text(community_name).view_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 2: BaseElement by xpath: `//*[starts-with(@text,'closed community')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@text='View']` 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_message_edit, id: 702843

    Device 1: Long press on BaseElement until expected element is shown
    Device 1: Find Button by xpath: //*[@text="Edit message"]

    critical/test_public_chat_browsing.py:603: in test_community_message_edit
        self.channel_1.edit_message_in_chat(message_before_edit, message_after_edit)
    ../views/chat_view.py:1021: in edit_message_in_chat
        element.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Edit message"]` 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 TestActivityMultipleDevicePR:

    1. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947

    Test setup failed: medium/test_activity_center.py:151: in prepare_devices
        self.home_2.handle_contact_request(self.username_1)
    ../views/home_view.py:374: in handle_contact_request
        chat_element.accept_contact_request()
    ../views/home_view.py:158: in accept_contact_request
        self.handle_cr("accept-contact-request")
    ../views/home_view.py:155: in handle_cr
        ).wait_for_rendering_ended_and_click()
    ../views/base_element.py:163: in wait_for_rendering_ended_and_click
        self.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: Button by xpath: `//*[contains(@text, 'user1')]/ancestor::*[@content-desc='activity']/*[@content-desc="accept-contact-request"]` 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
    



    2. test_activity_center_admin_notification_accept_swipe, id: 702958

    Test setup failed: medium/test_activity_center.py:151: in prepare_devices
        self.home_2.handle_contact_request(self.username_1)
    ../views/home_view.py:374: in handle_contact_request
        chat_element.accept_contact_request()
    ../views/home_view.py:158: in accept_contact_request
        self.handle_cr("accept-contact-request")
    ../views/home_view.py:155: in handle_cr
        ).wait_for_rendering_ended_and_click()
    ../views/base_element.py:163: in wait_for_rendering_ended_and_click
        self.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: Button by xpath: `//*[contains(@text, 'user1')]/ancestor::*[@content-desc='activity']/*[@content-desc="accept-contact-request"]` 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
    



    3. test_activity_center_mentions, id: 702957

    Test setup failed: medium/test_activity_center.py:151: in prepare_devices
        self.home_2.handle_contact_request(self.username_1)
    ../views/home_view.py:374: in handle_contact_request
        chat_element.accept_contact_request()
    ../views/home_view.py:158: in accept_contact_request
        self.handle_cr("accept-contact-request")
    ../views/home_view.py:155: in handle_cr
        ).wait_for_rendering_ended_and_click()
    ../views/base_element.py:163: in wait_for_rendering_ended_and_click
        self.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: Button by xpath: `//*[contains(@text, 'user1')]/ancestor::*[@content-desc='activity']/*[@content-desc="accept-contact-request"]` 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
    



    4. test_navigation_jump_to, id: 702936

    Device 2: Accepting incoming CR for user1
    Device 2: Find Button by xpath: //*[contains(@text, 'user1')]/ancestor::*[@content-desc='activity']/*[@content-desc="accept-contact-request"]

    Test setup failed: medium/test_activity_center.py:151: in prepare_devices
        self.home_2.handle_contact_request(self.username_1)
    ../views/home_view.py:374: in handle_contact_request
        chat_element.accept_contact_request()
    ../views/home_view.py:158: in accept_contact_request
        self.handle_cr("accept-contact-request")
    ../views/home_view.py:155: in handle_cr
        ).wait_for_rendering_ended_and_click()
    ../views/base_element.py:163: in wait_for_rendering_ended_and_click
        self.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: Button by xpath: `//*[contains(@text, 'user1')]/ancestor::*[@content-desc='activity']/*[@content-desc="accept-contact-request"]` 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

    Passed tests (26)

    Click to expand

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_reactions, id: 703202
    Device sessions

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

    6. test_community_discovery, id: 703503
    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 TestCommunityMultipleDeviceMerged:

    1. test_community_leave, id: 702845
    Device sessions

    2. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    3. test_community_contact_block_unblock_offline, id: 702894
    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_markdown_support, id: 702809
    Device sessions

    8. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    9. test_community_one_image_send_reply, id: 702859
    Device sessions

    10. test_community_several_images_send_reply, id: 703194
    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_mute_chat, id: 703496
    Device sessions

    4. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    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

    @status-im status-im deleted a comment from status-im-auto Aug 30, 2023
    @pavloburykh
    Copy link
    Contributor

    @cammellos thank you for the PR. Failed e2e are not PR related. Ready for merge.

    @pavloburykh
    Copy link
    Contributor

    @cammellos oops, I have forgotten about design-review stage. Let's wait for @Francesca-G approval before merge.

    @cammellos
    Copy link
    Contributor Author

    @pavloburykh this PR has no visual changes, other than replacing 3 words name to compressed pk, and I am not sure we ever show that in the designs (designs always show a display name), but happy for it to go through a design review of course

    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.

    Looks good to me.

    The only place I've managed to find 3-worded names is the community member list which I think hasn't been implemented yet with the new design, so it makes sense

    97079777-96BF-4B2E-B956-56B02B81D2F8_1_102_o

    @cammellos cammellos force-pushed the bug/remove-3-words-alias branch from 83f96ff to a00eb62 Compare August 30, 2023 15:48
    @cammellos cammellos merged commit a00eb62 into develop Aug 30, 2023
    @cammellos cammellos deleted the bug/remove-3-words-alias branch August 30, 2023 15:49
    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.

    10 participants