Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: password input triggers re-render of whole login view #18728

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

yqrashawn
Copy link
Contributor

@yqrashawn yqrashawn commented Feb 6, 2024

fixes #18011

Summary

debounce pwd input for better performance

Add a 100ms denounce for password input. Only affects dev experience.

before

CleanShot.2024-02-06.at.12.28.52.mp4

after

CleanShot.2024-02-06.at.12.27.41.mp4

Testing notes

Affected area: login screen

Should have better performance

status: ready

@status-im-auto
Copy link
Member

status-im-auto commented Feb 6, 2024

Jenkins Builds

Click to see older builds (33)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 7270137 #1 2024-02-06 04:37:46 ~5 min tests 📄log
✔️ 7270137 #1 2024-02-06 04:37:57 ~5 min ios 📱ipa 📲
✔️ 7270137 #1 2024-02-06 04:39:51 ~7 min android-e2e 🤖apk 📲
✔️ 7270137 #1 2024-02-06 04:39:57 ~7 min android 🤖apk 📲
✔️ 27d1f63 #2 2024-02-06 06:46:02 ~5 min tests 📄log
✔️ 27d1f63 #2 2024-02-06 06:46:36 ~5 min ios 📱ipa 📲
✔️ 27d1f63 #2 2024-02-06 06:48:25 ~7 min android 🤖apk 📲
✔️ 27d1f63 #2 2024-02-06 06:48:25 ~7 min android-e2e 🤖apk 📲
cc891bc #3 2024-02-06 06:50:14 ~1 min tests 📄log
✔️ 4547adb #5 2024-02-06 07:01:39 ~5 min tests 📄log
✔️ 4547adb #5 2024-02-06 07:02:04 ~5 min ios 📱ipa 📲
✔️ 4547adb #5 2024-02-06 07:03:19 ~6 min android-e2e 🤖apk 📲
✔️ 4547adb #5 2024-02-06 07:03:43 ~7 min android 🤖apk 📲
✔️ cc74b9f #6 2024-02-07 05:48:18 ~5 min tests 📄log
✔️ cc74b9f #6 2024-02-07 05:48:42 ~5 min ios 📱ipa 📲
✔️ cc74b9f #6 2024-02-07 05:50:38 ~7 min android-e2e 🤖apk 📲
✔️ cc74b9f #6 2024-02-07 05:50:44 ~7 min android 🤖apk 📲
✔️ aed958d #7 2024-02-08 07:43:06 ~5 min tests 📄log
✔️ aed958d #7 2024-02-08 07:44:27 ~7 min android-e2e 🤖apk 📲
✔️ aed958d #7 2024-02-08 07:45:03 ~7 min ios 📱ipa 📲
✔️ aed958d #7 2024-02-08 07:45:15 ~7 min android 🤖apk 📲
✔️ 5430747 #8 2024-02-13 09:51:29 ~5 min tests 📄log
✔️ 5430747 #8 2024-02-13 09:52:09 ~5 min ios 📱ipa 📲
✔️ 5430747 #8 2024-02-13 09:53:08 ~6 min android-e2e 🤖apk 📲
✔️ 5430747 #8 2024-02-13 09:54:18 ~7 min android 🤖apk 📲
✔️ cfdf3bf #9 2024-02-14 10:46:34 ~5 min tests 📄log
✔️ cfdf3bf #9 2024-02-14 10:48:20 ~7 min ios 📱ipa 📲
✔️ cfdf3bf #9 2024-02-14 10:48:57 ~8 min android-e2e 🤖apk 📲
✔️ cfdf3bf #9 2024-02-14 10:49:04 ~8 min android 🤖apk 📲
✔️ 42f8ec0 #10 2024-02-19 02:39:15 ~5 min ios 📱ipa 📲
✔️ 42f8ec0 #10 2024-02-19 02:40:12 ~6 min android 🤖apk 📲
✔️ 42f8ec0 #10 2024-02-19 02:40:27 ~7 min android-e2e 🤖apk 📲
✔️ 42f8ec0 #11 2024-02-19 11:09:32 ~5 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ e4f3553 #12 2024-02-20 01:47:40 ~5 min tests 📄log
✔️ e4f3553 #11 2024-02-20 01:48:40 ~6 min ios 📱ipa 📲
✔️ e4f3553 #11 2024-02-20 01:48:59 ~6 min android 🤖apk 📲
✔️ e99c9c0 #13 2024-02-20 01:54:38 ~4 min tests 📄log
✔️ e99c9c0 #12 2024-02-20 01:56:08 ~6 min ios 📱ipa 📲
✔️ e99c9c0 #12 2024-02-20 01:57:13 ~7 min android 🤖apk 📲
✔️ e99c9c0 #12 2024-02-20 01:57:18 ~7 min android-e2e 🤖apk 📲

@yqrashawn
Copy link
Contributor Author

This only affects dev experience. Added skip manual qa tag.

@status-im-auto
Copy link
Member

40% of end-end tests have passed

Total executed tests: 48
Failed tests: 28
Expected to fail tests: 1
Passed tests: 19
IDs of failed tests: 702809,702782,702733,703194,702859,702732,702957,702851,703495,702948,702894,702745,702783,703297,704615,703496,702855,703202,702786,702839,702844,702843,702731,702808,702730,702958,703629,702841 
IDs of expected to fail tests: 703503 

Failed tests (28)

Click to expand
  • Rerun failed tests

  • Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957

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

    Test setup failed: activity_center/test_activity_center.py:409: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:442: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958

    Test setup failed: activity_center/test_activity_center.py:409: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:442: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by accessibility id:`status-tag-positive` is not found on the screen after wait_for_visibility_of_element
    



    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

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

    critical/chats/test_1_1_public_chats.py:612: in test_1_1_chat_is_shown_message_sent_delivered_from_offline
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message status was not changed to Delivered, it's Sending after back up online!
    



    Device sessions

    2. test_1_1_chat_mute_chat, id: 703496

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

    critical/chats/test_1_1_public_chats.py:653: in test_1_1_chat_mute_chat
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     New messages counter is not shown after unmute
    E    Message text 'after unmute' is not shown in chat preview after unmute
    E    Message 'after unmute' is not shown in chat for receiver after unmute
    



    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782

    Device 2: Long press on ChatElementByText until expected element is shown
    Device 2: Find Button by accessibility id: reaction-thumbs-up

    critical/chats/test_1_1_public_chats.py:157: in test_1_1_chat_emoji_send_reply_and_open_link
        self.chat_2.set_reaction(url_message)
    ../views/chat_view.py:1087: in set_reaction
        element.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 accessibility id: `reaction-thumbs-up` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733

    Device 2: Find Text by xpath: //*[starts-with(@text,'smth I should edit')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']
    Device 2: Tap on found: Text

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



    Device sessions

    3. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745

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

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



    Device sessions

    4. test_1_1_chat_edit_message, id: 702855

    Device 2: Find Text by xpath: //*[starts-with(@text,'Message before edit 1-1')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']
    Device 2: Tap on found: Text

    critical/chats/test_1_1_public_chats.py:381: in test_1_1_chat_edit_message
        self.chat_2.chat_element_by_text(message_before_edit_1_1).wait_for_status_to_be("Delivered")
    ../views/chat_view.py:243: in wait_for_status_to_be
        raise TimeoutException("Message status was not changed to %s, it's %s" % (expected_status, current_status))
     Message status was not changed to Delivered, it's Sending
    



    Device sessions

    5. test_1_1_chat_pin_messages, id: 702731

    Device 1: Find Text by xpath: //*[starts-with(@text,'Message 1')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']
    Device 1: Tap on found: Text

    critical/chats/test_1_1_public_chats.py:186: in test_1_1_chat_pin_messages
        self.chat_1.chat_element_by_text(self.message_1).wait_for_status_to_be("Delivered")
    ../views/chat_view.py:243: in wait_for_status_to_be
        raise TimeoutException("Message status was not changed to %s, it's %s" % (expected_status, current_status))
     Message status was not changed to Delivered, it's Sending
    



    Device sessions

    6. test_1_1_chat_message_reaction, id: 702730

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

    critical/chats/test_1_1_public_chats.py:64: in test_1_1_chat_message_reaction
        message_receiver.emojis_below_message(emoji="thumbs-up").wait_for_element_text(1, 90)
    ../views/base_element.py:173: in wait_for_element_text
        element_text = self.find_element().text.strip()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: EmojisNumber by xpath: `//*[starts-with(@text,'Message sender')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']/../..//*[@content-desc='emoji-reaction-2']/android.widget.TextView[2]` 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 TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194

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

    critical/chats/test_public_chat_browsing.py:428: in test_community_several_images_send_reply
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Gallery message was not received
    



    Device sessions

    2. test_community_one_image_send_reply, id: 702859

    Device 2: Long press on ChatElementByText until expected element is shown
    Device 2: Find Button by accessibility id: reaction-thumbs-up

    critical/chats/test_public_chat_browsing.py:488: in test_community_one_image_send_reply
        self.channel_2.set_reaction(message=image_description)
    ../views/chat_view.py:1087: in set_reaction
        element.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 accessibility id: `reaction-thumbs-up` 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

    3. test_community_contact_block_unblock_offline, id: 702894

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

    critical/chats/test_public_chat_browsing.py:705: in test_community_contact_block_unblock_offline
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Hurray! unblocked was not received in public chat after user unblock!
    



    Device sessions

    4. test_community_edit_delete_message_when_offline, id: 704615

    Device 1: Looking for a message by text: message to edit
    Device 1: Looking for a message by text: message to delete

    critical/chats/test_public_chat_browsing.py:781: in test_community_edit_delete_message_when_offline
        self.channel_1.driver.fail("Message '%s' was not received")
    base_test_case.py:179: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
     Device 1: Message '%s' was not received
    



    Device sessions

    5. test_community_message_delete, id: 702839

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

    critical/chats/test_public_chat_browsing.py:376: in test_community_message_delete
        self.channel_1.chat_element_by_text(message_to_delete_for_me).wait_for_element(120)
    ../views/base_element.py:121: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatElementByText` by` xpath`: `//*[starts-with(@text,'delete for me')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_element
    



    Device sessions

    6. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844

    Device 2: Tap on found: SendMessageButton
    Device 1: Getting preview message for link: https://youtu.be/Je7yErjEVt4

    critical/chats/test_public_chat_browsing.py:584: in test_community_links_with_previews_github_youtube_twitter_gif_send_enable
        message.wait_for_element(60)
    ../views/base_element.py:121: in wait_for_element
        raise TimeoutException(
     Device `1`: `PreviewMessage` by` xpath`: `//*[starts-with(@text,'https://youtu.be/Je7yErjEVt4')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_element
    



    Device sessions

    7. test_community_message_edit, id: 702843

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

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



    Device sessions

    8. test_community_unread_messages_badge, id: 702841

    # STEP: Check new messages badge is shown for community
    Device 1: Click until ChatMessageInput by accessibility id: chat-message-input will be presented

    critical/chats/test_public_chat_browsing.py:634: in test_community_unread_messages_badge
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     New message community badge is not shown
    E    New messages channel badge is not shown on channel
    



    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809

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

    critical/chats/test_public_chat_browsing.py:979: in test_community_markdown_support
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     bold text in asterics is not displayed with markdown in community channel for the recipient (device 1) 
    E   
    E    italic text in asteric is not displayed with markdown in community channel for the recipient (device 1) 
    E   
    E    code blocks is not displayed with markdown in community channel for the recipient (device 1) 
    E   
    E    italic text in underscore is not displayed with markdown in 1-1 chat for the recipient (device 2) 
    E   
    E    inline code is not displayed with markdown in 1-1 chat for the recipient (device 2) 
    E   
    E    code blocks is not displayed with markdown in 1-1 chat for the recipient (device 2)
    



    Device sessions

    2. test_community_hashtag_links_to_community_channels, id: 702948

    Device 2: ChatMessageInput element not found
    Device 2: Looking for a message by text: #cats

    critical/chats/test_public_chat_browsing.py:1062: in test_community_hashtag_links_to_community_channels
        self.channel_2.chat_element_by_text(message_with_hashtag).click_on_link_inside_message_body()
    ../views/chat_view.py:193: in click_on_link_inside_message_body
        self.message_body.wait_for_visibility_of_element(30)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Text by xpath:`//android.view.ViewGroup[@content-desc='chat-item']//android.widget.TextView[contains(@text,'#cats')]` is not found on the screen after wait_for_visibility_of_element; 
     RemoteDisconnected
    



    Device sessions

    3. test_community_mentions_push_notification, id: 702786

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

    critical/chats/test_public_chat_browsing.py:927: in test_community_mentions_push_notification
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message reaction is not shown for the sender
    



    Device sessions

    4. test_community_join_when_node_owner_offline, id: 703629

    Device 2: Find Text by xpath: //android.view.ViewGroup[@content-desc='chat-item']//android.widget.TextView[contains(@text,'https://status.app/c/')]
    Device 2: Wait for element Button for max 120s and click when it is available

    critical/chats/test_public_chat_browsing.py:1123: in test_community_join_when_node_owner_offline
        self.community_2.join_community(open_community=False)
    ../views/chat_view.py:436: in join_community
        self.join_button.wait_and_click(120)
    ../views/base_element.py:96: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Button by accessibility id:`show-request-to-join-screen-button` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732

    Device 1: Text is You
    Device 2: Find Button by xpath: //*[@content-desc='pins-count']//android.widget.TextView

    critical/chats/test_group_chat.py:384: in test_group_chat_pin_messages
        count = group_chat.pinned_messages_count.text
    ../views/base_element.py:229: in text
        return self.find_element().text
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: Button by xpath: `//*[@content-desc='pins-count']//android.widget.TextView` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    Device sessions

    2. test_group_chat_mute_chat, id: 703495

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

    critical/chats/test_group_chat.py:491: in test_group_chat_mute_chat
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message text 'Text message in the muted chat' is not shown in chat preview after mute
    E    New messages counter near chat name is not shown after unmute
    E    Message text 'Chat is unmuted now' is not shown in chat preview after unmute
    



    Device sessions

    3. test_group_chat_send_image_save_and_share, id: 703297

    # STEP: Member_2 checks image message
    Device 3: Looking for a message by text: test image

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



    Device sessions

    4. test_group_chat_reactions, id: 703202

    Device 2: Looking for a message by text: This is a test message to check some reactions.
    Device 2: Find ChatElementByText by xpath: //*[starts-with(@text,'This is a test message to check some reactions.')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']

    critical/chats/test_group_chat.py:109: in test_group_chat_reactions
        self.chats[1].set_reaction(message=message, emoji="thumbs-up")
    ../views/chat_view.py:1082: in set_reaction
        self.chat_element_by_text(message).long_press_until_element_is_shown(element)
    ../views/base_element.py:318: in long_press_until_element_is_shown
        element = self.find_element()
    ../views/chat_view.py:134: in find_element
        self.wait_for_visibility_of_element(20)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'This is a test message to check some reactions.')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    5. 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:324: in test_group_chat_offline_pn
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Messages PN was not fetched from offline
    E    message from old member if not shown for device 0
    E    message from new member if not shown for device 0
    



    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851

    Device 1: Find ChatsTab by accessibility id: chats-stack-tab
    Device 1: Tap on found: ChatsTab

    activity_center/test_activity_center.py:112: in test_activity_center_contact_request_accept_swipe_mark_all_as_read
        self.home_1.notifications_unread_badge.wait_for_visibility_of_element(30)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: BaseElement by accessibility id:`activity-center-unread-count` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    Expected to fail tests (1)

    Click to expand

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Test is not run, e2e blocker  
    

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

    Passed tests (19)

    Click to expand

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    2. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    3. test_community_undo_delete_message, id: 702869
    Device sessions

    4. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    5. test_community_mute_community_and_channel, id: 703382
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    2. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    2. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    3. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    Class TestDeepLinksOneDevice:

    1. test_links_open_universal_links_from_chat, id: 704613
    Device sessions

    2. test_links_deep_links, id: 702775
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_leave, id: 702845
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_add_contact_field_validation, id: 702777
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Copy link
    Member

    @flexsurfer flexsurfer left a comment

    Choose a reason for hiding this comment

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

    im not sure about this change, better to fix the screen itself so there shouldn't be any re-renders when password is changed

    @flexsurfer
    Copy link
    Member

    This only affects dev experience. Added skip manual qa tag.

    this change affects user first, not sure how its related to dev experience

    @yqrashawn
    Copy link
    Contributor Author

    Fixed the re-render by moving the password input out. @flexsurfer

    im not sure about this change, better to fix the screen itself so there shouldn't be any re-renders when password is changed

    There should be that many re-renders because it's the input that causes the whole view re-render and debounce the input did reduce re-renders

    this change affects user first, not sure how its related to dev experience

    User generally doesn't input password that fast, I use shortcuts to fill password and the password usually wrong without debounce.

    @yqrashawn yqrashawn changed the title fix: debounce password input fix: password input triggers re-render of whole login view Feb 6, 2024
    @yqrashawn
    Copy link
    Contributor Author

    yqrashawn commented Feb 6, 2024

    debounce removed
    added debounce back
    password is still incorrect even moved the pwd input out

    @yqrashawn yqrashawn force-pushed the fix/debounce-pwd-input branch 2 times, most recently from a198e3a to 4547adb Compare February 6, 2024 06:56
    @flexsurfer flexsurfer dismissed their stale review February 6, 2024 08:58

    i'll be off this week

    @pavloburykh
    Copy link
    Contributor

    pavloburykh commented Feb 6, 2024

    @yqrashawn please take a look at the issue

    ISSUE 1 Login button remains inactive after entering password value

    Steps:

    1. Logout
    2. Enter password
    3. See if login button becomes active after entering >= 6 symbols

    Actual result: Login button remains inactive. Unable to login the account.

    Expected result: login button should become active after entering >= 6 symbols in password field.

    telegram-cloud-document-2-5336873924753898950.mp4

    @yqrashawn @flexsurfer could you please explain what does this PR improves from user perspective? It is not clear for me from description what is currently wrong in terms of password input performance in our develop.

    (rf/dispatch [:set-in [:profile/login :password]
    (security/mask-data entered-password)])
    (rf/dispatch [:set-in [:profile/login :error] ""]))
    (debounce/debounce-and-dispatch [:set-in [:profile/login :password]
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    unrelated, should we not move the debounce and dispatch to the re-frame utils? I can't see how they're separate 🤷‍♂️

    Copy link
    Contributor

    @J-Son89 J-Son89 left a comment

    Choose a reason for hiding this comment

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

    this has bugged me for a long time, thanks for addressing it :)

    @siddarthkay
    Copy link
    Contributor

    could you please explain what does this PR improves from user perspective

    So the videos in description both type the input "Abcd1234::" very quickly.
    But in existing app, the ordering gets messed up and in @yqrashawn's fix the ordering is always proper.

    This only happens when you input password really quickly.
    I hope this explains the problem and the improvement.

    @yqrashawn
    Copy link
    Contributor Author

    could you please explain what does this PR improves from user perspective

    So the videos in description both type the input "Abcd1234::" very quickly. But in existing app, the ordering gets messed up and in @yqrashawn's fix the ordering is always proper.

    This only happens when you input password really quickly. I hope this explains the problem and the improvement.

    Yes, thanks for the explanation. @siddarthkay

    @yqrashawn
    Copy link
    Contributor Author

    Hi @pavloburykh, ISSUE1 should be fixed now. The password in #18728 (comment) is set to empty, so only new accounts will work.

    @mariia-skrypnyk
    Copy link

    mariia-skrypnyk commented Feb 14, 2024

    debounce removed added debounce back password is still incorrect even moved the pwd input out

    Hi @yqrashawn !

    Not sure I understand the current update regarding password fix.
    Does the issue still exist?
    Could it be caught manually by quick password typing?
    If not then will it be enough onbording+logout flow?

    @yqrashawn
    Copy link
    Contributor Author

    @mariia-skrypnyk ISSUE1 is fixed. I've rebased the PR

    Could it be caught manually by quick password typing?

    No, cause it's fixed. The wrong password in the before video can be caught before by quick password typing before this fix.

    If not then will it be enough onbording+logout flow?

    Yes

    @status-im-auto
    Copy link
    Member

    94% of end-end tests have passed

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

    Failed tests (2)

    Click to expand
  • Rerun failed tests

  • Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_mute_chat, id: 703495

    # STEP: Change device time so chat will be unmuted by timer
    Device 2: Long press on `ChatElement`

    critical/chats/test_group_chat.py:459: in test_group_chat_mute_chat
        chat.long_press_element()
    ../views/base_element.py:315: in long_press_element
        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))
     androidx.test.uiautomator.StaleObjectException; 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: androidx.test.uiautomator.StaleObjectException
    E   	at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:63)
    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:1012)
    E   Caused by: androidx.test.uiautomator.StaleObjectException
    E   	at androidx.test.uiautomator.UiObject2.getAccessibilityNodeInfo(UiObject2.java:647)
    E   	at androidx.test.uiautomator.UiObject2.hashCode(UiObject2.java:105)
    E   	at java.lang.Object.toString(Object.java:299)
    E   	at java.util.Formatter$FormatSpecifier.printString(Formatter.java:3138)
    E   	at java.util.Formatter$FormatSpecifier.print(Formatter.java:3015)
    E   	at java.util.Formatter.format(Formatter.java:2678)
    E   	at java.util.Formatter.format(Formatter.java:2614)
    E   	at java.lang.String.format(String.java:4017)
    E   	at io.appium.uiautomator2.utils.ReflectionUtils.invoke(ReflectionUtils.java:85)
    E   	at io.appium.uiautomator2.core.AxNodeInfoExtractor.extractAxNodeInfo(AxNodeInfoExtractor.java:58)
    E   	at io.appium.uiautomator2.core.AxNodeInfoExtractor.toAxNodeInfo(AxNodeInfoExtractor.java:48)
    E   	at io.appium.uiautomator2.model.BaseElement.getBounds(BaseElement.java:171)
    E   	at io.appium.uiautomator2.handler.Location.safeHandle(Location.java:24)
    E   	at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)
    E   	... 33 more
    



    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_undo_delete_message, id: 702869

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

    critical/chats/test_public_chat_browsing.py:112: in test_community_undo_delete_message
        self.channel.element_by_text("Undo").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="Undo"]` 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

    Expected to fail tests (1)

    Click to expand

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Test is not run, e2e blocker  
    

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

    Passed tests (45)

    Click to expand

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    4. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    5. test_1_1_chat_edit_message, id: 702855
    Device sessions

    6. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    7. test_1_1_chat_pin_messages, id: 702731
    Device sessions

    8. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    3. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732
    Device sessions

    2. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    3. test_group_chat_reactions, id: 703202
    Device sessions

    4. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    5. test_group_chat_offline_pn, id: 702808
    Device sessions

    Class TestDeepLinksOneDevice:

    1. test_links_open_universal_links_from_chat, id: 704613
    Device sessions

    2. test_links_deep_links, id: 702775
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    3. test_community_mentions_push_notification, id: 702786
    Device sessions

    4. test_community_leave, id: 702845
    Device sessions

    5. test_community_join_when_node_owner_offline, id: 703629
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_add_contact_field_validation, id: 702777
    Device sessions

    2. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    3. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194
    Device sessions

    2. test_community_one_image_send_reply, id: 702859
    Device sessions

    3. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    4. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    5. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    6. test_community_edit_delete_message_when_offline, id: 704615
    Device sessions

    7. test_community_message_delete, id: 702839
    Device sessions

    8. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    9. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    10. test_community_message_edit, id: 702843
    Device sessions

    11. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    2. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    3. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    4. test_community_mute_community_and_channel, id: 703382
    Device sessions

    @mariia-skrypnyk
    Copy link

    @yqrashawn Thanks for your fix!
    Onboarding+logout flow is working fine.
    Failed 2e2 tests are not related so please, fill free to merge.

    @status-im-auto
    Copy link
    Member

    88% of end-end tests have passed

    Total executed tests: 48
    Failed tests: 5
    Expected to fail tests: 1
    Passed tests: 42
    
    IDs of failed tests: 702784,703194,702783,702850,703496 
    
    IDs of expected to fail tests: 703503 
    

    Failed tests (5)

    Click to expand
  • Rerun failed tests

  • Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Test setup failed: critical/chats/test_1_1_public_chats.py:526: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:309: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(test_suite_data.current_test.name,
    /usr/lib/python3.10/asyncio/base_events.py:649: 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:257: in __init__
        super().__init__(
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:206: in __init__
        self.start_session(capabilities)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webdriver.py:360: in start_session
        raise SessionNotCreatedException(
     A valid W3C session creation response must contain a non-empty "sessionId" entry. Got "{'value': {'deviceName': 'emulator-5554', 'enableNotificationListener': True, 'takesScreenshot': True, 'orientation': 'PORTRAIT', 'ignoreUnimportantViews': False, 'app': '/tmp/tmp6BFlrT/StatusIm-Mobile-240219-023326-42f8ec-pr18728-x86_64.apk', 'webdriver.remote.sessionid': 'c0c608c495dc40308666af862cba24ee', 'networkConnectionEnabled': True, 'selenium:webdriver.remote.quietExceptions': False, 'deviceUDID': 'emulator-5554', 'deviceOrientation': 'portrait', 'newCommandTimeout': 600, 'deviceManufacturer': 'Google', 'deviceScreenSize': '768x1280', 'lastScrollData': None, 'sauce:options': {}, 'unicodeKeyboard': True, 'appPackage': 'im.status.ethereum.pr', 'deviceModel': 'sdk_gphone64_x86_64', 'chromeOptions': {'args': ['--disable-fre', '--disable-popup-blocking', '--enable-automation', '--enable-remote-debugging', '--ignore-certificate-errors', '--metrics-recording-only', '--no-first-run', '--disable-search-geolocation-disclosure', '--disable-gpu-rasterization']}, 'viewportRect': {'width': 768, 'top': 48, 'height': 1184, 'left': 0}, 'enforceXPath1': True, 'locationContextEnabled': False, 'platform': 'LINUX', 'noSign:noSign': True, 'maxTypingFrequency': 8, 'setWebContentDebuggingEnabled': True, 'deviceApiLevel': 34, 'platformName': 'Android', 'events': {'commands': []}, 'pixelRatio': 2, 'deviceScreenDensity': 320, 'warnings': {}, 'javascriptEnabled': True, 'automationName': 'UiAutomator2', 'databaseEnabled': False, 'noReset': True, 'desired': {'deviceName': 'Android GoogleAPI Emulator', 'enableNotificationListener': True, 'orientation': 'PORTRAIT', 'ignoreUnimportantViews': False, 'app': '/tmp/tmp6BFlrT/StatusIm-Mobile-240219-023326-42f8ec-pr18728-x86_64.apk', 'noReset': True, 'selenium:webdriver.remote.quietExceptions': False, 'deviceOrientation': 'portrait', 'newCommandTimeout': 600, 'sauce:options': {}, 'unicodeKeyboard': True, 'enforceXPath1': True, 'chromeOptions': {'args': ['--disable-fre', '--disable-popup-blocking', '--enable-automation', '--enable-remote-debugging', '--ignore-certificate-errors', '--metrics-recording-only', '--no-first-run', '--disable-search-geolocation-disclosure', '--disable-gpu-rasterization']}, 'noSign:noSign': True, 'maxTypingFrequency': 8, 'setWebContentDebuggingEnabled': True, 'platformName': 'Android', 'automationName': 'UiAutomator2', 'proxy': {'proxyAutoconfigUrl': 'http://127.0.0.1:19876/pac.js', 'proxyType': 'pac'}, 'platformVersion': '14.0', 'eventTimings': True, 'chromedriverExecutable': '/mnt/android/chromedriver/14.0/chromedriver', 'udid': 'emulator-5554', 'idleTimeout': 1000}, 'hasMetadata': True, 'proxy': {'proxyAutoconfigUrl': 'http://127.0.0.1:19876/pac.js', 'proxyType': 'pac'}, 'platformVersion': '14', 'webStorageEnabled': False, 'eventTimings': True, 'chromedriverExecutable': '/mnt/android/chromedriver/14.0/chromedriver', 'udid': 'emulator-5554', 'statBarHeight': 48, 'idleTimeout': 1000}}" instead
    



    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

    Test setup failed: critical/chats/test_1_1_public_chats.py:526: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:309: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(test_suite_data.current_test.name,
    /usr/lib/python3.10/asyncio/base_events.py:649: 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:257: in __init__
        super().__init__(
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:206: in __init__
        self.start_session(capabilities)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webdriver.py:360: in start_session
        raise SessionNotCreatedException(
     A valid W3C session creation response must contain a non-empty "sessionId" entry. Got "{'value': {'deviceName': 'emulator-5554', 'enableNotificationListener': True, 'takesScreenshot': True, 'orientation': 'PORTRAIT', 'ignoreUnimportantViews': False, 'app': '/tmp/tmp6BFlrT/StatusIm-Mobile-240219-023326-42f8ec-pr18728-x86_64.apk', 'webdriver.remote.sessionid': 'c0c608c495dc40308666af862cba24ee', 'networkConnectionEnabled': True, 'selenium:webdriver.remote.quietExceptions': False, 'deviceUDID': 'emulator-5554', 'deviceOrientation': 'portrait', 'newCommandTimeout': 600, 'deviceManufacturer': 'Google', 'deviceScreenSize': '768x1280', 'lastScrollData': None, 'sauce:options': {}, 'unicodeKeyboard': True, 'appPackage': 'im.status.ethereum.pr', 'deviceModel': 'sdk_gphone64_x86_64', 'chromeOptions': {'args': ['--disable-fre', '--disable-popup-blocking', '--enable-automation', '--enable-remote-debugging', '--ignore-certificate-errors', '--metrics-recording-only', '--no-first-run', '--disable-search-geolocation-disclosure', '--disable-gpu-rasterization']}, 'viewportRect': {'width': 768, 'top': 48, 'height': 1184, 'left': 0}, 'enforceXPath1': True, 'locationContextEnabled': False, 'platform': 'LINUX', 'noSign:noSign': True, 'maxTypingFrequency': 8, 'setWebContentDebuggingEnabled': True, 'deviceApiLevel': 34, 'platformName': 'Android', 'events': {'commands': []}, 'pixelRatio': 2, 'deviceScreenDensity': 320, 'warnings': {}, 'javascriptEnabled': True, 'automationName': 'UiAutomator2', 'databaseEnabled': False, 'noReset': True, 'desired': {'deviceName': 'Android GoogleAPI Emulator', 'enableNotificationListener': True, 'orientation': 'PORTRAIT', 'ignoreUnimportantViews': False, 'app': '/tmp/tmp6BFlrT/StatusIm-Mobile-240219-023326-42f8ec-pr18728-x86_64.apk', 'noReset': True, 'selenium:webdriver.remote.quietExceptions': False, 'deviceOrientation': 'portrait', 'newCommandTimeout': 600, 'sauce:options': {}, 'unicodeKeyboard': True, 'enforceXPath1': True, 'chromeOptions': {'args': ['--disable-fre', '--disable-popup-blocking', '--enable-automation', '--enable-remote-debugging', '--ignore-certificate-errors', '--metrics-recording-only', '--no-first-run', '--disable-search-geolocation-disclosure', '--disable-gpu-rasterization']}, 'noSign:noSign': True, 'maxTypingFrequency': 8, 'setWebContentDebuggingEnabled': True, 'platformName': 'Android', 'automationName': 'UiAutomator2', 'proxy': {'proxyAutoconfigUrl': 'http://127.0.0.1:19876/pac.js', 'proxyType': 'pac'}, 'platformVersion': '14.0', 'eventTimings': True, 'chromedriverExecutable': '/mnt/android/chromedriver/14.0/chromedriver', 'udid': 'emulator-5554', 'idleTimeout': 1000}, 'hasMetadata': True, 'proxy': {'proxyAutoconfigUrl': 'http://127.0.0.1:19876/pac.js', 'proxyType': 'pac'}, 'platformVersion': '14', 'webStorageEnabled': False, 'eventTimings': True, 'chromedriverExecutable': '/mnt/android/chromedriver/14.0/chromedriver', 'udid': 'emulator-5554', 'statBarHeight': 48, 'idleTimeout': 1000}}" instead
    



    3. test_1_1_chat_mute_chat, id: 703496

    Test setup failed: critical/chats/test_1_1_public_chats.py:526: in prepare_devices
        self.drivers, self.loop = create_shared_drivers(2)
    base_test_case.py:309: in create_shared_drivers
        drivers = loop.run_until_complete(start_threads(test_suite_data.current_test.name,
    /usr/lib/python3.10/asyncio/base_events.py:649: 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:257: in __init__
        super().__init__(
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:206: in __init__
        self.start_session(capabilities)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/webdriver.py:360: in start_session
        raise SessionNotCreatedException(
     A valid W3C session creation response must contain a non-empty "sessionId" entry. Got "{'value': {'deviceName': 'emulator-5554', 'enableNotificationListener': True, 'takesScreenshot': True, 'orientation': 'PORTRAIT', 'ignoreUnimportantViews': False, 'app': '/tmp/tmp6BFlrT/StatusIm-Mobile-240219-023326-42f8ec-pr18728-x86_64.apk', 'webdriver.remote.sessionid': 'c0c608c495dc40308666af862cba24ee', 'networkConnectionEnabled': True, 'selenium:webdriver.remote.quietExceptions': False, 'deviceUDID': 'emulator-5554', 'deviceOrientation': 'portrait', 'newCommandTimeout': 600, 'deviceManufacturer': 'Google', 'deviceScreenSize': '768x1280', 'lastScrollData': None, 'sauce:options': {}, 'unicodeKeyboard': True, 'appPackage': 'im.status.ethereum.pr', 'deviceModel': 'sdk_gphone64_x86_64', 'chromeOptions': {'args': ['--disable-fre', '--disable-popup-blocking', '--enable-automation', '--enable-remote-debugging', '--ignore-certificate-errors', '--metrics-recording-only', '--no-first-run', '--disable-search-geolocation-disclosure', '--disable-gpu-rasterization']}, 'viewportRect': {'width': 768, 'top': 48, 'height': 1184, 'left': 0}, 'enforceXPath1': True, 'locationContextEnabled': False, 'platform': 'LINUX', 'noSign:noSign': True, 'maxTypingFrequency': 8, 'setWebContentDebuggingEnabled': True, 'deviceApiLevel': 34, 'platformName': 'Android', 'events': {'commands': []}, 'pixelRatio': 2, 'deviceScreenDensity': 320, 'warnings': {}, 'javascriptEnabled': True, 'automationName': 'UiAutomator2', 'databaseEnabled': False, 'noReset': True, 'desired': {'deviceName': 'Android GoogleAPI Emulator', 'enableNotificationListener': True, 'orientation': 'PORTRAIT', 'ignoreUnimportantViews': False, 'app': '/tmp/tmp6BFlrT/StatusIm-Mobile-240219-023326-42f8ec-pr18728-x86_64.apk', 'noReset': True, 'selenium:webdriver.remote.quietExceptions': False, 'deviceOrientation': 'portrait', 'newCommandTimeout': 600, 'sauce:options': {}, 'unicodeKeyboard': True, 'enforceXPath1': True, 'chromeOptions': {'args': ['--disable-fre', '--disable-popup-blocking', '--enable-automation', '--enable-remote-debugging', '--ignore-certificate-errors', '--metrics-recording-only', '--no-first-run', '--disable-search-geolocation-disclosure', '--disable-gpu-rasterization']}, 'noSign:noSign': True, 'maxTypingFrequency': 8, 'setWebContentDebuggingEnabled': True, 'platformName': 'Android', 'automationName': 'UiAutomator2', 'proxy': {'proxyAutoconfigUrl': 'http://127.0.0.1:19876/pac.js', 'proxyType': 'pac'}, 'platformVersion': '14.0', 'eventTimings': True, 'chromedriverExecutable': '/mnt/android/chromedriver/14.0/chromedriver', 'udid': 'emulator-5554', 'idleTimeout': 1000}, 'hasMetadata': True, 'proxy': {'proxyAutoconfigUrl': 'http://127.0.0.1:19876/pac.js', 'proxyType': 'pac'}, 'platformVersion': '14', 'webStorageEnabled': False, 'eventTimings': True, 'chromedriverExecutable': '/mnt/android/chromedriver/14.0/chromedriver', 'udid': 'emulator-5554', 'statBarHeight': 48, 'idleTimeout': 1000}}" instead
    



    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_decline, id: 702850

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

    None; 
     RemoteDisconnected
    



    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194

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

    critical/chats/test_public_chat_browsing.py:428: in test_community_several_images_send_reply
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Gallery message was not received
    



    Device sessions

    Expected to fail tests (1)

    Click to expand

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Test is not run, e2e blocker  
    

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

    Passed tests (42)

    Click to expand

    Class TestDeepLinksOneDevice:

    1. test_links_open_universal_links_from_chat, id: 704613
    Device sessions

    2. test_links_deep_links, id: 702775
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    2. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    3. test_community_undo_delete_message, id: 702869
    Device sessions

    4. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    5. test_community_mute_community_and_channel, id: 703382
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_add_contact_field_validation, id: 702777
    Device sessions

    2. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    4. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    5. test_1_1_chat_edit_message, id: 702855
    Device sessions

    6. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    7. test_1_1_chat_pin_messages, id: 702731
    Device sessions

    8. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732
    Device sessions

    2. test_group_chat_mute_chat, id: 703495
    Device sessions

    3. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    4. test_group_chat_reactions, id: 703202
    Device sessions

    5. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    6. test_group_chat_offline_pn, id: 702808
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_one_image_send_reply, id: 702859
    Device sessions

    2. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    3. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    4. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    5. test_community_edit_delete_message_when_offline, id: 704615
    Device sessions

    6. test_community_message_delete, id: 702839
    Device sessions

    7. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    8. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    9. test_community_message_edit, id: 702843
    Device sessions

    10. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    3. test_community_mentions_push_notification, id: 702786
    Device sessions

    4. test_community_leave, id: 702845
    Device sessions

    5. test_community_join_when_node_owner_offline, id: 703629
    Device sessions

    Signed-off-by: yqrashawn <namy.19@gmail.com>
    @yqrashawn yqrashawn merged commit 50f6c1e into develop Feb 20, 2024
    6 checks passed
    @yqrashawn yqrashawn deleted the fix/debounce-pwd-input branch February 20, 2024 02:11
    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.

    Bad performance of password validation causing unnecessary re-renders
    7 participants