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

kotlinify account, database, Log & Network Manager #19426

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

siddarthkay
Copy link
Contributor

parent issue: #18310

Summary

This PR converts the following Java files to Kotlin :

  • modules/react-native-status/android/src/main/java/im/status/ethereum/module/AccountManager.java
  • modules/react-native-status/android/src/main/java/im/status/ethereum/module/DatabaseManager.java
  • modules/react-native-status/android/src/main/java/im/status/ethereum/module/LogManager.java
  • modules/react-native-status/android/src/main/java/im/status/ethereum/module/NetworkManager.java

Testing notes

This PR converts Java code to Kotlin which involves methods like creating account, onboarding and local network stuff that impacts syncing code.
In theory the logic should be same but please test those areas.

Platforms

  • Android

status: ready

@status-im-auto
Copy link
Member

status-im-auto commented Mar 28, 2024

Jenkins Builds

Click to see older builds (52)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ dc52476 #1 2024-03-28 03:27:00 ~8 min android 🤖apk 📲
✔️ dc52476 #1 2024-03-28 03:27:03 ~8 min android-e2e 🤖apk 📲
✔️ dc52476 #1 2024-03-28 03:28:08 ~9 min ios 📱ipa 📲
✔️ 404dc26 #2 2024-03-28 05:23:41 ~4 min tests 📄log
✔️ 404dc26 #2 2024-03-28 05:27:45 ~8 min android 🤖apk 📲
✔️ 404dc26 #2 2024-03-28 05:27:46 ~8 min android-e2e 🤖apk 📲
✔️ 404dc26 #2 2024-03-28 05:28:54 ~9 min ios 📱ipa 📲
✔️ 43de426 #3 2024-03-29 06:56:54 ~5 min tests 📄log
✔️ 43de426 #3 2024-03-29 06:59:15 ~7 min android 🤖apk 📲
✔️ 43de426 #3 2024-03-29 07:00:32 ~8 min android-e2e 🤖apk 📲
✔️ 43de426 #3 2024-03-29 07:04:06 ~12 min ios 📱ipa 📲
✔️ ff28188 #4 2024-04-01 16:19:10 ~4 min tests 📄log
✔️ ff28188 #4 2024-04-01 16:22:14 ~7 min android-e2e 🤖apk 📲
✔️ ff28188 #4 2024-04-01 16:22:39 ~8 min android 🤖apk 📲
✔️ ff28188 #4 2024-04-01 16:24:04 ~9 min ios 📱ipa 📲
✔️ a453690 #5 2024-04-02 10:46:21 ~7 min tests 📄log
✔️ a453690 #5 2024-04-02 10:46:36 ~8 min android 🤖apk 📲
✔️ a453690 #5 2024-04-02 10:46:51 ~8 min android-e2e 🤖apk 📲
✔️ a453690 #5 2024-04-02 10:55:24 ~17 min ios 📱ipa 📲
✔️ 675b8fe #6 2024-04-03 02:47:00 ~3 min tests 📄log
✔️ 675b8fe #6 2024-04-03 02:48:53 ~5 min android 🤖apk 📲
✔️ 675b8fe #6 2024-04-03 02:50:03 ~7 min android-e2e 🤖apk 📲
✔️ 931bc9b #7 2024-04-03 13:09:43 ~3 min tests 📄log
✔️ 931bc9b #7 2024-04-03 13:12:21 ~6 min android-e2e 🤖apk 📲
✔️ 931bc9b #7 2024-04-03 13:13:30 ~7 min android 🤖apk 📲
✔️ 931bc9b #7 2024-04-03 13:22:00 ~16 min ios 📱ipa 📲
✔️ 4fa0252 #8 2024-04-08 11:00:53 ~6 min tests 📄log
✔️ 4fa0252 #8 2024-04-08 11:01:53 ~7 min android 🤖apk 📲
✔️ 4fa0252 #8 2024-04-08 11:03:19 ~8 min android-e2e 🤖apk 📲
4fa0252 #8 2024-04-08 11:13:49 ~19 min ios 📄log
✔️ 8e37583 #9 2024-04-08 15:37:56 ~3 min tests 📄log
✔️ 8e37583 #9 2024-04-08 15:40:59 ~6 min android-e2e 🤖apk 📲
✔️ 8e37583 #9 2024-04-08 15:41:06 ~7 min android 🤖apk 📲
✔️ 8e37583 #9 2024-04-08 15:45:08 ~11 min ios 📱ipa 📲
0734007 #11 2024-04-08 17:35:41 ~3 min android 📄log
0734007 #11 2024-04-08 17:36:01 ~3 min android-e2e 📄log
✔️ 0734007 #11 2024-04-08 17:45:17 ~12 min ios 📱ipa 📲
236dce5 #12 2024-04-09 08:17:33 ~3 min android-e2e 📄log
236dce5 #12 2024-04-09 08:17:49 ~4 min android 📄log
✔️ 236dce5 #12 2024-04-09 08:17:58 ~4 min tests 📄log
✔️ 236dce5 #12 2024-04-09 08:23:43 ~10 min ios 📱ipa 📲
✔️ a33f4fc #14 2024-04-09 10:17:41 ~7 min android 🤖apk 📲
✔️ a33f4fc #14 2024-04-09 10:19:19 ~8 min android-e2e 🤖apk 📲
✔️ a33f4fc #14 2024-04-09 10:21:18 ~10 min ios 📱ipa 📲
✔️ c4a48b1 #15 2024-04-09 10:31:33 ~4 min tests 📄log
✔️ c4a48b1 #15 2024-04-09 10:33:21 ~6 min android-e2e 🤖apk 📲
✔️ c4a48b1 #15 2024-04-09 10:33:30 ~6 min android 🤖apk 📲
✔️ c4a48b1 #15 2024-04-09 10:37:19 ~10 min ios 📱ipa 📲
✔️ 775e345 #16 2024-04-09 15:47:51 ~4 min tests 📄log
✔️ 775e345 #16 2024-04-09 15:50:47 ~7 min android-e2e 🤖apk 📲
✔️ 775e345 #16 2024-04-09 15:50:56 ~7 min android 🤖apk 📲
✔️ 775e345 #16 2024-04-09 15:53:26 ~9 min ios 📱ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ a9fc3b8 #17 2024-04-10 14:17:21 ~7 min android 🤖apk 📲
✔️ a9fc3b8 #17 2024-04-10 14:18:37 ~8 min tests 📄log
✔️ a9fc3b8 #17 2024-04-10 14:20:18 ~10 min android-e2e 🤖apk 📲
✔️ bb6b4e2 #18 2024-04-10 14:43:31 ~5 min tests 📄log
✔️ bb6b4e2 #18 2024-04-10 14:45:11 ~6 min android 🤖apk 📲
✔️ bb6b4e2 #18 2024-04-10 14:46:22 ~8 min android-e2e 🤖apk 📲
✔️ bb6b4e2 #18 2024-04-10 15:02:18 ~24 min ios 📱ipa 📲

@status-im-auto
Copy link
Member

81% of end-end tests have passed

Total executed tests: 48
Failed tests: 8
Expected to fail tests: 1
Passed tests: 39
IDs of failed tests: 702782,702733,702813,702957,702855,703391,702731,702730 
IDs of expected to fail tests: 703503 

Failed tests (8)

Click to expand
  • Rerun failed tests

  • Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957

    Device 2: Tap on found: SendMessageButton
    # STEP: Checking unread indicators

    activity_center/test_activity_center.py:435: in test_activity_center_mentions
        self.home_1.notifications_unread_badge.wait_for_visibility_of_element(120)
    ../views/base_element.py:147: 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

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782

    Device 2: Find OpenInStatusButton by xpath: //*[@text="Open in Status"]
    Device 2: Tap on found: OpenInStatusButton

    critical/chats/test_1_1_public_chats.py:178: in test_1_1_chat_emoji_send_reply_and_open_link
        self.errors.verify_no_errors()
    base_test_case.py:190: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message with emoji was not sent or received in 1-1 chat
    E    No reply received in 1-1 chat
    



    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733

    Device 2: Find Button by accessibility id: jump-to

    critical/chats/test_1_1_public_chats.py:462: in test_1_1_chat_text_message_delete_push_disappear
        self.chat_2.jump_to_card_by_text(self.username_1)
    ../views/base_view.py:659: in jump_to_card_by_text
        self.click_on_floating_jump_to()
    ../views/base_view.py:648: in click_on_floating_jump_to
        self.jump_to_button.click()
    ../views/base_element.py:90: in click
        element = self.find_element()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: Button by accessibility id: `jump-to` 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; also Unexpected Alert is shown: 'Feature not implemented.'
    



    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813

    Device 2: Getting PN by 'Text push notification'
    Device 2: Click system back button

    critical/chats/test_1_1_public_chats.py:342: in test_1_1_chat_push_emoji
        self.device_2.driver.fail("Push notification with text was not received")
    base_test_case.py:178: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
     Device 2: Push notification with text was not received
    



    Device sessions

    4. test_1_1_chat_edit_message, id: 702855

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

    critical/chats/test_1_1_public_chats.py:375: in test_1_1_chat_edit_message
        self.chat_2.jump_to_card_by_text(self.username_1)
    ../views/base_view.py:660: in jump_to_card_by_text
        self.element_by_text(text).click()
    ../views/base_element.py:90: in click
        element = self.find_element()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: Button by xpath: `//*[@text="sender"]` 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; also Unexpected Alert is shown: 'Feature not implemented.'
    



    Device sessions

    5. test_1_1_chat_send_image_save_and_share, id: 703391

    Device 2: Find Button by accessibility id: jump-to

    critical/chats/test_1_1_public_chats.py:401: in test_1_1_chat_send_image_save_and_share
        self.chat_2.jump_to_card_by_text(self.username_1)
    ../views/base_view.py:659: in jump_to_card_by_text
        self.click_on_floating_jump_to()
    ../views/base_view.py:648: in click_on_floating_jump_to
        self.jump_to_button.click()
    ../views/base_element.py:90: in click
        element = self.find_element()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: Button by accessibility id: `jump-to` 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; also Unexpected Alert is shown: 'Feature not implemented.'
    



    Device sessions

    6. 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']//*[@content-desc='message-status']/android.widget.TextView
    Device 1: Text is Sent

    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:225: 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 Sent
    



    Device sessions

    7. 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:181: 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

    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 (39)

    Click to expand

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

    1. test_activity_center_admin_notification_accept_swipe, id: 702958
    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 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 TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    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

    @siddarthkay siddarthkay force-pushed the kotlinify-account-db-log-network-manager branch 2 times, most recently from 404dc26 to 43de426 Compare March 29, 2024 06:51
    @siddarthkay siddarthkay force-pushed the kotlinify-account-db-log-network-manager branch 2 times, most recently from ff28188 to a453690 Compare April 2, 2024 10:38
    Copy link
    Member

    @smohamedjavid smohamedjavid left a comment

    Choose a reason for hiding this comment

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

    🚀

    @siddarthkay siddarthkay force-pushed the kotlinify-account-db-log-network-manager branch 9 times, most recently from a33f4fc to c4a48b1 Compare April 9, 2024 10:26
    @churik
    Copy link
    Member

    churik commented Apr 9, 2024

    re-launched the tests, prioritizing the PR, thank you for patience!

    @status-im-auto
    Copy link
    Member

    87% of end-end tests have passed

    Total executed tests: 52
    Failed tests: 6
    Expected to fail tests: 1
    Passed tests: 45
    
    IDs of failed tests: 704613,703297,704615,702936,702947,702775 
    
    IDs of expected to fail tests: 703503 
    

    Failed tests (6)

    Click to expand
  • Rerun failed tests

  • Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936

    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

    Test setup failed: activity_center/test_activity_center.py:282: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:420: in join_community
        self.join_button.wait_and_click(120)
    ../views/base_element.py:100: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:147: 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

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947

    Test setup failed: activity_center/test_activity_center.py:282: in prepare_devices
        self.community_2.join_community()
    ../views/chat_view.py:420: in join_community
        self.join_button.wait_and_click(120)
    ../views/base_element.py:100: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:147: 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
    



    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_send_image_save_and_share, id: 703297

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

    critical/chats/test_group_chat.py:283: in test_group_chat_send_image_save_and_share
        self.errors.verify_no_errors()
    base_test_case.py:190: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message about saving a photo is not shown for member_2.
    



    Device sessions

    Class TestDeepLinksOneDevice:

    1. test_links_open_universal_links_from_chat, id: 704613

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

    critical/test_deep_and_universal_links.py:69: in test_links_open_universal_links_from_chat
        self.errors.verify_no_errors()
    base_test_case.py:190: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Community 'Status mobile QA community max' was not requested to join by the url https://status.app/c/G8EAAMR_fz8tsCQ-aR2QrCS5sVAvvzc_N3mAA-En_Zxy4JA3j7Dl1A50Pd4DbooQOMbWf7E1_4wipgDyGe8XZEappDn-Qomf9l_xyXhSYBuSQic8InCEUBSRGR0oixSTh3iw5ZCxzkGSI95Iyu1EBpcIlFOEMPHpKUBIdkkoKBJglMDKko8O8dBvBtIYncOA8mwztwLpx3C0rK_u59PldFuXe4cx#zQ3shwQnEfMtcXpHXF4qJPyCGgw2F18N3nbGzYbzsVHnMq4yK
    E    Community 'Open community for e2e' was not requested to join by the url https://status.app/c/G1AAAGR0G-IRb2YJD4lRXwLusAFnGrDHGNl6Wt55MIARwVYvarnO873011-fdVSz1kHSan-qq0G96vOaMqyTRhJnQV74KCUr#zQ3shb9irJR66rhG1E8sQZX8pDU3dpGm4daYSmPVDd2e73ewE
    E    Community 'closed community' was not requested to join by the url https://status.app/c/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shspPKCZ1VPVQ9dLXGufUGvGphjxVwrcZ6rkZc7S39T4b3
    



    Device sessions

    2. test_links_deep_links, id: 702775

    Device 1: Find BrowserTab by accessibility id: browser-stack-tab
    Device 1: Tap on found: BrowserTab

    critical/test_deep_and_universal_links.py:112: in test_links_deep_links
        self.errors.verify_no_errors()
    base_test_case.py:190: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Community 'closed community' was not requested to join by the deep link status.app://c/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shspPKCZ1VPVQ9dLXGufUGvGphjxVwrcZ6rkZc7S39T4b3
    



    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_edit_delete_message_when_offline, id: 704615

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

    critical/chats/test_public_chat_browsing.py:800: in test_community_edit_delete_message_when_offline
        self.errors.verify_no_errors()
    base_test_case.py:190: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message 'message to delete' was not deleted for the receiver
    



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

    1. test_community_several_images_send_reply, id: 703194
    Device sessions

    2. test_community_one_image_send_reply, id: 702859
    Device sessions

    3. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    4. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    5. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    6. test_community_message_delete, id: 702839
    Device sessions

    7. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    8. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    9. test_community_message_edit, id: 702843
    Device sessions

    10. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestWalletMultipleDevice:

    1. test_wallet_send_asset_from_drawer, id: 727230
    Device sessions

    2. test_wallet_send_eth, id: 727229
    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 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 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_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 TestWalletOneDevice:

    1. test_wallet_add_remove_regular_account, id: 727231
    Device sessions

    2. test_wallet_add_remove_watch_only_account, id: 727232
    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 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

    @pavloburykh pavloburykh self-assigned this Apr 9, 2024
    @siddarthkay siddarthkay force-pushed the kotlinify-account-db-log-network-manager branch from c4a48b1 to 775e345 Compare April 9, 2024 15:43
    @status-im-auto
    Copy link
    Member

    67% of end-end tests have passed

    Total executed tests: 6
    Failed tests: 2
    Expected to fail tests: 0
    Passed tests: 4
    
    IDs of failed tests: 702775,704613 
    

    Failed tests (2)

    Click to expand
  • Rerun failed tests

  • Class TestDeepLinksOneDevice:

    1. test_links_deep_links, id: 702775

    Device 1: Find `BrowserTab` by `accessibility id`: `browser-stack-tab`
    Device 1: Tap on found: BrowserTab

    critical/test_deep_and_universal_links.py:112: in test_links_deep_links
        self.errors.verify_no_errors()
    base_test_case.py:190: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Community 'closed community' was not requested to join by the deep link status.app://c/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shspPKCZ1VPVQ9dLXGufUGvGphjxVwrcZ6rkZc7S39T4b3
    



    Device sessions

    2. test_links_open_universal_links_from_chat, id: 704613

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

    critical/test_deep_and_universal_links.py:69: in test_links_open_universal_links_from_chat
        self.errors.verify_no_errors()
    base_test_case.py:190: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Community 'closed community' was not requested to join by the url https://status.app/c/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shspPKCZ1VPVQ9dLXGufUGvGphjxVwrcZ6rkZc7S39T4b3
    



    Device sessions

    Passed tests (4)

    Click to expand

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    2. test_navigation_jump_to, id: 702936
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_edit_delete_message_when_offline, id: 704615
    Device sessions

    @pavloburykh
    Copy link
    Contributor

    @siddarthkay thank you for the PR. No issues from my side. Ready for merge.

    @siddarthkay siddarthkay force-pushed the kotlinify-account-db-log-network-manager branch from 775e345 to a9fc3b8 Compare April 10, 2024 14:09
    parent issue: #18310
    
    This PR converts the following `Java` files to `Kotlin` :
    
    - modules/react-native-status/android/src/main/java/im/status/ethereum/module/AccountManager.java
    - modules/react-native-status/android/src/main/java/im/status/ethereum/module/DatabaseManager.java
    - modules/react-native-status/android/src/main/java/im/status/ethereum/module/LogManager.java
    - modules/react-native-status/android/src/main/java/im/status/ethereum/module/NetworkManager.java
    
    This PR converts Java code to `Kotlin` which involves methods like creating account, onboarding and local network stuff that impacts syncing code.
    In theory the logic should be same but please test those areas.
    
    - Android
    
    status: ready
    @siddarthkay siddarthkay force-pushed the kotlinify-account-db-log-network-manager branch from a9fc3b8 to bb6b4e2 Compare April 10, 2024 14:37
    @siddarthkay siddarthkay merged commit f6a433c into develop Apr 10, 2024
    6 checks passed
    @siddarthkay siddarthkay deleted the kotlinify-account-db-log-network-manager branch April 10, 2024 15:02
    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.

    6 participants