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_: messages are not delivered if the sender's device time is set manually #22178

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

qfrank
Copy link
Contributor

@qfrank qfrank commented Feb 24, 2025

relate status-go PR

Testing notes

Platforms

  • Android
  • iOS

Areas that may be impacted

Functional

  • 1-1 chats

Steps to test

Pls check reproduce steps as reference

status: ready

@status-im-auto
Copy link
Member

status-im-auto commented Feb 24, 2025

Jenkins Builds

Click to see older builds (18)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 98add8d #1 2025-02-24 06:49:26 ~6 min tests 📄log
✔️ 98add8d #1 2025-02-24 06:50:42 ~7 min android-e2e 🤖apk 📲
✔️ 98add8d #1 2025-02-24 06:52:52 ~9 min android 🤖apk 📲
✔️ 98add8d #1 2025-02-24 06:58:49 ~15 min ios 📱ipa 📲
✔️ 8fdcd37 #2 2025-03-03 07:03:29 ~6 min tests 📄log
✔️ 8fdcd37 #2 2025-03-03 07:05:02 ~7 min android-e2e 🤖apk 📲
✔️ 8fdcd37 #2 2025-03-03 07:06:47 ~9 min android 🤖apk 📲
✔️ 8fdcd37 #2 2025-03-03 07:10:08 ~13 min ios 📱ipa 📲
✔️ 1538e8a #3 2025-03-05 05:52:35 ~5 min tests 📄log
✔️ 1538e8a #3 2025-03-05 05:54:10 ~7 min android-e2e 🤖apk 📲
✔️ 1538e8a #3 2025-03-05 05:54:58 ~8 min android 🤖apk 📲
✔️ 1538e8a #3 2025-03-05 06:00:09 ~13 min ios 📱ipa 📲
✔️ 352e051 #4 2025-03-05 09:30:45 ~6 min tests 📄log
✔️ 352e051 #4 2025-03-05 09:31:41 ~7 min android-e2e 🤖apk 📲
✔️ 352e051 #4 2025-03-05 09:34:25 ~10 min android 🤖apk 📲
✔️ 352e051 #4 2025-03-05 09:43:06 ~19 min ios 📱ipa 📲
✔️ 9be61f5 #5 2025-03-05 23:49:51 ~5 min tests 📄log
✔️ 9be61f5 #5 2025-03-05 23:51:51 ~7 min android-e2e 🤖apk 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 98d512d #6 2025-03-05 23:58:20 ~6 min tests 📄log
✔️ 98d512d #6 2025-03-06 00:00:16 ~8 min android 🤖apk 📲
✔️ 98d512d #6 2025-03-06 00:01:05 ~8 min android-e2e 🤖apk 📲
✔️ 98d512d #6 2025-03-06 00:05:12 ~12 min ios 📱ipa 📲
✔️ 58d454c #7 2025-03-11 12:02:36 ~6 min tests 📄log
✔️ 58d454c #7 2025-03-11 12:04:32 ~8 min android 🤖apk 📲
✔️ 58d454c #7 2025-03-11 12:05:20 ~8 min android-e2e 🤖apk 📲
✔️ 58d454c #7 2025-03-11 12:09:19 ~12 min ios 📱ipa 📲

@qfrank qfrank marked this pull request as draft February 24, 2025 06:52
@qfrank qfrank marked this pull request as ready for review February 24, 2025 08:11
@status-im-auto
Copy link
Member

95% of end-end tests have passed

Total executed tests: 65
Failed tests: 2
Expected to fail tests: 1
Passed tests: 62
IDs of failed tests: 703194,741054 
IDs of expected to fail tests: 702844 

Failed tests (2)

Click to expand
  • Rerun failed tests

  • Class TestFallbackMultipleDevice:

    1. test_fallback_add_key_pair, id: 741054

    Device 1: Swiping left on element Button
    Device 1: Find `Button` by `xpath`: `//android.view.ViewGroup[contains(@content-desc,'Imported account')]`

    critical/test_fallback.py:212: in test_fallback_add_key_pair
        wallet_1.get_account_element(account_name=imported_key_pair_account_name).swipe_left_on_element()
    ../views/base_element.py:281: in swipe_left_on_element
        location, size = self.get_element_coordinates()
    ../views/base_element.py:274: in get_element_coordinates
        element = self.find_element()
    ../views/base_element.py:78: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//android.view.ViewGroup[contains(@content-desc,'Imported account')]` 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
    



    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194

    Device 2: Trying to access images (image container) inside message with text 'gallery'
    Device 2: Find ImageContainer by xpath: //*[starts-with(@text,'gallery')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc="image-container"]

    critical/chats/test_public_chat_browsing.py:432: in test_community_several_images_send_reply
        if (image.is_element_differs_from_template("images_gallery.png", 5) and
    ../views/base_element.py:259: in is_element_differs_from_template
        difference = ImageChops.difference(self.image, self.template)
    ../views/base_element.py:237: in image
        return Image.open(BytesIO(base64.b64decode(self.find_element().screenshot_as_base64)))
    ../views/base_element.py:78: in find_element
        raise NoSuchElementException(
     Device 2: ImageContainer by xpath: `//*[starts-with(@text,'gallery')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc="image-container"]` 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 TestCommunityMultipleDeviceMerged:

    1. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844

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

    critical/chats/test_public_chat_browsing.py:662: in test_community_links_with_previews_github_youtube_twitter_gif_send_enable
        self.errors.verify_no_errors()
    base_test_case.py:179: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Device 1: No preview is loaded for url https://youtu.be/Je7yErjEVt4
    E    Device 1: No preview is loaded for url https://www.youtube.com/watch?v=XN-SVmuJH2g&list=PLbrz7IuP1hrgNtYe9g6YHwHO6F3OqNMao
    E    Device 1: No preview is loaded for url https://m.youtube.com/watch?v=Je7yErjEVt4 
    

    [[Youtube links preview is not loaded on LambdaTest emulators, needs investigation]]

    Device sessions

    Passed tests (62)

    Click to expand

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_centre_contact_request_receiver_offline, id: 741809
    Device sessions

    3. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestAndroid13:

    1. test_create_account_android_13, id: 741807
    Device sessions

    Class TestFallbackMultipleDevice:

    1. test_fallback_sync_with_error, id: 740220
    2. test_fallback_validate_seed_phrase, id: 740222
    3. test_fallback_with_correct_seed_phrase, id: 740221

    Class TestWalletCollectibles:

    1. test_wallet_send_collectible, id: 741840
    2. test_wallet_collectibles_balance, id: 741839
    3. test_wallet_collectible_send_from_expanded_info_view, id: 741841

    Class TestDeepLinksOneDevice:

    1. test_links_open_universal_links_from_chat, id: 704613
    Device sessions

    2. test_links_deep_links_profile, id: 702775
    Device sessions

    3. test_deep_links_communities, id: 739307
    Device sessions

    Class TestActivityMultipleDevicePR:

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

    3. test_community_undo_delete_message, id: 702869
    Device sessions

    4. test_restore_multiaccount_with_waku_backup_remove_profile_switch, id: 703133
    Device sessions

    5. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    6. test_community_mute_community_and_channel, id: 703382
    Device sessions

    Class TestWalletOneDevice:

    1. test_wallet_swap_flow_mainnet, id: 741555
    2. test_wallet_add_remove_regular_account, id: 727231
    3. test_wallet_balance_mainnet, id: 740490
    4. test_wallet_bridge_flow_mainnet, id: 741612
    5. test_wallet_send_flow_mainnet, id: 741554

    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 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 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 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_message_edit, id: 702843
    Device sessions

    9. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestWalletMultipleDevice:

    1. test_wallet_send_asset_from_drawer, id: 727230
    2. test_wallet_send_eth, id: 727229

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

    1. test_create_account_android_12, id: 741806
    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

    @Horupa-Olena
    Copy link

    Horupa-Olena commented Feb 24, 2025

    @qfrank Thank you for your fixes!

    Please confirm whether this is the expected behavior or an issue:

    1. User A manually sets the time from 11:40 to 10:40.
    2. User A sends a contact request to User B at 10:43.
    3. User A sends messages to User B at 10:49.

    Actual results:

    • The contact request appears with the timestamp 10:43 for User B in the Activity Center and 1-1 chat.
    • The messages appear with the timestamp 11:49 for User A in the 1-1 chat.
    User B chat Activity center User A chat
    image image image

    @Horupa-Olena
    Copy link

    Horupa-Olena commented Feb 24, 2025

    @qfrank I believe this is already an issue:

    ISSUE 1: The sender with manually set time does not receive messages from the reciever

    Step:

    1. User A manually sets the time from 11:40 to 10:40.
    2. User A sends a contact request to User B at 10:43.
    3. User A sends messages to User B at 10:49.
    4. User B sends mesaages to User A at 12:06

    Actual results:
    User A does not receive the messages from User B, even after resetting the time back to the correct value (11:10 → 12:10).

    User A chat User B chat
    image image

    Expected results:
    Messages should be delivered to User A, regardless of manual time changes.

    @Horupa-Olena
    Copy link

    @qfrank I reported it as separately issue, please look too:

    ISSUE 2: Messages are not received by either side after resetting the time back to the correct value
    Step:

    1. User A manually sets the time from 12:25 to 13:35.
    2. User A sends a contact request to User B
    3. User A sends messages to User B
    4. User B sends messages to User A
      [Result the same as in *Issue 1* and here]
    5. User A resset time back to 13:33->12:33
    6. User A sends messages to User B
    7. User B sends messages to User A

    Actual results:
    User A does not receive the messages from User B, User B does not receive the messages from User A.

    User A chat User B chat
    image image

    Expected results:
    Messages should be delivered to both user.

    @qfrank qfrank force-pushed the fix/wrong_device_time branch from 98add8d to 8fdcd37 Compare March 3, 2025 06:56
    Copy link
    Contributor

    @ilmotta ilmotta left a comment

    Choose a reason for hiding this comment

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

    Approving the PR in mobile. @Horupa-Olena @qfrank please check out my comment here status-im/status-go#6358 (review), I'm looking forward to hear your thoughts.

    @qfrank qfrank force-pushed the fix/wrong_device_time branch 2 times, most recently from 1538e8a to 352e051 Compare March 5, 2025 09:23
    @qfrank
    Copy link
    Contributor Author

    qfrank commented Mar 5, 2025

    Hi @Horupa-Olena , thanks for the feedback, could you re-check if latest update solved all the issues you mentioned? pls use new profile and disable light client mode when testing, thanks! Because I found light client is not that reliable when I was testing before. Also pls wait some time(e.g. 1-2min) when trying to receive the message that reach instantly. If you still found issues, pls share logs with me if it's avaiable :)

    @Horupa-Olena
    Copy link

    Horupa-Olena commented Mar 5, 2025

    @qfrank Thank you for fix and advices for testing!
    Could please rebase both PR + update mobile PR to reference the latest commits from the current Status Go.

    @qfrank qfrank force-pushed the fix/wrong_device_time branch 2 times, most recently from 9be61f5 to 98d512d Compare March 5, 2025 23:51
    @qfrank
    Copy link
    Contributor Author

    qfrank commented Mar 5, 2025

    @qfrank Thank you for fix and advices for testing! Could please rebase both PR + update mobile PR to reference the latest commits from the current Status Go.

    done ✅ @Horupa-Olena

    @Horupa-Olena
    Copy link

    @qfrank Sorry for the long wait!

    Results: Issue 1 and Issue 2 – fixed!

    I retested the PR on two devices:

    • One with a changed time (User A)
    • One with the current time (User B)

    The following scenarios were checked:

    • Changing the time backward and forward
    • Sending a contact request in both directions (User A → User B and vice versa)
    • Sending messages
    • Resetting the time backward and sending messages
    • Rechecking messaging between users without changing the time
    • Running quick tests for messaging in a group chat

    @Horupa-Olena
    Copy link

    Horupa-Olena commented Mar 11, 2025

    @qfrank About this case

    The contact request appears with the timestamp 10:43 for User B in the Activity Center and 1-1 chat.

    User B have real time in activity center an 1-1 chat.
    image

    The messages appear with the timestamp 11:49 for User A in the 1-1 chat.

    This issue is constant. On User A's side, in chat, the real time is always displayed instead of the changed time.

    @Horupa-Olena
    Copy link

    @qfrank And found also similar behaviour to this case:

    1. User A manually sets the time from 11:36 to 10:36.
    2. User B sends a contact request to User A at 11:37.

    Actual results:

    • The contact request appears with the timestamp 11:37 for User A in the Activity Center and 1-1 chat.
    User A Activity center User A chat
    image image

    @qfrank
    Copy link
    Contributor Author

    qfrank commented Mar 11, 2025

    emm.. let me reply your last 2 comments, I think it's normal, what my fix done is: whatever you changed your device time, the time in app is separated from device time, the time in app will keep the same as NTP service(the real time). @Horupa-Olena cc @ilmotta

    @Horupa-Olena
    Copy link

    Horupa-Olena commented Mar 11, 2025

    emm.. let me reply your last 2 comments, I think it's normal, what my fix done is: whatever you changed your device time, the time in app is separated from device time, the time in app will keep the same as NTP service(the real time). @Horupa-Olena cc @ilmotta

    @qfrank Okay, I understand. Thank you!

    So from the QA side, the PR can be merged.
    Let's wait and see what @ilmotta says.

    @qfrank qfrank force-pushed the fix/wrong_device_time branch from 98d512d to 58d454c Compare March 11, 2025 11:56
    @status-im-auto
    Copy link
    Member

    76% of end-end tests have passed

    Total executed tests: 68
    Failed tests: 12
    Expected to fail tests: 4
    Passed tests: 52
    
    IDs of failed tests: 727231,741555,702958,703133,703496,702839,741612,702957,702783,702843,702784,741809 
    
    IDs of expected to fail tests: 702844,741840,741839,741841 
    

    Failed tests (12)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_profile_switch, id: 703133

    Device 1: Tap on found: Button
    # STEP: Check that removed user is not shown in the list anymore

    critical/chats/test_public_chat_browsing.py:246: in test_restore_multiaccount_with_waku_backup_remove_profile_switch
        self.errors.verify_no_errors()
    base_test_case.py:179: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Device 1: zQ3...dWXh5 was not restored as a contact from waku backup!
    E    Device 1: zQ3...Vacac was not restored as a contact from waku backup!
    E    Device 1: admin_open was not restored from waku-backup!!
    E    Device 1: member_open was not restored from waku-backup!!
    E    Device 1: admin_closed was not restored from waku-backup!!
    E    Device 1: member_closed was not restored from waku-backup!!
    



    Device sessions

    Class TestWalletOneDevice:

    1. test_wallet_add_remove_regular_account, id: 727231

    # STEP: Adding new regular account
    Device 1: Find Button by accessibility id: add-account

    critical/wallet/test_wallet_mainnet.py:350: in test_wallet_add_remove_regular_account
        self.wallet_view.add_regular_account(account_name=new_account_name)
    ../views/wallet_view.py:245: in add_regular_account
        self.add_account_button.click()
    ../views/base_element.py:89: in click
        element = self.find_element()
    ../views/base_element.py:78: in find_element
        raise NoSuchElementException(
     Device 1: Button by accessibility id: `add-account` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    2. test_wallet_swap_flow_mainnet, id: 741555

    # STEP: Checking the Swap flow for SNT on Optimism
    Device 1: Find Button by xpath: //*[@content-desc='token-network']/android.widget.TextView[@text='Status']

    critical/wallet/test_wallet_mainnet.py:163: in test_wallet_swap_flow_mainnet
        self.wallet_view.select_asset('Status')
    ../views/wallet_view.py:201: in select_asset
        xpath="//*[@content-desc='token-network']/android.widget.TextView[@text='%s']" % asset_name).click()
    ../views/base_element.py:89: in click
        element = self.find_element()
    ../views/base_element.py:78: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@content-desc='token-network']/android.widget.TextView[@text='Status']` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    3. test_wallet_bridge_flow_mainnet, id: 741612

    Device 1: Could not reach Button by pressing system back button
    Device 1: Find Button by xpath: //android.view.ViewGroup[contains(@content-desc,'Account 1')]

    critical/wallet/test_wallet_mainnet.py:244: in test_wallet_bridge_flow_mainnet
        self.wallet_view.get_account_element().click()
    ../views/base_element.py:89: in click
        element = self.find_element()
    ../views/base_element.py:78: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//android.view.ViewGroup[contains(@content-desc,'Account 1')]` 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
    



    Class TestCommunityMultipleDeviceMerged:

    1. test_community_message_delete, id: 702839

    Device 2: Looking for a message by text: delete for me
    Device 1: Looking for a message by text: delete for me

    critical/chats/test_public_chat_browsing.py:415: in test_community_message_delete
        self.errors.verify_no_errors()
    base_test_case.py:179: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Device 1: Deleted message is shown in channel
    



    Device sessions

    2. 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:383: in test_community_message_edit
        self.channel_2.set_reaction(message_text_after_edit)
    ../views/chat_view.py:690: in set_reaction
        self.chat_element_by_text(message).long_press_without_release()
    ../views/base_element.py:315: in long_press_without_release
        action.click_and_hold(self.find_element()).perform()
    ../views/chat_view.py:69: in find_element
        self.wait_for_visibility_of_element(20)
    ../views/base_element.py:138: 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

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_admin_notification_accept_swipe, id: 702958

    Test setup failed: activity_center/test_activity_center.py:411: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:341: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:138: 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
    



    2. test_activity_center_mentions, id: 702957

    Device 2: Find LogInButton by accessibility id: login-button
    Device 2: Tap on found: LogInButton

    Test setup failed: activity_center/test_activity_center.py:411: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:341: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:138: 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

    3. test_activity_centre_contact_request_receiver_offline, id: 741809

    Test setup failed: activity_center/test_activity_center.py:411: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:341: in join_community
        self.community_status_joined.wait_for_visibility_of_element(60)
    ../views/base_element.py:138: 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_mute_chat, id: 703496

    Test setup failed: critical/chats/test_1_1_public_chats.py:569: in prepare_devices
        self.home_1.add_contact(self.public_key_2)
    ../views/home_view.py:408: in add_contact
        self.new_chat_button.click()
    ../views/base_element.py:89: in click
        element = self.find_element()
    ../views/base_element.py:78: in find_element
        raise NoSuchElementException(
     Device 1: Button by accessibility id: `new-chat-button` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

    Device 1: Adding user to Contacts via chats > add new contact
    Device 1: Find Button by accessibility id: new-chat-button

    Test setup failed: critical/chats/test_1_1_public_chats.py:569: in prepare_devices
        self.home_1.add_contact(self.public_key_2)
    ../views/home_view.py:408: in add_contact
        self.new_chat_button.click()
    ../views/base_element.py:89: in click
        element = self.find_element()
    ../views/base_element.py:78: in find_element
        raise NoSuchElementException(
     Device 1: Button by accessibility id: `new-chat-button` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    Device sessions

    3. test_1_1_chat_delete_via_long_press_relogin, id: 702784

    Test setup failed: critical/chats/test_1_1_public_chats.py:569: in prepare_devices
        self.home_1.add_contact(self.public_key_2)
    ../views/home_view.py:408: in add_contact
        self.new_chat_button.click()
    ../views/base_element.py:89: in click
        element = self.find_element()
    ../views/base_element.py:78: in find_element
        raise NoSuchElementException(
     Device 1: Button by accessibility id: `new-chat-button` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    Expected to fail tests (4)

    Click to expand

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844

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

    critical/chats/test_public_chat_browsing.py:662: in test_community_links_with_previews_github_youtube_twitter_gif_send_enable
        self.errors.verify_no_errors()
    base_test_case.py:179: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Device 1: No preview image is shown for https://github.com/status-im/status-mobile/pull/11707
    E    Device 1: No preview is loaded for url https://youtu.be/Je7yErjEVt4
    E    Device 1: No preview is loaded for url https://www.youtube.com/watch?v=XN-SVmuJH2g&list=PLbrz7IuP1hrgNtYe9g6YHwHO6F3OqNMao
    E    Device 1: No preview is loaded for url https://m.youtube.com/watch?v=Je7yErjEVt4 
    

    [[Youtube links preview is not loaded on LambdaTest emulators, needs investigation]]

    Device sessions

    Class TestWalletCollectibles:

    1. test_wallet_send_collectible, id: 741840

    Device 1: Tap on found: Button
    Device 1: Find CollectibleItemElement by xpath: //*[@content-desc='collectible-list-item']//*[contains(@text,'BVL')]/../..

    critical/wallet/test_collectibles.py:106: in test_wallet_send_collectible
        self.wallet_view.get_collectible_element('BVL').click()
    ../views/base_element.py:89: in click
        element = self.find_element()
    ../views/base_element.py:78: in find_element
        raise NoSuchElementException(
     Device 1: CollectibleItemElement by xpath: `//*[@content-desc='collectible-list-item']//*[contains(@text,'BVL')]/../..` 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 
    

    [[Collectibles list is not loaded sometimes]]

    2. test_wallet_collectibles_balance, id: 741839

    Device 1: Text is Double Spike
    Device 1: Click system back button

    critical/wallet/test_collectibles.py:95: in test_wallet_collectibles_balance
        self.errors.verify_no_errors()
    base_test_case.py:179: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Device 1: BVL image doesn't match expected template
    E    Device 1: Glitch Punks image doesn't match expected template 
    

    [[Collectibles list is not loaded sometimes]]

    3. test_wallet_collectible_send_from_expanded_info_view, id: 741841

    Device 1: Find Button by accessibility id: collectibles-tab
    Device 1: Tap on found: Button

    critical/wallet/test_collectibles.py:153: in test_wallet_collectible_send_from_expanded_info_view
        self.wallet_view.get_collectible_element('Glitch Punks').wait_for_element().click()
    ../views/base_element.py:120: in wait_for_element
        raise TimeoutException(
     Device `1`: `CollectibleItemElement` by` xpath`: `//*[@content-desc='collectible-list-item']//*[contains(@text,'Glitch Punks')]/../..` is not found on the screen after wait_for_element 
    

    [[Collectibles list is not loaded sometimes]]

    Passed tests (52)

    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

    3. test_community_undo_delete_message, id: 702869
    Device sessions

    4. test_community_mute_community_and_channel, id: 703382
    Device sessions

    5. test_community_discovery, id: 703503
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_edit_message, id: 702855
    Device sessions

    2. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    3. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    4. test_1_1_chat_pin_messages, id: 702731
    Device sessions

    5. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    6. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    7. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    8. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_reactions, id: 703202
    Device sessions

    2. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    3. test_group_chat_offline_pn, id: 702808
    Device sessions

    4. test_group_chat_pin_messages, id: 702732
    Device sessions

    5. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    6. test_group_chat_mute_chat, id: 703495
    Device sessions

    Class TestDeepLinksOneDevice:

    1. test_links_open_universal_links_from_chat, id: 704613
    Device sessions

    2. test_links_deep_links_profile, id: 702775
    Device sessions

    3. test_deep_links_communities, id: 739307
    Device sessions

    Class TestAndroid12:

    1. test_create_account_android_12, id: 741806
    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

    3. test_add_contact_field_validation, id: 702777
    Device sessions

    Class TestWalletOneDevice:

    1. test_wallet_balance_mainnet, id: 740490
    2. test_wallet_send_flow_mainnet, id: 741554

    Class TestWalletMultipleDevice:

    1. test_wallet_send_asset_from_drawer, id: 727230
    2. test_wallet_send_eth, id: 727229

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    2. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    3. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    4. test_community_unread_messages_badge, id: 702841
    Device sessions

    5. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    6. test_community_edit_delete_message_when_offline, id: 704615
    Device sessions

    7. test_community_one_image_send_reply, id: 702859
    Device sessions

    8. test_community_several_images_send_reply, id: 703194
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_leave, id: 702845
    Device sessions

    2. test_community_mentions_push_notification, id: 702786
    Device sessions

    3. test_community_markdown_support, id: 702809
    Device sessions

    4. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    5. test_community_join_when_node_owner_offline, id: 703629
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class TestFallbackMultipleDevice:

    1. test_fallback_add_key_pair, id: 741054
    2. test_fallback_sync_with_error, id: 740220
    3. test_fallback_with_correct_seed_phrase, id: 740221
    4. test_fallback_validate_seed_phrase, id: 740222

    Class TestAndroid13:

    1. test_create_account_android_13, id: 741807
    Device sessions

    Class TestCommunityMultipleDeviceMergedThree:

    1. test_community_send_message_from_offline, id: 741925
    Device sessions

    2. test_community_messaging_on_mobile_data, id: 741926
    Device sessions

    3. test_community_mobile_data_and_wi_fi_only_fetching, id: 741924
    Device sessions

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    Status: IN TESTING
    Development

    Successfully merging this pull request may close these issues.

    Messages are not delivered if the sender's device time is set manually.
    5 participants