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

Add method for fast creation of communities #16806

Merged
merged 3 commits into from
Aug 3, 2023
Merged

Conversation

qfrank
Copy link
Contributor

@qfrank qfrank commented Jul 28, 2023

close #16362

Platforms

  • Android
  • iOS

status: ready

@qfrank qfrank requested a review from jakubgs as a code owner July 28, 2023 08:19
@qfrank qfrank self-assigned this Jul 28, 2023
@status-im-auto
Copy link
Member

status-im-auto commented Jul 28, 2023

Jenkins Builds

Click to see older builds (16)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ dc2d5f1 #1 2023-07-28 08:29:11 ~9 min android-e2e 🤖apk 📲
✔️ dc2d5f1 #1 2023-07-28 08:29:13 ~9 min android 🤖apk 📲
✔️ dc2d5f1 #1 2023-07-28 08:29:56 ~9 min tests 📄log
✔️ dc2d5f1 #1 2023-07-28 08:33:40 ~13 min ios 📱ipa 📲
✔️ 1eacbbf #2 2023-08-01 08:29:10 ~8 min android-e2e 🤖apk 📲
✔️ 1eacbbf #2 2023-08-01 08:29:19 ~8 min android 🤖apk 📲
✔️ 1eacbbf #2 2023-08-01 08:30:02 ~9 min tests 📄log
✔️ 1eacbbf #2 2023-08-01 08:31:40 ~10 min ios 📱ipa 📲
✔️ f584b64 #3 2023-08-01 11:20:06 ~7 min android-e2e 🤖apk 📲
✔️ f584b64 #3 2023-08-01 11:21:19 ~9 min ios 📱ipa 📲
✔️ f584b64 #3 2023-08-01 11:23:12 ~10 min android 🤖apk 📲
✔️ f584b64 #3 2023-08-01 11:23:23 ~11 min tests 📄log
✔️ 08a44bb #4 2023-08-01 11:37:05 ~6 min android-e2e 🤖apk 📲
✔️ 08a44bb #4 2023-08-01 11:39:48 ~9 min android 🤖apk 📲
✔️ 08a44bb #4 2023-08-01 11:41:30 ~10 min tests 📄log
✔️ 08a44bb #4 2023-08-01 11:49:08 ~18 min ios 📱ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 19ced18 #5 2023-08-02 02:25:09 ~5 min android-e2e 🤖apk 📲
✔️ 19ced18 #5 2023-08-02 02:25:22 ~6 min android 🤖apk 📲
✔️ 19ced18 #5 2023-08-02 02:28:35 ~9 min tests 📄log
✔️ 19ced18 #5 2023-08-02 02:29:08 ~9 min ios 📱ipa 📲
✔️ 98a2999 #6 2023-08-03 00:53:30 ~7 min android 🤖apk 📲
✔️ 98a2999 #6 2023-08-03 00:56:25 ~10 min tests 📄log
✔️ 98a2999 #6 2023-08-03 00:56:42 ~11 min android-e2e 🤖apk 📲
✔️ 98a2999 #6 2023-08-03 00:59:54 ~14 min ios 📱ipa 📲

@yevh-berdnyk yevh-berdnyk self-assigned this Jul 31, 2023
@status-im-auto
Copy link
Member

60% of end-end tests have passed

Total executed tests: 40
Failed tests: 16
Passed tests: 24
IDs of failed tests: 703194,702859,702732,703133,702851,702840,703086,702894,702786,702839,702838,702844,702843,702731,702845,702841 

Failed tests (16)

Click to expand
  • Rerun failed tests

  • Class TestGroupChatMultipleDeviceMergedNewUI:

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

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

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Restoring communities issue: 16787; restoring contacts issue: 15500]]

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194

    Test setup failed: critical/test_public_chat_browsing.py:533: in prepare_devices
        self.chat_1.send_message('hey')
    ../views/chat_view.py:968: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:117: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    2. test_community_one_image_send_reply, id: 702859

    Test setup failed: critical/test_public_chat_browsing.py:533: in prepare_devices
        self.chat_1.send_message('hey')
    ../views/chat_view.py:968: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:117: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    3. test_community_emoji_send_copy_paste_reply, id: 702840

    Test setup failed: critical/test_public_chat_browsing.py:533: in prepare_devices
        self.chat_1.send_message('hey')
    ../views/chat_view.py:968: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:117: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    4. test_community_mark_all_messages_as_read, id: 703086

    Test setup failed: critical/test_public_chat_browsing.py:533: in prepare_devices
        self.chat_1.send_message('hey')
    ../views/chat_view.py:968: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:117: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    5. test_community_contact_block_unblock_offline, id: 702894

    Test setup failed: critical/test_public_chat_browsing.py:533: in prepare_devices
        self.chat_1.send_message('hey')
    ../views/chat_view.py:968: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:117: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    6. test_community_mentions_push_notification, id: 702786

    Test setup failed: critical/test_public_chat_browsing.py:533: in prepare_devices
        self.chat_1.send_message('hey')
    ../views/chat_view.py:968: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:117: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    7. test_community_message_delete, id: 702839

    Test setup failed: critical/test_public_chat_browsing.py:533: in prepare_devices
        self.chat_1.send_message('hey')
    ../views/chat_view.py:968: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:117: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    8. test_community_message_send_check_timestamps_sender_username, id: 702838

    Device 1: ChatMessageInput element not found
    Device 1: Sending message 'hey'

    Test setup failed: critical/test_public_chat_browsing.py:533: in prepare_devices
        self.chat_1.send_message('hey')
    ../views/chat_view.py:968: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:117: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    9. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844

    Test setup failed: critical/test_public_chat_browsing.py:533: in prepare_devices
        self.chat_1.send_message('hey')
    ../views/chat_view.py:968: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:117: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    10. test_community_message_edit, id: 702843

    Test setup failed: critical/test_public_chat_browsing.py:533: in prepare_devices
        self.chat_1.send_message('hey')
    ../views/chat_view.py:968: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:117: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    11. test_community_leave, id: 702845

    Test setup failed: critical/test_public_chat_browsing.py:533: in prepare_devices
        self.chat_1.send_message('hey')
    ../views/chat_view.py:968: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:117: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    12. test_community_unread_messages_badge, id: 702841

    Test setup failed: critical/test_public_chat_browsing.py:533: in prepare_devices
        self.chat_1.send_message('hey')
    ../views/chat_view.py:968: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:117: in wait_for_element
        raise TimeoutException(
     Device `1`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

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

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851

    Device 2: Tap on found: Button
    Device 2: Find EditBox by accessibility id: profile-title-input

    medium/test_activity_center.py:87: in test_activity_center_contact_request_accept_swipe_mark_all_as_read
        self.device_2.create_user(second_user=True, username=new_username)
    ../views/sign_in_view.py:234: in create_user
        self.set_profile(username)
    ../views/sign_in_view.py:218: in set_profile
        self.profile_your_name_edit_box.set_value(username)
    ../views/base_element.py:352: in set_value
        self.find_element().set_value(value)
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 2: EditBox by accessibility id: `profile-title-input` is not found on the screen
    



    Device sessions

    Passed tests (24)

    Click to expand

    Class TestGroupChatMultipleDeviceMergedNewUI:

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

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_navigation_jump_to, id: 702936
    Device sessions

    3. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    4. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    2. test_community_undo_delete_message, id: 702869
    Device sessions

    3. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    4. test_community_mute_community_and_channel, id: 703382
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    3. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    4. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    5. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    6. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    7. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    8. test_1_1_chat_edit_message, id: 702855
    Device sessions

    9. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    10. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    @churik
    Copy link
    Member

    churik commented Jul 31, 2023

    @qfrank thank you for PR!!

    I made manual nightly build from this branch and the option is available there

    Expected that it will be available in PRs and e2e builds only.

    @yevh-berdnyk
    Copy link
    Contributor

    Other things related to communities types, channels etc. look good, thanks @qfrank!

    @qfrank qfrank force-pushed the feat/create-community-fast branch 2 times, most recently from f584b64 to 08a44bb Compare August 1, 2023 11:30
    @qfrank
    Copy link
    Contributor Author

    qfrank commented Aug 1, 2023

    @qfrank thank you for PR!!

    I made manual nightly build from this branch and the option is available there

    Expected that it will be available in PRs and e2e builds only.

    it should be resolved now @churik 🙏

    @jakubgs jakubgs removed their request for review August 1, 2023 12:05
    @churik
    Copy link
    Member

    churik commented Aug 1, 2023

    For some reason, in PR builds only token gated community is available.
    IMAGE 2023-08-01 16:34:21
    No option available on nightly, how expected, thank you!

    @qfrank
    Copy link
    Contributor Author

    qfrank commented Aug 2, 2023

    For some reason, in PR builds only token gated community is available.

    this should be fixed now with latest commit @churik

    @yevh-berdnyk
    Copy link
    Contributor

    Hi @qfrank,
    Now we can't see any issues here, thanks!

    @qfrank qfrank force-pushed the feat/create-community-fast branch from 19ced18 to 98a2999 Compare August 3, 2023 00:45
    @qfrank qfrank merged commit 7b425c1 into develop Aug 3, 2023
    @qfrank qfrank deleted the feat/create-community-fast branch August 3, 2023 00:59
    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.

    Add method for fast creation of communities on status-go side
    5 participants