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 members to open community #16917

Merged
merged 2 commits into from
Aug 18, 2023
Merged

add members to open community #16917

merged 2 commits into from
Aug 18, 2023

Conversation

jo-mut
Copy link
Contributor

@jo-mut jo-mut commented Aug 8, 2023

fixes #14956

Summary

There has been some updates on joining communities. Before users would basically add themselves to the member list and didn't have to wait for the control node to confirm the request (in fact it wouldn't actually send a request in the first place, it'd just join right away).

With the updates we have moved on from the part where JoinCommunity() would add the user to the member list because what actually needs to happen is that there has to be a RequestToJoinResponse(). This is regardless of whether the community is open to join or not

Mobile still uses JoinCommunity() which mean the control node never receives a the request to join for approval and therefore no RequestToJoinResponse which leads to the user not being added to the member list

Current what happens is:

  • Mobile calls JoinCommunity()
  • Mobile UI now assumes joining was successful, while in fact nothing has happened

In this case the user does not get listed in the member list

What needs to happen is:

  • Mobile calls RequestToJoinCommunity() regardless of the community's configuration
  • Waits for a RequestToJoinResponse
  • In the mean time, puts UI in "pending" state
  • Once RequestToJoinResponse comes in, check if it's accepted = true
  • if true the user becomes part of the community

The mobile client most likely receives a new CommunityDescription with your user as a member, shortly before receiving the request to join response

This PR removes the updates the client to call RequestToJoinCommunity() instead of JoinCommunity() which resolves the issue

@status-im-auto
Copy link
Member

status-im-auto commented Aug 8, 2023

Jenkins Builds

Click to see older builds (79)
Commit #️⃣ Finished (UTC) Duration Platform Result
0e1f93b #1 2023-08-08 10:03:49 ~4 min tests 📄log
79fa7ea #2 2023-08-08 10:08:30 ~2 min tests 📄log
✔️ 79fa7ea #2 2023-08-08 10:12:10 ~5 min android 🤖apk 📲
✔️ 79fa7ea #2 2023-08-08 10:12:16 ~5 min android-e2e 🤖apk 📲
✔️ 79fa7ea #2 2023-08-08 10:15:48 ~9 min ios 📱ipa 📲
fe17032 #3 2023-08-08 11:04:04 ~2 min tests 📄log
✔️ fe17032 #3 2023-08-08 11:07:36 ~6 min android-e2e 🤖apk 📲
✔️ fe17032 #3 2023-08-08 11:08:07 ~6 min android 🤖apk 📲
✔️ fe17032 #3 2023-08-08 11:08:35 ~7 min ios 📱ipa 📲
✔️ fe17032 #4 2023-08-08 11:16:34 ~8 min tests 📄log
249c051 #5 2023-08-08 17:35:03 ~2 min tests 📄log
✔️ 249c051 #4 2023-08-08 17:38:23 ~5 min ios 📱ipa 📲
✔️ 249c051 #4 2023-08-08 17:38:49 ~6 min android-e2e 🤖apk 📲
✔️ 249c051 #4 2023-08-08 17:38:54 ~6 min android 🤖apk 📲
✔️ 628535b #5 2023-08-08 18:35:33 ~5 min android 🤖apk 📲
✔️ 628535b #5 2023-08-08 18:36:48 ~6 min ios 📱ipa 📲
✔️ 628535b #5 2023-08-08 18:37:42 ~7 min android-e2e 🤖apk 📲
✔️ 628535b #6 2023-08-08 18:39:17 ~9 min tests 📄log
72033e3 #7 2023-08-09 09:07:13 ~2 min tests 📄log
✔️ 72033e3 #6 2023-08-09 09:10:28 ~5 min android-e2e 🤖apk 📲
✔️ 72033e3 #6 2023-08-09 09:10:51 ~5 min android 🤖apk 📲
✔️ 72033e3 #6 2023-08-09 09:11:18 ~6 min ios 📱ipa 📲
✔️ ccb80d9 #7 2023-08-09 10:07:07 ~6 min android-e2e 🤖apk 📲
✔️ ccb80d9 #7 2023-08-09 10:08:09 ~7 min android 🤖apk 📲
✔️ ccb80d9 #7 2023-08-09 10:08:15 ~7 min ios 📱ipa 📲
✔️ ccb80d9 #8 2023-08-09 10:10:28 ~9 min tests 📄log
d155f94 #9 2023-08-10 11:41:11 ~2 min tests 📄log
✔️ d155f94 #8 2023-08-10 11:44:23 ~5 min android 🤖apk 📲
✔️ d155f94 #8 2023-08-10 11:44:53 ~6 min ios 📱ipa 📲
✔️ d155f94 #8 2023-08-10 11:45:01 ~6 min android-e2e 🤖apk 📲
✔️ 03fb0b2 #9 2023-08-10 12:07:13 ~6 min ios 📱ipa 📲
✔️ 03fb0b2 #9 2023-08-10 12:10:42 ~9 min android-e2e 🤖apk 📲
✔️ 03fb0b2 #9 2023-08-10 12:10:45 ~9 min android 🤖apk 📲
✔️ 03fb0b2 #10 2023-08-10 12:11:11 ~10 min tests 📄log
01b8b0c #11 2023-08-11 12:04:33 ~3 min tests 📄log
d661321 #12 2023-08-11 12:07:37 ~2 min tests 📄log
✔️ d661321 #11 2023-08-11 12:14:55 ~9 min android-e2e 🤖apk 📲
✔️ d661321 #11 2023-08-11 12:15:01 ~9 min android 🤖apk 📲
✔️ d661321 #11 2023-08-11 12:15:41 ~10 min ios 📱ipa 📲
1c2af82 #13 2023-08-11 13:37:53 ~2 min tests 📄log
✔️ 1c2af82 #12 2023-08-11 13:43:51 ~8 min android-e2e 🤖apk 📲
✔️ 1c2af82 #12 2023-08-11 13:43:54 ~8 min android 🤖apk 📲
✔️ 1c2af82 #12 2023-08-11 13:44:17 ~9 min ios 📱ipa 📲
c84d4b5 #14 2023-08-11 22:22:37 ~2 min tests 📄log
✔️ c84d4b5 #13 2023-08-11 22:26:15 ~6 min ios 📱ipa 📲
✔️ c84d4b5 #13 2023-08-11 22:26:16 ~6 min android-e2e 🤖apk 📲
✔️ c84d4b5 #13 2023-08-11 22:26:17 ~6 min android 🤖apk 📲
fdbb979 #15 2023-08-12 17:29:09 ~2 min tests 📄log
✔️ fdbb979 #14 2023-08-12 17:32:10 ~5 min ios 📱ipa 📲
✔️ fdbb979 #14 2023-08-12 17:32:42 ~6 min android-e2e 🤖apk 📲
✔️ fdbb979 #14 2023-08-12 17:32:44 ~6 min android 🤖apk 📲
✔️ b7ecad3 #15 2023-08-13 21:55:26 ~6 min ios 📱ipa 📲
✔️ b7ecad3 #15 2023-08-13 21:58:05 ~9 min android 🤖apk 📲
✔️ b7ecad3 #15 2023-08-13 21:58:08 ~9 min android-e2e 🤖apk 📲
✔️ b7ecad3 #16 2023-08-13 21:59:00 ~10 min tests 📄log
✔️ 9d3a79f #16 2023-08-14 17:49:57 ~6 min ios 📱ipa 📲
✔️ 9d3a79f #16 2023-08-14 17:51:08 ~7 min android-e2e 🤖apk 📲
✔️ 9d3a79f #16 2023-08-14 17:51:14 ~7 min android 🤖apk 📲
✔️ 9d3a79f #17 2023-08-14 17:54:21 ~11 min tests 📄log
✔️ bc2eea0 #17 2023-08-14 22:31:58 ~6 min ios 📱ipa 📲
✔️ bc2eea0 #17 2023-08-14 22:31:58 ~6 min android-e2e 🤖apk 📲
✔️ bc2eea0 #17 2023-08-14 22:32:03 ~6 min android 🤖apk 📲
✔️ bc2eea0 #18 2023-08-14 22:34:43 ~8 min tests 📄log
✔️ 3149b7d #18 2023-08-15 10:10:47 ~8 min ios 📱ipa 📲
✔️ 3149b7d #18 2023-08-15 10:11:52 ~9 min android 🤖apk 📲
✔️ 3149b7d #18 2023-08-15 10:11:58 ~9 min android-e2e 🤖apk 📲
✔️ 3149b7d #19 2023-08-15 10:12:29 ~10 min tests 📄log
✔️ 5c56f54 #19 2023-08-15 11:55:45 ~5 min ios 📱ipa 📲
✔️ 5c56f54 #19 2023-08-15 11:56:04 ~6 min android-e2e 🤖apk 📲
✔️ 5c56f54 #19 2023-08-15 11:56:04 ~6 min android 🤖apk 📲
✔️ 5c56f54 #20 2023-08-15 11:58:58 ~9 min tests 📄log
✔️ c941ea2 #20 2023-08-15 13:20:10 ~5 min android 🤖apk 📲
✔️ c941ea2 #20 2023-08-15 13:20:20 ~5 min ios 📱ipa 📲
✔️ c941ea2 #20 2023-08-15 13:21:27 ~7 min android-e2e 🤖apk 📲
✔️ c941ea2 #21 2023-08-15 13:23:35 ~9 min tests 📄log
5f83337 #22 2023-08-17 00:26:01 ~2 min tests 📄log
✔️ 5f83337 #21 2023-08-17 00:29:27 ~5 min ios 📱ipa 📲
✔️ 5f83337 #21 2023-08-17 00:30:00 ~6 min android-e2e 🤖apk 📲
✔️ 5f83337 #21 2023-08-17 00:30:02 ~6 min android 🤖apk 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
acb7ee8 #23 2023-08-17 21:13:33 ~2 min tests 📄log
✔️ acb7ee8 #22 2023-08-17 21:17:07 ~6 min android-e2e 🤖apk 📲
✔️ acb7ee8 #22 2023-08-17 21:17:08 ~6 min android 🤖apk 📲
✔️ acb7ee8 #22 2023-08-17 21:20:27 ~9 min ios 📱ipa 📲
✔️ c3ae91f #24 2023-08-17 22:16:00 ~5 min android-e2e 🤖apk 📲
✔️ c3ae91f #24 2023-08-17 22:16:07 ~6 min android 🤖apk 📲
✔️ c3ae91f #25 2023-08-17 22:18:32 ~8 min tests 📄log
✔️ c3ae91f #24 2023-08-17 22:21:39 ~11 min ios 📱ipa 📲

@jo-mut jo-mut force-pushed the bug/missing-community-members branch from 0e1f93b to 79fa7ea Compare August 8, 2023 10:06
@flexsurfer
Copy link
Member

hey @jo-mut tests and lint are broken

@jo-mut jo-mut force-pushed the bug/missing-community-members branch from 79fa7ea to fe17032 Compare August 8, 2023 11:01
@status-im-auto
Copy link
Member

41% of end-end tests have passed

Total executed tests: 41
Failed tests: 24
Passed tests: 17
IDs of failed tests: 702809,703194,702859,702732,703133,702957,702840,703495,703086,702894,703297,703202,702786,702839,702947,702838,702844,702843,702807,702731,702808,702845,702958,702841 

Failed tests (24)

Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMerged:

    1. test_community_markdown_support, id: 702809

    Device 2: ChatMessageInput element not found
    # STEP: Checking that "bold text in asterics" is applied (**) in community channel

    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:703: in urlopen
        httplib_response = self._make_request(
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:449: in _make_request
        six.raise_from(e, None)
    <string>:3: in raise_from
        ???
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:444: in _make_request
        httplib_response = conn.getresponse()
    /usr/lib/python3.10/http/client.py:1374: in getresponse
        response.begin()
    /usr/lib/python3.10/http/client.py:318: in begin
        version, status, reason = self._read_status()
    /usr/lib/python3.10/http/client.py:287: in _read_status
        raise RemoteDisconnected("Remote end closed connection without"
    E   http.client.RemoteDisconnected: Remote end closed connection without response
    
    During handling of the above exception, another exception occurred:
    critical/test_public_chat_browsing.py:1084: in test_community_markdown_support
        self.home_1.just_fyi('Checking that "%s" is applied (%s) in community channel' % (message, symbol))
    ../views/base_view.py:375: in just_fyi
        self.driver.execute_script("sauce:context=STEP: %s" % some_str)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:634: in execute_script
        return self.execute(command, {
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:319: in execute
        response = self.command_executor.execute(driver_command, params)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py:376: in execute
        return self._request(command_info[0], url, body=data)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py:399: in _request
        resp = self._conn.request(method, url, body=body, headers=headers)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/request.py:78: in request
        return self.request_encode_body(
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/request.py:170: in request_encode_body
        return self.urlopen(method, url, **extra_kw)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/poolmanager.py:376: in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:787: in urlopen
        retries = retries.increment(
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/util/retry.py:550: in increment
        raise six.reraise(type(error), error, _stacktrace)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/packages/six.py:769: in reraise
        raise value.with_traceback(tb)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:703: in urlopen
        httplib_response = self._make_request(
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:449: in _make_request
        six.raise_from(e, None)
    <string>:3: in raise_from
        ???
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:444: in _make_request
        httplib_response = conn.getresponse()
    /usr/lib/python3.10/http/client.py:1374: in getresponse
        response.begin()
    /usr/lib/python3.10/http/client.py:318: in begin
        version, status, reason = self._read_status()
    /usr/lib/python3.10/http/client.py:287: in _read_status
        raise RemoteDisconnected("Remote end closed connection without"
     ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
    



    Device sessions

    2. 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/test_public_chat_browsing.py:660: in test_community_several_images_send_reply
        self.errors.verify_no_errors()
    base_test_case.py:183: 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

    3. test_community_one_image_send_reply, id: 702859

    Device 2: Looking for a message by text: description
    Device 2: Looking for a message by text: description

    critical/test_public_chat_browsing.py:671: in test_community_one_image_send_reply
        self.channel_2.chat_element_by_text(image_description).wait_for_visibility_of_element(10)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'description')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    4. test_community_emoji_send_copy_paste_reply, id: 702840

    Device 2: Quoting '🕺🏽' message
    Device 2: Find BaseElement by xpath: //*[@content-desc=':chat-floating-screen']//*[starts-with(@text,'🕺🏽')]

    critical/test_public_chat_browsing.py:752: in test_community_emoji_send_copy_paste_reply
        self.channel_2.quote_message(emoji_unicode)
    ../views/chat_view.py:1008: in quote_message
        self.chat_view_element_starts_with_text(message).long_press_until_element_is_shown(self.reply_message_button)
    ../views/base_element.py:298: in long_press_until_element_is_shown
        element = self.find_element()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 2: BaseElement by xpath: `//*[@content-desc=':chat-floating-screen']//*[starts-with(@text,'🕺🏽')]` is not found on the screen
    



    Device sessions

    5. test_community_mark_all_messages_as_read, id: 703086

    Device 2: ChatMessageInput element not found
    Device 2: Sending message 'hello'

    critical/test_public_chat_browsing.py:967: in test_community_mark_all_messages_as_read
        self.channel_2.send_message(self.text_message)
    ../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 `2`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element; 
     RemoteDisconnected
    



    Device sessions

    6. test_community_contact_block_unblock_offline, id: 702894

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

    critical/test_public_chat_browsing.py:869: in test_community_contact_block_unblock_offline
        channel.jump_to_card_by_text('# %s' % self.channel_name)
    ../views/base_view.py:620: in jump_to_card_by_text
        self.element_by_text(text).click()
    ../views/base_element.py:91: in click
        self.find_element().click()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 2: Button by xpath: `//*[@text="# general"]` is not found on the screen
    



    Device sessions

    7. test_community_mentions_push_notification, id: 702786

    # STEP: Invited member sends a message with a mention
    Device 2: Sending message 'hi'

    critical/test_public_chat_browsing.py:995: in test_community_mentions_push_notification
        self.channel_2.send_message("hi")
    ../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 `2`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element; 
     RemoteDisconnected
    



    Device sessions

    8. test_community_message_delete, id: 702839

    Device 2: Sending message 'delete for everyone'

    critical/test_public_chat_browsing.py:596: in test_community_message_delete
        self.channel_2.send_message(message_to_delete_everyone)
    ../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 `2`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    9. test_community_message_send_check_timestamps_sender_username, id: 702838

    Device 1: Find Button by xpath: //*[@text="Today"]
    Device 2: Sending message 'one more message'

    critical/test_public_chat_browsing.py:568: in test_community_message_send_check_timestamps_sender_username
        self.channel_2.send_message("one more message")
    ../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 `2`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    10. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844

    # STEP: Checking github_pr preview case
    Device 2: Find ChatMessageInput by accessibility id: chat-message-input

    critical/test_public_chat_browsing.py:808: in test_community_links_with_previews_github_youtube_twitter_gif_send_enable
        self.channel_2.chat_message_input.set_value(url)
    ../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: ChatMessageInput by accessibility id: `chat-message-input` is not found on the screen
    



    Device sessions

    11. 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/test_public_chat_browsing.py:585: in test_community_message_edit
        self.channel_2.set_reaction(message_text_after_edit)
    ../views/chat_view.py:1020: in set_reaction
        self.chat_element_by_text(message).long_press_until_element_is_shown(element)
    ../views/base_element.py:298: in long_press_until_element_is_shown
        element = self.find_element()
    ../views/chat_view.py:133: in find_element
        self.wait_for_visibility_of_element(20)
    ../views/base_element.py:135: 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

    12. test_community_leave, id: 702845

    Device 2: Find CommunitiesTab by accessibility id: communities-stack-tab
    Device 2: Looking for community: 'open community'

    critical/test_public_chat_browsing.py:1121: in test_community_leave
        community.long_press_until_element_is_shown(community_to_leave.leave_community_button)
    ../views/base_element.py:298: in long_press_until_element_is_shown
        element = self.find_element()
    ../views/home_view.py:70: in find_element
        self.wait_for_visibility_of_element(20)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElement by xpath:`//*[@content-desc='chat-name-text'][starts-with(@text,'open community')]/..` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    13. test_community_unread_messages_badge, id: 702841

    Device 2: ChatMessageInput element not found
    Device 2: Sending message 'test message'

    critical/test_public_chat_browsing.py:850: in test_community_unread_messages_badge
        self.channel_2.send_message(message)
    ../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 `2`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element; 
     RemoteDisconnected
    



    Device sessions

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

    1. test_activity_center_mentions, id: 702957

    Device 2: Mention user user1 in the chat
    Device 2: Find ChatMessageInput by accessibility id: chat-message-input

    medium/test_activity_center.py:282: in test_activity_center_mentions
        self.channel_2.mention_user(self.username_1)
    ../views/chat_view.py:1164: in mention_user
        self.chat_message_input.click_inside()
    ../views/chat_view.py:710: in click_inside
        location = self.find_element().location
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 2: ChatMessageInput by accessibility id: `chat-message-input` is not found on the screen
    



    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947

    Device 1: Find CommunitiesTab by accessibility id: communities-stack-tab
    Device 2: Looking for a message by text: something to reply to

    medium/test_activity_center.py:206: in test_activity_center_reply_read_unread_delete_filter_swipe
        self.channel_2.chat_element_by_text(message_to_reply).wait_for_visibility_of_element(120)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'something to reply to')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    3. test_activity_center_admin_notification_accept_swipe, id: 702958

    Device 2: Clearing history in chat 'user1' by long press
    Device 2: Looking for chat: 'user1'

    medium/test_activity_center.py:315: in test_activity_center_admin_notification_accept_swipe
        self.home_2.clear_chat_long_press(self.username_1)
    ../views/home_view.py:518: in clear_chat_long_press
        self.get_chat(username).long_press_element()
    ../views/base_element.py:292: in long_press_element
        element = self.find_element()
    ../views/home_view.py:70: in find_element
        self.wait_for_visibility_of_element(20)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElement by xpath:`//*[@content-desc='chat-name-text'][starts-with(@text,'user1')]/..` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

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

    1. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

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

    2. test_group_chat_mute_chat, id: 703495

    Test setup failed: critical/chats/test_group_chat.py:156: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: in run_in_parallel
        returns.append(await k)
    /usr/lib/python3.10/concurrent/futures/thread.py:58: in run
        result = self.fn(*self.args, **self.kwargs)
    ../views/sign_in_view.py:249: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    3. test_group_chat_send_image_save_and_share, id: 703297

    Test setup failed: critical/chats/test_group_chat.py:156: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: in run_in_parallel
        returns.append(await k)
    /usr/lib/python3.10/concurrent/futures/thread.py:58: in run
        result = self.fn(*self.args, **self.kwargs)
    ../views/sign_in_view.py:249: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    4. test_group_chat_reactions, id: 703202

    Test setup failed: critical/chats/test_group_chat.py:156: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: in run_in_parallel
        returns.append(await k)
    /usr/lib/python3.10/concurrent/futures/thread.py:58: in run
        result = self.fn(*self.args, **self.kwargs)
    ../views/sign_in_view.py:249: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    5. test_group_chat_join_send_text_messages_push, id: 702807

    Device 1: Tap on found: Button
    ## New multiaccount is created successfully!

    Test setup failed: critical/chats/test_group_chat.py:156: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: in run_in_parallel
        returns.append(await k)
    /usr/lib/python3.10/concurrent/futures/thread.py:58: in run
        result = self.fn(*self.args, **self.kwargs)
    ../views/sign_in_view.py:249: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    6. test_group_chat_offline_pn, id: 702808

    Test setup failed: critical/chats/test_group_chat.py:156: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: in run_in_parallel
        returns.append(await k)
    /usr/lib/python3.10/concurrent/futures/thread.py:58: in run
        result = self.fn(*self.args, **self.kwargs)
    ../views/sign_in_view.py:249: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    Passed tests (17)

    Click to expand

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    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_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    @pavloburykh pavloburykh self-assigned this Aug 8, 2023
    @pavloburykh
    Copy link
    Contributor

    @jo-mut hi. Please take a look at the following issue.

    ISSUE 1 Unable to join open community

    Steps:

    1. Create open community on Desktop client
    2. Share open community to mobile client
    3. Open shared community on mobile
    4. Try to join community

    Actual result: nothing happens when tapping Join community button

    Status-debug-logs (50).zip

    telegram-cloud-document-2-5373339562896534883.mp4

    Expected result: user is able to join community

    @status-im-auto
    Copy link
    Member

    54% of end-end tests have passed

    Total executed tests: 41
    Failed tests: 19
    Passed tests: 22
    
    IDs of failed tests: 702809,703194,702859,702732,703133,702957,702840,703086,702894,702786,702839,702947,702838,702844,702843,702731,702845,702958,702841 
    

    Failed tests (19)

    Click to expand
  • Rerun failed tests

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

    1. test_community_markdown_support, id: 702809

    Device 2: ChatMessageInput element not found
    # STEP: Checking that "bold text in asterics" is applied (**) in community channel

    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:703: in urlopen
        httplib_response = self._make_request(
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:449: in _make_request
        six.raise_from(e, None)
    <string>:3: in raise_from
        ???
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:444: in _make_request
        httplib_response = conn.getresponse()
    /usr/lib/python3.10/http/client.py:1374: in getresponse
        response.begin()
    /usr/lib/python3.10/http/client.py:318: in begin
        version, status, reason = self._read_status()
    /usr/lib/python3.10/http/client.py:287: in _read_status
        raise RemoteDisconnected("Remote end closed connection without"
    E   http.client.RemoteDisconnected: Remote end closed connection without response
    
    During handling of the above exception, another exception occurred:
    critical/test_public_chat_browsing.py:1084: in test_community_markdown_support
        self.home_1.just_fyi('Checking that "%s" is applied (%s) in community channel' % (message, symbol))
    ../views/base_view.py:375: in just_fyi
        self.driver.execute_script("sauce:context=STEP: %s" % some_str)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:634: in execute_script
        return self.execute(command, {
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:319: in execute
        response = self.command_executor.execute(driver_command, params)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py:376: in execute
        return self._request(command_info[0], url, body=data)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py:399: in _request
        resp = self._conn.request(method, url, body=body, headers=headers)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/request.py:78: in request
        return self.request_encode_body(
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/request.py:170: in request_encode_body
        return self.urlopen(method, url, **extra_kw)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/poolmanager.py:376: in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:787: in urlopen
        retries = retries.increment(
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/util/retry.py:550: in increment
        raise six.reraise(type(error), error, _stacktrace)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/packages/six.py:769: in reraise
        raise value.with_traceback(tb)
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:703: in urlopen
        httplib_response = self._make_request(
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:449: in _make_request
        six.raise_from(e, None)
    <string>:3: in raise_from
        ???
    /home/jenkins/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:444: in _make_request
        httplib_response = conn.getresponse()
    /usr/lib/python3.10/http/client.py:1374: in getresponse
        response.begin()
    /usr/lib/python3.10/http/client.py:318: in begin
        version, status, reason = self._read_status()
    /usr/lib/python3.10/http/client.py:287: in _read_status
        raise RemoteDisconnected("Remote end closed connection without"
     ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
    



    Device sessions

    2. 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/test_public_chat_browsing.py:660: in test_community_several_images_send_reply
        self.errors.verify_no_errors()
    base_test_case.py:183: 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

    3. test_community_one_image_send_reply, id: 702859

    Device 2: Looking for a message by text: description
    Device 2: Looking for a message by text: description

    critical/test_public_chat_browsing.py:671: in test_community_one_image_send_reply
        self.channel_2.chat_element_by_text(image_description).wait_for_visibility_of_element(10)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'description')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    4. test_community_emoji_send_copy_paste_reply, id: 702840

    Device 2: Quoting '👧🏼' message
    Device 2: Find BaseElement by xpath: //*[@content-desc=':chat-floating-screen']//*[starts-with(@text,'👧🏼')]

    critical/test_public_chat_browsing.py:752: in test_community_emoji_send_copy_paste_reply
        self.channel_2.quote_message(emoji_unicode)
    ../views/chat_view.py:1008: in quote_message
        self.chat_view_element_starts_with_text(message).long_press_until_element_is_shown(self.reply_message_button)
    ../views/base_element.py:298: in long_press_until_element_is_shown
        element = self.find_element()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 2: BaseElement by xpath: `//*[@content-desc=':chat-floating-screen']//*[starts-with(@text,'👧🏼')]` is not found on the screen
    



    Device sessions

    5. test_community_mark_all_messages_as_read, id: 703086

    Device 2: ChatMessageInput element not found
    Device 2: Sending message 'hello'

    critical/test_public_chat_browsing.py:967: in test_community_mark_all_messages_as_read
        self.channel_2.send_message(self.text_message)
    ../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 `2`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element; 
     RemoteDisconnected
    



    Device sessions

    6. test_community_contact_block_unblock_offline, id: 702894

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

    critical/test_public_chat_browsing.py:869: in test_community_contact_block_unblock_offline
        channel.jump_to_card_by_text('# %s' % self.channel_name)
    ../views/base_view.py:620: in jump_to_card_by_text
        self.element_by_text(text).click()
    ../views/base_element.py:91: in click
        self.find_element().click()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 2: Button by xpath: `//*[@text="# general"]` is not found on the screen
    



    Device sessions

    7. test_community_mentions_push_notification, id: 702786

    # STEP: Invited member sends a message with a mention
    Device 2: Sending message 'hi'

    critical/test_public_chat_browsing.py:995: in test_community_mentions_push_notification
        self.channel_2.send_message("hi")
    ../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 `2`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element; 
     RemoteDisconnected
    



    Device sessions

    8. test_community_message_delete, id: 702839

    Device 2: Sending message 'delete for everyone'

    critical/test_public_chat_browsing.py:596: in test_community_message_delete
        self.channel_2.send_message(message_to_delete_everyone)
    ../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 `2`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    9. test_community_message_send_check_timestamps_sender_username, id: 702838

    Device 1: Find Button by xpath: //*[@text="Today"]
    Device 2: Sending message 'one more message'

    critical/test_public_chat_browsing.py:568: in test_community_message_send_check_timestamps_sender_username
        self.channel_2.send_message("one more message")
    ../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 `2`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    10. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844

    # STEP: Checking github_pr preview case
    Device 2: Find ChatMessageInput by accessibility id: chat-message-input

    critical/test_public_chat_browsing.py:808: in test_community_links_with_previews_github_youtube_twitter_gif_send_enable
        self.channel_2.chat_message_input.set_value(url)
    ../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: ChatMessageInput by accessibility id: `chat-message-input` is not found on the screen
    



    Device sessions

    11. 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/test_public_chat_browsing.py:585: in test_community_message_edit
        self.channel_2.set_reaction(message_text_after_edit)
    ../views/chat_view.py:1020: in set_reaction
        self.chat_element_by_text(message).long_press_until_element_is_shown(element)
    ../views/base_element.py:298: in long_press_until_element_is_shown
        element = self.find_element()
    ../views/chat_view.py:133: in find_element
        self.wait_for_visibility_of_element(20)
    ../views/base_element.py:135: 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

    12. test_community_leave, id: 702845

    Device 2: Find CommunitiesTab by accessibility id: communities-stack-tab
    Device 2: Looking for community: 'open community'

    critical/test_public_chat_browsing.py:1121: in test_community_leave
        community.long_press_until_element_is_shown(community_to_leave.leave_community_button)
    ../views/base_element.py:298: in long_press_until_element_is_shown
        element = self.find_element()
    ../views/home_view.py:70: in find_element
        self.wait_for_visibility_of_element(20)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElement by xpath:`//*[@content-desc='chat-name-text'][starts-with(@text,'open community')]/..` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    13. test_community_unread_messages_badge, id: 702841

    Device 2: ChatMessageInput element not found
    Device 2: Sending message 'test message'

    critical/test_public_chat_browsing.py:850: in test_community_unread_messages_badge
        self.channel_2.send_message(message)
    ../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 `2`: `ChatMessageInput` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element; 
     RemoteDisconnected
    



    Device sessions

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

    1. test_activity_center_mentions, id: 702957

    Device 2: Mention user user1 in the chat
    Device 2: Find ChatMessageInput by accessibility id: chat-message-input

    medium/test_activity_center.py:282: in test_activity_center_mentions
        self.channel_2.mention_user(self.username_1)
    ../views/chat_view.py:1164: in mention_user
        self.chat_message_input.click_inside()
    ../views/chat_view.py:710: in click_inside
        location = self.find_element().location
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 2: ChatMessageInput by accessibility id: `chat-message-input` is not found on the screen
    



    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947

    Device 1: Find CommunitiesTab by accessibility id: communities-stack-tab
    Device 2: Looking for a message by text: something to reply to

    medium/test_activity_center.py:206: in test_activity_center_reply_read_unread_delete_filter_swipe
        self.channel_2.chat_element_by_text(message_to_reply).wait_for_visibility_of_element(120)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'something to reply to')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    3. test_activity_center_admin_notification_accept_swipe, id: 702958

    Device 2: Clearing history in chat 'user1' by long press
    Device 2: Looking for chat: 'user1'

    medium/test_activity_center.py:315: in test_activity_center_admin_notification_accept_swipe
        self.home_2.clear_chat_long_press(self.username_1)
    ../views/home_view.py:518: in clear_chat_long_press
        self.get_chat(username).long_press_element()
    ../views/base_element.py:292: in long_press_element
        element = self.find_element()
    ../views/home_view.py:70: in find_element
        self.wait_for_visibility_of_element(20)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElement by xpath:`//*[@content-desc='chat-name-text'][starts-with(@text,'user1')]/..` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    Passed tests (22)

    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_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_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

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

    1. test_navigation_jump_to, id: 702936
    Device sessions

    @jo-mut jo-mut force-pushed the bug/missing-community-members branch from fe17032 to 249c051 Compare August 8, 2023 17:32
    @jo-mut
    Copy link
    Contributor Author

    jo-mut commented Aug 8, 2023

    @pavloburykh I have made an update to fix that. Works fine now

    WhatsApp.Video.2023-08-08.at.20.39.28.mp4

    @jo-mut jo-mut force-pushed the bug/missing-community-members branch 2 times, most recently from 628535b to 72033e3 Compare August 9, 2023 09:04
    @status-im-auto
    Copy link
    Member

    85% of end-end tests have passed

    Total executed tests: 41
    Failed tests: 6
    Passed tests: 35
    
    IDs of failed tests: 702894,702786,702731,703133,702783,702732 
    

    Failed tests (6)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMerged:

    1. test_community_contact_block_unblock_offline, id: 702894

    Device 2: Type `I should not be in chat` to `ChatMessageInput`
    Device 2: Find `SendMessageButton` by `accessibility id`: `send-message-button`

    critical/test_public_chat_browsing.py:874: in test_community_contact_block_unblock_offline
        self.channel_2.send_message(message_to_disappear)
    ../views/chat_view.py:970: in send_message
        self.send_message_button.click()
    ../views/base_element.py:91: in click
        self.find_element().click()
    ../views/base_element.py:80: in find_element
        raise NoSuchElementException(
     Device 2: SendMessageButton by accessibility id: `send-message-button` is not found on the screen
    



    Device sessions

    2. test_community_mentions_push_notification, id: 702786

    # STEP: Admin gets push notification with the mention and tap it
    Device 1: Getting PN by 'user_1'

    critical/test_public_chat_browsing.py:1063: in test_community_mentions_push_notification
        self.errors.verify_no_errors()
    base_test_case.py:183: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Push notification with the mention was not received by admin
    



    Device sessions

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

    1. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

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

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

    critical/chats/test_1_1_public_chats.py:1379: in test_1_1_chat_is_shown_message_sent_delivered_from_offline
        self.errors.verify_no_errors()
    base_test_case.py:183: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message was not delivered after resending from offline
    



    Device sessions

    Passed tests (35)

    Click to expand

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_leave, id: 702845
    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_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    5. test_community_unread_messages_badge, id: 702841
    Device sessions

    6. test_community_message_delete, id: 702839
    Device sessions

    7. test_community_markdown_support, id: 702809
    Device sessions

    8. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    9. test_community_one_image_send_reply, id: 702859
    Device sessions

    10. test_community_message_edit, id: 702843
    Device sessions

    11. test_community_several_images_send_reply, id: 703194
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_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_mute_chat, id: 703496
    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_delete_via_long_press_relogin, id: 702784
    Device sessions

    9. 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_send_image_save_and_share, id: 703297
    Device sessions

    5. test_group_chat_mute_chat, id: 703495
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    2. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    3. test_community_undo_delete_message, id: 702869
    Device sessions

    4. test_community_mute_community_and_channel, id: 703382
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    3. test_activity_center_mentions, id: 702957
    Device sessions

    4. test_navigation_jump_to, id: 702936
    Device sessions

    @jo-mut jo-mut force-pushed the bug/missing-community-members branch from 72033e3 to ccb80d9 Compare August 9, 2023 10:00
    @pavloburykh
    Copy link
    Contributor

    @jo-mut please take a look at another issues.

    ISSUE 2 Wrong notification in AC when user becomes a member of open community

    Actual result:

    Request accepted notification.

    photo_2023-08-09 14 28 20

    Expected result:

    Figma

    Communities for Mobile – Figma 2023-08-09 14-27-11

    @cammellos
    Copy link
    Contributor

    Thank you @VolodLytvynenko
    I believe the only difference is that in an open community, requests to join are answered without the owner having to manually accept them (though they need to be online to be answered, that's why in the design they try to make a difference between them). Other than that, I believe they are identical.

    @VolodLytvynenko
    Copy link
    Contributor

    Thank you @VolodLytvynenko I believe the only difference is that in an open community, requests to join are answered without the owner having to manually accept them (though they need to be online to be answered, that's why in the design they try to make a difference between them). Other than that, I believe they are identical.

    Got it. Thank you for the clarification!

    @John-44
    Copy link

    John-44 commented Aug 16, 2023

    Thank you @VolodLytvynenko I believe the only difference is that in an open community, requests to join are answered without the owner having to manually accept them (though they need to be online to be answered, that's why in the design they try to make a difference between them). Other than that, I believe they are identical.

    Got it. Thank you for the clarification!

    @VolodLytvynenko the above statement is incorrect, both open and closed communities can have ‘auto accept requests to join (e.g. requests to join are automatically accepted by the control node) switched on or off. An ‘open’ community is a community with zero ‘tokens needed to become a member’ permissions set. A ‘closed’ community has one or more ‘tokens needed to become a member’ permissions set.

    I’ll be back at work tomorrow, can hop on a call to further clarify if useful.

    @cammellos
    Copy link
    Contributor

    Thanks @John-44 for clarifying I stand corrected.

    @jo-mut jo-mut force-pushed the bug/missing-community-members branch from c941ea2 to 5f83337 Compare August 17, 2023 00:23
    @jo-mut
    Copy link
    Contributor Author

    jo-mut commented Aug 17, 2023

    @VolodLytvynenko regarding this pr as I discussed with @cammellos, I think it would be okay to create a separate follow up issue and make an updates once the figma designs have been updated. In the meantime since this pr. seeks to resolve displaying the members of an open community which really is the major thing and is unhindered by the figma designs. We can merge the pr as is and address ISSUE: 7, 6, 5 & 3 in a follow up pr. What do you think?

    @jo-mut jo-mut force-pushed the bug/missing-community-members branch 2 times, most recently from acb7ee8 to 7e06a1a Compare August 17, 2023 22:08
    @jo-mut jo-mut force-pushed the bug/missing-community-members branch from 7e06a1a to c3ae91f Compare August 17, 2023 22:09
    @VolodLytvynenko
    Copy link
    Contributor

    @VolodLytvynenko regarding this pr as I discussed with @cammellos, I think it would be okay to create a separate follow up issue and make an updates once the figma designs have been updated. In the meantime since this pr. seeks to resolve displaying the members of an open community which really is the major thing and is unhindered by the figma designs. We can merge the pr as is and address ISSUE: 7, 6, 5 & 3 in a follow up pr. What do you think?

    Hi @jo-mut, yes, I'm okay with creating follow-ups for issues 7, 6, 5, and 3. I noticed that some new commits have been added. Let me check this PR once again today and I'll let you know.

    @cammellos
    Copy link
    Contributor

    @VolodLytvynenko 7/6/5/3 are all due to owner offline/online, which is not something we should be taking into consideration, I believe there was a mixup with the designs and were not updated after our conversation, @John-44 had been looking into it, so for now, those are not issues to be tracked, we can revisit once the designs are updated (please @John-44 let us know if you find the updated designs).

    @status-im-auto
    Copy link
    Member

    88% of end-end tests have passed

    Total executed tests: 43
    Failed tests: 5
    Passed tests: 38
    
    IDs of failed tests: 702732,702894,702783,702786,702731 
    

    Failed tests (5)

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

    1. test_community_contact_block_unblock_offline, id: 702894

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

    critical/test_public_chat_browsing.py:970: in test_community_contact_block_unblock_offline
        self.chat_2.chat_element_by_text(message_unblocked).wait_for_status_to_be(expected_status='Delivered',
    ../views/chat_view.py:230: in wait_for_status_to_be
        current_status = self.status
    ../views/chat_view.py:220: in status
        status = status_element.text
    ../views/base_element.py:396: in text
        text = self.find_element().text
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:76: in text
        return self._execute(Command.GET_ELEMENT_TEXT)['value']
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:633: in _execute
        return self._parent.execute(command, params)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:321: in execute
        self.error_handler.check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:31: in check_response
        raise wde
    /home/jenkins/.local/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:26: in check_response
        super().check_response(response)
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py:242: in check_response
        raise exception_class(message, screen, stacktrace)
     The element 'By.xpath: //*[starts-with(@text,'Hurray! unblocked')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='message-status']/android.widget.TextView' does not exist in DOM anymore
    



    Device sessions

    2. test_community_mentions_push_notification, id: 702786

    # STEP: Admin gets push notification with the mention and tap it
    Device 1: Getting PN by 'user_1'

    critical/test_public_chat_browsing.py:1082: in test_community_mentions_push_notification
        self.errors.verify_no_errors()
    base_test_case.py:177: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Push notification with the mention was not received by admin
    



    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

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

    critical/chats/test_1_1_public_chats.py:1379: in test_1_1_chat_is_shown_message_sent_delivered_from_offline
        self.errors.verify_no_errors()
    base_test_case.py:177: 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 Sent after back up online!
    



    Device sessions

    2. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

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

    Passed tests (38)

    Click to expand

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

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

    4. test_community_undo_delete_message, id: 702869
    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 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 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_mute_chat, id: 703496
    Device sessions

    7. test_1_1_chat_edit_message, id: 702855
    Device sessions

    8. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    9. test_1_1_chat_message_reaction, id: 702730
    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 TestCommunityMultipleDeviceMerged:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_several_images_send_reply, id: 703194
    Device sessions

    3. test_community_one_image_send_reply, id: 702859
    Device sessions

    4. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    5. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    6. test_community_hashtag_links_to_community_channels, id: 702948
    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_leave, id: 702845
    Device sessions

    12. test_community_unread_messages_badge, id: 702841
    Device sessions

    @John-44
    Copy link

    John-44 commented Aug 18, 2023

    @VolodLytvynenko 7/6/5/3 are all due to owner offline/online, which is not something we should be taking into consideration, I believe there was a mixup with the designs and were not updated after our conversation, @John-44 had been looking into it, so for now, those are not issues to be tracked, we can revisit once the designs are updated (please @John-44 let us know if you find the updated designs).

    @cammellos @jo-mut @VolodLytvynenko I hope the updated figma designs will be ready by the end of today, Mario is working on them now. I'll post a link here as soon as the updated designs are ready.

    Apologies for the confusion and the designs being incorrect. I thought we had updated them about 6 months ago, but it turned out that design had only updated parts of these designs but not all. Sorry for the oversight.

    @VolodLytvynenko
    Copy link
    Contributor

    Hi @jo-mut, thank you for PR. No additional issues from my side. PR can be merged

    @jo-mut
    Copy link
    Contributor Author

    jo-mut commented Aug 18, 2023

    @VolodLytvynenko thank you. Please assign the follow-up issue to me when you log it

    @jo-mut jo-mut merged commit 66e3b60 into develop Aug 18, 2023
    6 checks passed
    @jo-mut jo-mut deleted the bug/missing-community-members branch August 18, 2023 12:38
    @John-44
    Copy link

    John-44 commented Aug 18, 2023

    owner offline/online, which is not something we should be taking into consideration, I believe there was a mixup with the designs and were not updated after our conversation, @John-44 had been looking into it, so for now, those are not issues to be tracked, we can revisit once the designs are updated (please @John-44 let us know if you find the updated designs).

    Mario is a star, the updates to these flows are all done, reviewed by myself and ready to go :-)

    @cammellos @jo-mut @VolodLytvynenko see https://www.figma.com/file/h9wo4GipgZURbqqr1vShFN/Communities-for-Mobile?type=design&node-id=13995-172448&mode=design&t=3PvI6EPtc2EqcsLs-0

    Mario is going to be off for the next two weeks, but I can answer any questions related to these flows next week. Happy to do a call to review these flows together next week if that would be useful.

    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.

    Mobile users are not displayed as members of open community after join
    10 participants