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

[15902] BUGFIX - Resolve public keys into the user's name in the confirmation drawer #16176

Merged
merged 5 commits into from
Jun 27, 2023

Conversation

ibrkhalil
Copy link
Contributor

fixes #15902

Summary

Fixes wrong OR operator on confirmation drawer of destructive actions on chat items on the home screen.

status: ready

@status-im-auto
Copy link
Member

status-im-auto commented Jun 5, 2023

Jenkins Builds

Click to see older builds (44)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 2d7166e #1 2023-06-05 05:39:11 ~6 min android 🤖apk 📲
✔️ 2d7166e #1 2023-06-05 05:39:12 ~6 min android-e2e 🤖apk 📲
✔️ 2d7166e #1 2023-06-05 05:39:39 ~6 min ios 📱ipa 📲
✔️ 2d7166e #1 2023-06-05 05:40:47 ~7 min tests 📄log
✔️ e01930b #2 2023-06-09 07:55:16 ~5 min android-e2e 🤖apk 📲
✔️ e01930b #2 2023-06-09 07:55:33 ~5 min android 🤖apk 📲
✔️ e01930b #2 2023-06-09 07:55:51 ~6 min ios 📱ipa 📲
✔️ e01930b #2 2023-06-09 07:57:37 ~7 min tests 📄log
✔️ d25bc7f #3 2023-06-10 05:25:26 ~6 min android 🤖apk 📲
✔️ d25bc7f #3 2023-06-10 05:25:40 ~6 min android-e2e 🤖apk 📲
✔️ d25bc7f #3 2023-06-10 05:26:43 ~7 min ios 📱ipa 📲
✔️ d25bc7f #3 2023-06-10 05:27:46 ~8 min tests 📄log
✔️ d0d5793 #4 2023-06-10 08:46:09 ~5 min android-e2e 🤖apk 📲
✔️ d0d5793 #4 2023-06-10 08:46:17 ~5 min android 🤖apk 📲
✔️ d0d5793 #4 2023-06-10 08:47:15 ~6 min ios 📱ipa 📲
✔️ d0d5793 #4 2023-06-10 08:48:26 ~7 min tests 📄log
d720f39 #5 2023-06-12 08:20:02 ~4 min tests 📄log
✔️ d720f39 #5 2023-06-12 08:22:06 ~6 min ios 📱ipa 📲
✔️ d720f39 #5 2023-06-12 08:23:58 ~8 min android-e2e 🤖apk 📲
✔️ d720f39 #5 2023-06-12 08:24:07 ~8 min android 🤖apk 📲
289a821 #7 2023-06-18 08:28:53 ~5 min tests 📄log
✔️ 289a821 #7 2023-06-18 08:30:18 ~6 min ios 📱ipa 📲
✔️ 289a821 #7 2023-06-18 08:39:06 ~15 min android-e2e 🤖apk 📲
✔️ 289a821 #7 2023-06-18 08:39:19 ~15 min android 🤖apk 📲
✔️ e15b6f7 #8 2023-06-23 09:08:32 ~6 min android-e2e 🤖apk 📲
✔️ e15b6f7 #8 2023-06-23 09:08:43 ~6 min android 🤖apk 📲
✔️ e15b6f7 #8 2023-06-23 09:10:49 ~8 min tests 📄log
✔️ e15b6f7 #8 2023-06-23 09:11:01 ~8 min ios 📱ipa 📲
✔️ 0188b7b #9 2023-06-23 11:28:28 ~6 min android-e2e 🤖apk 📲
✔️ 0188b7b #9 2023-06-23 11:29:05 ~6 min ios 📱ipa 📲
✔️ 0188b7b #9 2023-06-23 11:29:50 ~7 min android 🤖apk 📲
✔️ 0188b7b #9 2023-06-23 11:30:56 ~8 min tests 📄log
✔️ 5e9282a #10 2023-06-25 13:37:24 ~5 min android 🤖apk 📲
✔️ 5e9282a #10 2023-06-25 13:38:57 ~7 min android-e2e 🤖apk 📲
✔️ 5e9282a #10 2023-06-25 13:39:44 ~8 min ios 📱ipa 📲
✔️ 5e9282a #10 2023-06-25 13:39:46 ~8 min tests 📄log
✔️ 1b40f5e #11 2023-06-25 14:26:29 ~5 min android 🤖apk 📲
✔️ 1b40f5e #11 2023-06-25 14:26:35 ~5 min android-e2e 🤖apk 📲
✔️ 1b40f5e #11 2023-06-25 14:29:01 ~8 min tests 📄log
✔️ 1b40f5e #11 2023-06-25 14:30:11 ~9 min ios 📱ipa 📲
✔️ aeccf04 #12 2023-06-26 10:59:00 ~7 min android 🤖apk 📲
✔️ aeccf04 #12 2023-06-26 10:59:00 ~7 min android-e2e 🤖apk 📲
✔️ aeccf04 #12 2023-06-26 10:59:43 ~7 min ios 📱ipa 📲
✔️ aeccf04 #12 2023-06-26 11:01:13 ~9 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 146f4a6 #13 2023-06-26 14:13:34 ~6 min android-e2e 🤖apk 📲
✔️ 146f4a6 #13 2023-06-26 14:13:39 ~7 min android 🤖apk 📲
✔️ 146f4a6 #13 2023-06-26 14:14:14 ~7 min ios 📱ipa 📲
✔️ 146f4a6 #13 2023-06-26 14:14:36 ~7 min tests 📄log
✔️ 44a7812 #14 2023-06-27 07:28:08 ~7 min android-e2e 🤖apk 📲
✔️ 44a7812 #14 2023-06-27 07:28:11 ~7 min android 🤖apk 📲
✔️ 44a7812 #14 2023-06-27 07:28:52 ~7 min tests 📄log
✔️ 44a7812 #14 2023-06-27 07:31:38 ~10 min ios 📱ipa 📲

@ibrkhalil ibrkhalil changed the title [15902] Resolve public keys into the user's name [15902] BUGFIX - Resolve public keys into the user's name in the confirmation drawer Jun 5, 2023
(when-not group-chat
(rf/sub [:contacts/contact-name-by-identity id])))
(rf/sub [:contacts/contact-name-by-identity id]))
Copy link
Contributor

Choose a reason for hiding this comment

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

This is the kind of thing we should have a subscription for, so that we can avoid code duplication to handle the logic for display names.

Copy link
Contributor

Choose a reason for hiding this comment

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

can we either add this as part of this pr, or create a follow up issue so it can be addressed?

@status-im-auto
Copy link
Member

89% of end-end tests have passed

Total executed tests: 9
Failed tests: 1
Passed tests: 8
Not executed tests: 24
IDs of not executed tests: 702730,702782,702731,702745,702813,702855,702733,702783,702784,702838,702843,702839,702859,703194,702840,702841,702844,702894,702845,702786,703086,702846,702742,703133 
IDs of failed tests: 702732 

Not executed tests (24)

Click to expand
  • Rerun not executed tests
  • Failed tests (1)

    Click to expand
  • Rerun failed tests

  • Class TestGroupChatMultipleDeviceMergedNewUI:

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

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

    Passed tests (8)

    Click to expand

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    2. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    2. test_group_chat_offline_pn, id: 702808
    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_navigation_jump_to, id: 702936
    Device sessions

    4. test_activity_center_mentions, id: 702957
    Device sessions

    @VolodLytvynenko
    Copy link
    Contributor

    Hi @ibrkhalil thank you for your PR. unfortunately one issue is still reproduced

    ISSUE 1: User's chatkey is shown instead of display name/ENS/nickname when the image is opened

    Steps to Reproduce:

    1. Open a chat conversation.
    2. Send the image with the mention
    3. Tap on an image

    Actual Result:

    When the image is opened, the user's chatkey is displayed instead of their display name, ENS or nickname.
    image

    Expected Result:

    When the image is opened, the user's display name, ENS, or nickname should be shown instead of their chatkey.

    @ibrkhalil
    Copy link
    Contributor Author

    Hi @ibrkhalil thank you for your PR. unfortunately one issue is still reproduced

    ISSUE 1: User's chatkey is shown instead of display name/ENS/nickname when the image is opened

    Steps to Reproduce:

    1. Open a chat conversation.
    2. Send the image with the mention
    3. Tap on an image

    Actual Result:

    When the image is opened, the user's chatkey is displayed instead of their display name, ENS or nickname. image

    Expected Result:

    When the image is opened, the user's display name, ENS, or nickname should be shown instead of their chatkey.

    I think we're going to disable the text preview for now as @OmarBasem is still working on features here, But I will add the resolving of the public-key->name here too.

    @ibrkhalil
    Copy link
    Contributor Author

    ibrkhalil commented Jun 10, 2023

    Hi @ibrkhalil thank you for your PR. unfortunately one issue is still reproduced

    ISSUE 1: User's chatkey is shown instead of display name/ENS/nickname when the image is opened

    Steps to Reproduce:

    1. Open a chat conversation.
    2. Send the image with the mention
    3. Tap on an image

    Actual Result:

    When the image is opened, the user's chatkey is displayed instead of their display name, ENS or nickname. image

    Expected Result:

    When the image is opened, the user's display name, ENS, or nickname should be shown instead of their chatkey.

    This will require creating another endpoint on status-go to resolve mentions for a message, Instead of the current implementation which only concerns resolving them for composer.
    I'll start working on this but let's please make it a separate issue from this one as it's a bit different.

    @ibrkhalil
    Copy link
    Contributor Author

    Hi @ibrkhalil thank you for your PR. unfortunately one issue is still reproduced

    ISSUE 1: User's chatkey is shown instead of display name/ENS/nickname when the image is opened

    Steps to Reproduce:

    1. Open a chat conversation.
    2. Send the image with the mention
    3. Tap on an image

    Actual Result:

    When the image is opened, the user's chatkey is displayed instead of their display name, ENS or nickname. image

    Expected Result:

    When the image is opened, the user's display name, ENS, or nickname should be shown instead of their chatkey.

    This will require creating another endpoint on status-go to resolve mentions for a message, Instead of the current implementation which only concerns resolving them for composer. I'll start working on this but let's please make it a separate issue from this one as it's a bit different.

    Sorry for this, I actually realized I can reuse the same endpoint/logic we use when rendering textual messages.
    This is fixed.

    @ibrkhalil
    Copy link
    Contributor Author

    BLOCKED: Until we fix the image description view in Lightbox

    @VolodLytvynenko
    Copy link
    Contributor

    Hi, @ibrkhalil issue 1 is fixed. Thank you! One more issue has been identified, but I'm unsure if it is within the scope of this PR. Please let me know if it would be better to address it in a separate follow-up.

    ISSUE 2: "Changing onViewableItemsChanged error on the fly is not supported" error shown when tapping on a mention within an opened image

    Steps:

    1. Send image with the mention
    2. Open the image
    3. Tap the mention

    Actual result:

    When tapping on a mention within the opened image, an error message is displayed: "Changing onViewableItemsChanged error on the fly is not supported".

    error_mention.mp4

    Expected result:

    The mention navigates the user to the appropriate profile

    logs:

    Status.log
    https://www.dropbox.com/s/hlt862peoreoa9o/geth.log?dl=0

    @ibrkhalil
    Copy link
    Contributor Author

    Hi, @ibrkhalil issue 1 is fixed. Thank you! One more issue has been identified, but I'm unsure if it is within the scope of this PR. Please let me know if it would be better to address it in a separate follow-up.

    ISSUE 2: "Changing onViewableItemsChanged error on the fly is not supported" error shown when tapping on a mention within an opened image

    Steps:

    1. Send image with the mention
    2. Open the image
    3. Tap the mention

    Actual result:

    When tapping on a mention within the opened image, an error message is displayed: "Changing onViewableItemsChanged error on the fly is not supported".

    error_mention.mp4

    Expected result:

    The mention navigates the user to the appropriate profile

    logs:

    Status.log https://www.dropbox.com/s/hlt862peoreoa9o/geth.log?dl=0

    Let's do this as a follow up, As it's not related and also it'll require testing on multiple devices

    :status-tag
    (let [community-id (rf/sub [:community-id-by-chat-id chat-id])]
    [units {:keys [type literal destination]} chat-id style-override]
    (let [show-as-plain-text? (seq style-override)]
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    this could just be the prop value instead, would be slightly nicer as you don't couple style override to this.
    e.g

    (defn render-inline
      [units {:keys [type literal destination]} chat-id show-as-plain-text? ]
      ...
    
    (render-inline {...} "chat-id" (seq style-override)) ...
    

    @status-im-auto
    Copy link
    Member

    39% of end-end tests have passed

    Total executed tests: 33
    Failed tests: 20
    Passed tests: 13
    
    IDs of failed tests: 703194,702859,702732,703133,702957,702840,703086,702894,702783,702936,702786,702839,702947,702838,702844,702843,702731,702845,702958,702841 
    

    Failed tests (20)

    Click to expand
  • Rerun failed tests

  • Class TestGroupChatMultipleDeviceMergedNewUI:

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

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

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

    # STEP: Device1 goes back online and checks that 1-1 chat will be fetched
    Device 1: Looking for a message by text: test message

    critical/chats/test_1_1_public_chats.py:1253: in test_1_1_chat_is_shown_message_sent_delivered_from_offline
        self.errors.verify_no_errors()
    base_test_case.py:182: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message status was not delivered after back up online, it is "Sending"! 
    

    [[Issue with messages not being sent for a long time]]

    Device sessions

    2. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

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

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194

    Test setup failed: critical/test_public_chat_browsing.py:442: in prepare_devices
        self.channel_1.send_message(self.text_message)
    ../views/chat_view.py:959: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:348: 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
    



    2. test_community_one_image_send_reply, id: 702859

    Test setup failed: critical/test_public_chat_browsing.py:442: in prepare_devices
        self.channel_1.send_message(self.text_message)
    ../views/chat_view.py:959: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:348: 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
    



    3. test_community_emoji_send_copy_paste_reply, id: 702840

    Test setup failed: critical/test_public_chat_browsing.py:442: in prepare_devices
        self.channel_1.send_message(self.text_message)
    ../views/chat_view.py:959: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:348: 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
    



    4. test_community_mark_all_messages_as_read, id: 703086

    Test setup failed: critical/test_public_chat_browsing.py:442: in prepare_devices
        self.channel_1.send_message(self.text_message)
    ../views/chat_view.py:959: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:348: 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
    



    5. test_community_contact_block_unblock_offline, id: 702894

    Test setup failed: critical/test_public_chat_browsing.py:442: in prepare_devices
        self.channel_1.send_message(self.text_message)
    ../views/chat_view.py:959: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:348: 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
    



    6. test_community_mentions_push_notification, id: 702786

    Test setup failed: critical/test_public_chat_browsing.py:442: in prepare_devices
        self.channel_1.send_message(self.text_message)
    ../views/chat_view.py:959: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:348: 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
    



    7. test_community_message_delete, id: 702839

    Test setup failed: critical/test_public_chat_browsing.py:442: in prepare_devices
        self.channel_1.send_message(self.text_message)
    ../views/chat_view.py:959: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:348: 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
    



    8. test_community_message_send_check_timestamps_sender_username, id: 702838

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

    Test setup failed: critical/test_public_chat_browsing.py:442: in prepare_devices
        self.channel_1.send_message(self.text_message)
    ../views/chat_view.py:959: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:348: 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

    9. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844

    Test setup failed: critical/test_public_chat_browsing.py:442: in prepare_devices
        self.channel_1.send_message(self.text_message)
    ../views/chat_view.py:959: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:348: 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
    



    10. test_community_message_edit, id: 702843

    Test setup failed: critical/test_public_chat_browsing.py:442: in prepare_devices
        self.channel_1.send_message(self.text_message)
    ../views/chat_view.py:959: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:348: 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
    



    11. test_community_leave, id: 702845

    Test setup failed: critical/test_public_chat_browsing.py:442: in prepare_devices
        self.channel_1.send_message(self.text_message)
    ../views/chat_view.py:959: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:348: 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
    



    12. test_community_unread_messages_badge, id: 702841

    Test setup failed: critical/test_public_chat_browsing.py:442: in prepare_devices
        self.channel_1.send_message(self.text_message)
    ../views/chat_view.py:959: in send_message
        self.chat_message_input.send_keys(message)
    ../views/base_element.py:348: 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
    



    Class TestActivityMultipleDevicePR:

    1. test_activity_center_mentions, id: 702957

    Test setup failed: medium/test_activity_center.py:124: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:302: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:26: in start_threads
        returns[k] = await returns[k]
    /usr/lib/python3.10/concurrent/futures/thread.py:58: in run
        result = self.fn(*self.args, **self.kwargs)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webdriver.py:267: in __init__
        super().__init__(
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:157: in __init__
        self.start_session(capabilities, browser_profile)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webdriver.py:357: in start_session
        response = self.execute(RemoteCommand.NEW_SESSION, parameters)
    /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/selenium/webdriver/remote/errorhandler.py:242: in check_response
        raise exception_class(message, screen, stacktrace)
     Sauce could not start your job. For more information on what happened, please visit https://app.eu-central-1.saucelabs.com/tests/d5acfab6c4324f3e88663ea65791eac9
    



    2. test_navigation_jump_to, id: 702936

    Test setup failed: medium/test_activity_center.py:124: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:302: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:26: in start_threads
        returns[k] = await returns[k]
    /usr/lib/python3.10/concurrent/futures/thread.py:58: in run
        result = self.fn(*self.args, **self.kwargs)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webdriver.py:267: in __init__
        super().__init__(
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:157: in __init__
        self.start_session(capabilities, browser_profile)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webdriver.py:357: in start_session
        response = self.execute(RemoteCommand.NEW_SESSION, parameters)
    /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/selenium/webdriver/remote/errorhandler.py:242: in check_response
        raise exception_class(message, screen, stacktrace)
     Sauce could not start your job. For more information on what happened, please visit https://app.eu-central-1.saucelabs.com/tests/d5acfab6c4324f3e88663ea65791eac9
    



    3. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947

    Test setup failed: medium/test_activity_center.py:124: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:302: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:26: in start_threads
        returns[k] = await returns[k]
    /usr/lib/python3.10/concurrent/futures/thread.py:58: in run
        result = self.fn(*self.args, **self.kwargs)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webdriver.py:267: in __init__
        super().__init__(
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:157: in __init__
        self.start_session(capabilities, browser_profile)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webdriver.py:357: in start_session
        response = self.execute(RemoteCommand.NEW_SESSION, parameters)
    /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/selenium/webdriver/remote/errorhandler.py:242: in check_response
        raise exception_class(message, screen, stacktrace)
     Sauce could not start your job. For more information on what happened, please visit https://app.eu-central-1.saucelabs.com/tests/d5acfab6c4324f3e88663ea65791eac9
    



    4. test_activity_center_admin_notification_accept_swipe, id: 702958

    Test setup failed: medium/test_activity_center.py:124: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:302: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(quantity,
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:26: in start_threads
        returns[k] = await returns[k]
    /usr/lib/python3.10/concurrent/futures/thread.py:58: in run
        result = self.fn(*self.args, **self.kwargs)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webdriver.py:267: in __init__
        super().__init__(
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:157: in __init__
        self.start_session(capabilities, browser_profile)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webdriver.py:357: in start_session
        response = self.execute(RemoteCommand.NEW_SESSION, parameters)
    /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/selenium/webdriver/remote/errorhandler.py:242: in check_response
        raise exception_class(message, screen, stacktrace)
     Sauce could not start your job. For more information on what happened, please visit https://app.eu-central-1.saucelabs.com/tests/d5acfab6c4324f3e88663ea65791eac9
    



    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:406: in test_restore_multiaccount_with_waku_backup_remove_switch
        self.errors.verify_no_errors()
    base_test_case.py:182: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Contact my-custom-nickname was not restored from backup!
    



    Device sessions

    Passed tests (13)

    Click to expand

    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

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    2. test_group_chat_offline_pn, id: 702808
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    3. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    4. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    5. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    6. test_1_1_chat_edit_message, id: 702855
    Device sessions

    7. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    @status-im-auto
    Copy link
    Member

    79% of end-end tests have passed

    Total executed tests: 33
    Failed tests: 7
    Passed tests: 26
    
    IDs of failed tests: 702732,703133,703086,702745,702783,702731,702958 
    

    Failed tests (7)

    Click to expand
  • Rerun failed tests

  • Class TestGroupChatMultipleDeviceMergedNewUI:

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

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

    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.107560700061274 percents

    critical/chats/test_1_1_public_chats.py:1076: in test_1_1_chat_non_latin_messages_stack_update_profile_photo
        self.errors.verify_no_errors()
    base_test_case.py:182: 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_is_shown_message_sent_delivered_from_offline, id: 702783

    # STEP: Device1 goes back online and checks that 1-1 chat will be fetched
    Device 1: Looking for a message by text: test message

    critical/chats/test_1_1_public_chats.py:1253: in test_1_1_chat_is_shown_message_sent_delivered_from_offline
        self.errors.verify_no_errors()
    base_test_case.py:182: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message status was not delivered after back up online, it is "Sending"! 
    

    [[Issue with messages not being sent for a long time]]

    Device sessions

    3. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

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

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_admin_notification_accept_swipe, id: 702958

    Device 1: Looking for activity center element: 'user2'
    Device 1: Find Button by xpath: //*[contains(@text, 'user2')]/ancestor::*[@content-desc='activity']//*[@content-desc="activity-title"]

    medium/test_activity_center.py:331: in test_activity_center_admin_notification_accept_swipe
        if reply_element.title.text != 'Join request':
    ../views/base_element.py:209: in text
        return self.find_element().text
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[contains(@text, 'user2')]/ancestor::*[@content-desc='activity']//*[@content-desc="activity-title"]` is not found on the screen
    



    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_mark_all_messages_as_read, id: 703086

    Device 1: Find Button by accessibility id: mark-as-read
    Device 1: Tap on found: Button

    critical/test_public_chat_browsing.py:812: in test_community_mark_all_messages_as_read
        self.errors.verify_no_errors()
    base_test_case.py:182: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     New messages counter is not shown in home > Commmunity element
    



    Device sessions

    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:406: in test_restore_multiaccount_with_waku_backup_remove_switch
        self.errors.verify_no_errors()
    base_test_case.py:182: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Contact my-custom-nickname was not restored from backup!
    



    Device sessions

    Passed tests (26)

    Click to expand

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    2. test_group_chat_offline_pn, id: 702808
    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

    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

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194
    Device sessions

    2. test_community_one_image_send_reply, id: 702859
    Device sessions

    3. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    4. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    5. test_community_mentions_push_notification, id: 702786
    Device sessions

    6. test_community_message_delete, id: 702839
    Device sessions

    7. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    8. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    9. test_community_message_edit, id: 702843
    Device sessions

    10. test_community_leave, id: 702845
    Device sessions

    11. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    3. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    4. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    5. test_1_1_chat_edit_message, id: 702855
    Device sessions

    6. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    @VolodLytvynenko
    Copy link
    Contributor

    hi @ibrkhalil, thank you for the fixes. Sorry for the testing delay. No issues from my side. Ready to be merged

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    No open projects
    Archived in project
    Development

    Successfully merging this pull request may close these issues.

    Public keys in image description instead of usernames
    7 participants