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

Outgoing contact requests #14853

Merged
merged 29 commits into from
Feb 21, 2023
Merged

Outgoing contact requests #14853

merged 29 commits into from
Feb 21, 2023

Conversation

alwx
Copy link
Contributor

@alwx alwx commented Jan 21, 2023

‼️ Requires this status-go change: status-im/status-go#3120

Basically this PR introduces everything that's specified in this Figma file EXCEPT failed contact requests (because the definition of what to count as failure is unclear, especially when we retry sending anyway) https://www.figma.com/file/eDfxTa9IoaCMUy5cLTp0ys/Shell-for-Mobile?node-id=4537%3A515620&t=EecPU3qz7E6eYOfa-0

Out of scope:
Read/unread indicators for messages (covered by this issue: #14415)

Review notes

Nothing crazy, most of the work is actually done in Go code.

Testing notes

Platforms

  • Android
  • iOS

Areas that maybe impacted

Functional
  • 1-1 chats
  • public chats

Status: ready but requires status-im/status-go#3120 to be merged first

@status-github-bot status-github-bot bot added this to REVIEW in Pipeline for QA Jan 21, 2023
@status-im-auto
Copy link
Member

status-im-auto commented Jan 21, 2023

Jenkins Builds

Click to see older builds (145)
Commit #️⃣ Finished (UTC) Duration Platform Result
090867d #1 2023-01-21 18:24:07 ~2 min tests 📄log
✔️ 090867d #1 2023-01-21 18:29:31 ~7 min ios 📱ipa 📲
✔️ 090867d #1 2023-01-21 18:30:38 ~8 min android-e2e 🤖apk 📲
✔️ 090867d #1 2023-01-21 18:30:50 ~9 min android 🤖apk 📲
8ad5f59 #2 2023-01-21 19:38:55 ~2 min tests 📄log
✔️ 8ad5f59 #2 2023-01-21 19:44:34 ~7 min ios 📱ipa 📲
✔️ 8ad5f59 #2 2023-01-21 19:44:37 ~7 min android 🤖apk 📲
✔️ 8ad5f59 #2 2023-01-21 19:45:55 ~9 min android-e2e 🤖apk 📲
9ce6fa0 #3 2023-01-23 12:30:12 ~1 min tests 📄log
✔️ 9ce6fa0 #3 2023-01-23 12:35:36 ~7 min ios 📱ipa 📲
✔️ 9ce6fa0 #3 2023-01-23 12:37:52 ~9 min android 🤖apk 📲
✔️ 9ce6fa0 #3 2023-01-23 12:38:05 ~9 min android-e2e 🤖apk 📲
aa59ae5 #4 2023-01-23 13:27:59 ~1 min tests 📄log
✔️ aa59ae5 #4 2023-01-23 13:33:45 ~7 min android 🤖apk 📲
✔️ aa59ae5 #4 2023-01-23 13:34:23 ~8 min android-e2e 🤖apk 📲
✔️ aa59ae5 #4 2023-01-23 13:35:17 ~9 min ios 📱ipa 📲
61ae155 #5 2023-01-23 17:41:55 ~13 sec android-e2e 📄log
61ae155 #5 2023-01-23 17:41:57 ~11 sec ios 📄log
61ae155 #5 2023-01-23 17:42:10 ~24 sec tests 📄log
61ae155 #5 2023-01-23 17:42:15 ~29 sec android 📄log
ca3b4de #6 2023-01-23 20:58:55 ~12 sec ios 📄log
ca3b4de #6 2023-01-23 20:58:58 ~13 sec android-e2e 📄log
ca3b4de #6 2023-01-23 20:58:58 ~15 sec android 📄log
ca3b4de #6 2023-01-23 20:59:01 ~12 sec tests 📄log
70e1fb6 #7 2023-01-23 21:34:14 ~2 min tests 📄log
✔️ 70e1fb6 #7 2023-01-23 21:39:38 ~7 min android 🤖apk 📲
✔️ 70e1fb6 #7 2023-01-23 21:39:48 ~7 min android-e2e 🤖apk 📲
✔️ 70e1fb6 #7 2023-01-23 21:40:39 ~8 min ios 📱ipa 📲
1b3425d #8 2023-01-24 20:25:25 ~1 min tests 📄log
✔️ 1b3425d #8 2023-01-24 20:31:41 ~8 min ios 📱ipa 📲
✔️ 1b3425d #8 2023-01-24 20:32:01 ~8 min android-e2e 🤖apk 📲
✔️ 1b3425d #8 2023-01-24 20:32:08 ~8 min android 🤖apk 📲
a300b77 #10 2023-01-24 21:44:56 ~1 min tests 📄log
✔️ a300b77 #10 2023-01-24 21:51:45 ~8 min android 🤖apk 📲
✔️ a300b77 #10 2023-01-24 21:52:00 ~9 min android-e2e 🤖apk 📲
✔️ b3536f0 #11 2023-01-24 21:54:55 ~2 min tests 📄log
✔️ b3536f0 #11 2023-01-24 21:59:45 ~6 min ios 📱ipa 📲
✔️ b3536f0 #11 2023-01-24 22:01:32 ~8 min android-e2e 🤖apk 📲
✔️ b3536f0 #11 2023-01-24 22:01:36 ~8 min android 🤖apk 📲
1110403 #12 2023-01-25 17:23:26 ~2 min tests 📄log
✔️ 1110403 #12 2023-01-25 17:28:58 ~7 min ios 📱ipa 📲
✔️ 1110403 #12 2023-01-25 17:29:00 ~7 min android-e2e 🤖apk 📲
✔️ 1110403 #12 2023-01-25 17:29:18 ~7 min android 🤖apk 📲
b2a7591 #13 2023-01-25 21:59:49 ~2 min tests 📄log
✔️ b2a7591 #13 2023-01-25 22:05:37 ~8 min ios 📱ipa 📲
0677388 #14 2023-01-26 08:38:27 ~2 min tests 📄log
✔️ 5ea3565 #15 2023-01-26 08:44:48 ~2 min tests 📄log
✔️ 5ea3565 #15 2023-01-26 08:50:51 ~8 min android 🤖apk 📲
✔️ 5ea3565 #15 2023-01-26 08:51:01 ~8 min android-e2e 🤖apk 📲
✔️ 5ea3565 #15 2023-01-26 08:51:23 ~8 min ios 📱ipa 📲
ddcd85c #16 2023-01-26 12:10:49 ~18 sec android-e2e 📄log
ddcd85c #16 2023-01-26 12:10:52 ~17 sec ios 📄log
ddcd85c #16 2023-01-26 12:11:03 ~32 sec android 📄log
ddcd85c #16 2023-01-26 12:11:10 ~34 sec tests 📄log
67bc036 #17 2023-01-26 12:15:29 ~3 min tests 📄log
✔️ 67bc036 #17 2023-01-26 12:22:16 ~10 min android-e2e 🤖apk 📲
✔️ 67bc036 #17 2023-01-26 12:23:02 ~10 min android 🤖apk 📲
✔️ 67bc036 #17 2023-01-26 12:25:30 ~13 min ios 📱ipa 📲
✔️ 8be3d60 #18 2023-01-26 12:32:51 ~3 min tests 📄log
✔️ 8be3d60 #18 2023-01-26 12:38:25 ~8 min android-e2e 🤖apk 📲
✔️ 8be3d60 #18 2023-01-26 12:38:27 ~8 min ios 📱ipa 📲
✔️ 8be3d60 #18 2023-01-26 12:38:34 ~9 min android 🤖apk 📲
6c835ea #19 2023-01-30 12:50:21 ~1 min ios 📄log
6c835ea #19 2023-01-30 12:51:28 ~2 min android-e2e 📄log
6c835ea #19 2023-01-30 12:52:30 ~3 min tests 📄log
6c835ea #19 2023-01-30 12:53:01 ~4 min android 📄log
✔️ ff1eab2 #20 2023-01-30 13:18:53 ~4 min tests 📄log
ff1eab2 #20 2023-01-30 13:19:59 ~5 min android 📄log
ff1eab2 #20 2023-01-30 13:20:00 ~5 min android-e2e 📄log
ff1eab2 #20 2023-01-30 13:21:15 ~6 min ios 📄log
ff1eab2 #21 2023-01-30 13:36:51 ~3 min ios 📄log
c6eba66 #22 2023-01-30 14:25:22 ~3 min ios 📄log
c6eba66 #21 2023-01-30 14:25:59 ~4 min android-e2e 📄log
c6eba66 #21 2023-01-30 14:26:16 ~4 min android 📄log
✔️ c6eba66 #21 2023-01-30 14:27:33 ~5 min tests 📄log
c6eba66 #23 2023-01-30 14:50:02 ~3 min ios 📄log
b4f1d29 #24 2023-01-30 17:50:52 ~12 sec ios 📄log
b4f1d29 #22 2023-01-30 17:50:53 ~12 sec tests 📄log
b4f1d29 #22 2023-01-30 17:50:53 ~12 sec android 📄log
b4f1d29 #22 2023-01-30 17:50:57 ~21 sec android-e2e 📄log
✔️ 4db09ed #23 2023-01-31 13:53:35 ~1 min tests 📄log
✔️ 4db09ed #25 2023-01-31 13:59:12 ~7 min ios 📱ipa 📲
✔️ 4db09ed #23 2023-01-31 14:00:18 ~8 min android-e2e 🤖apk 📲
✔️ 4db09ed #23 2023-01-31 14:00:24 ~8 min android 🤖apk 📲
✔️ 5747bf2 #24 2023-01-31 20:25:00 ~2 min tests 📄log
✔️ 5747bf2 #24 2023-01-31 20:30:21 ~7 min android 🤖apk 📲
✔️ 5747bf2 #24 2023-01-31 20:30:23 ~7 min android-e2e 🤖apk 📲
✔️ 5747bf2 #26 2023-01-31 20:30:28 ~7 min ios 📱ipa 📲
38e6ec6 #25 2023-02-01 15:29:09 ~13 sec android-e2e 📄log
38e6ec6 #27 2023-02-01 15:29:12 ~12 sec ios 📄log
38e6ec6 #25 2023-02-01 15:29:14 ~14 sec android 📄log
38e6ec6 #25 2023-02-01 15:29:14 ~14 sec tests 📄log
✔️ 86abc8b #26 2023-02-01 15:34:22 ~3 min tests 📄log
✔️ 86abc8b #28 2023-02-01 15:41:08 ~9 min ios 📱ipa 📲
✔️ 86abc8b #26 2023-02-01 15:42:15 ~10 min android 🤖apk 📲
✖️ 86abc8b #26 2023-02-01 15:45:15 ~13 min android-e2e 🤖apk 📲
✔️ 00db466 #27 2023-02-02 09:48:21 ~4 min tests 📄log
✔️ 00db466 #29 2023-02-02 09:50:58 ~6 min ios 📱ipa 📲
✔️ 00db466 #27 2023-02-02 09:55:21 ~11 min android 🤖apk 📲
✖️ 00db466 #27 2023-02-02 09:58:25 ~14 min android-e2e 🤖apk 📲
✔️ 2150807 #28 2023-02-05 19:26:46 ~2 min tests 📄log
✖️ 2150807 #28 2023-02-05 19:33:07 ~8 min android-e2e 🤖apk 📲
✔️ 2150807 #28 2023-02-05 19:33:12 ~8 min android 🤖apk 📲
✔️ 2150807 #30 2023-02-05 19:33:31 ~9 min ios 📱ipa 📲
✔️ ace018f #30 2023-02-06 20:46:26 ~2 min tests 📄log
✔️ 434a0f7 #31 2023-02-06 20:55:13 ~4 min tests 📄log
✔️ 434a0f7 #31 2023-02-06 21:01:01 ~9 min android 🤖apk 📲
✖️ 434a0f7 #31 2023-02-06 21:01:21 ~10 min android-e2e 🤖apk 📲
✔️ 434a0f7 #33 2023-02-06 21:01:59 ~10 min ios 📱ipa 📲
✔️ 8cbbb4f #32 2023-02-07 15:41:23 ~3 min tests 📄log
✔️ 8cbbb4f #32 2023-02-07 15:45:30 ~7 min android-e2e 🤖apk 📲
✔️ 8cbbb4f #34 2023-02-07 15:46:53 ~8 min ios 📱ipa 📲
✔️ 8cbbb4f #32 2023-02-07 15:48:17 ~10 min android 🤖apk 📲
✔️ 158fdd7 #33 2023-02-16 15:01:00 ~2 min tests 📄log
✔️ 158fdd7 #33 2023-02-16 15:05:56 ~7 min android-e2e 🤖apk 📲
✔️ 158fdd7 #35 2023-02-16 15:06:34 ~8 min ios 📱ipa 📲
✔️ 158fdd7 #33 2023-02-16 15:06:38 ~8 min android 🤖apk 📲
✔️ 4d984c8 #35 2023-02-17 07:35:17 ~3 min tests 📄log
✔️ 4d984c8 #37 2023-02-17 07:40:56 ~9 min ios 📱ipa 📲
✔️ 4d984c8 #35 2023-02-17 07:40:59 ~9 min android-e2e 🤖apk 📲
✔️ 4d984c8 #35 2023-02-17 07:41:25 ~9 min android 🤖apk 📲
fb748a8 #37 2023-02-17 15:27:41 ~3 min tests 📄log
✔️ fb748a8 #37 2023-02-17 15:32:52 ~8 min android 🤖apk 📲
✔️ fb748a8 #39 2023-02-17 15:33:40 ~9 min ios 📱ipa 📲
✔️ fb748a8 #37 2023-02-17 15:34:54 ~10 min android-e2e 🤖apk 📲
✔️ ed3cb85 #38 2023-02-17 16:55:07 ~3 min tests 📄log
✔️ ed3cb85 #40 2023-02-17 16:59:36 ~7 min ios 📱ipa 📲
✔️ ed3cb85 #38 2023-02-17 17:00:38 ~8 min android-e2e 🤖apk 📲
✔️ ed3cb85 #38 2023-02-17 17:00:57 ~8 min android 🤖apk 📲
7be7127 #41 2023-02-20 22:29:10 ~13 sec ios 📄log
7be7127 #39 2023-02-20 22:29:10 ~14 sec android 📄log
7be7127 #39 2023-02-20 22:29:12 ~14 sec android-e2e 📄log
7be7127 #39 2023-02-20 22:29:13 ~12 sec tests 📄log
✔️ 017cff2 #40 2023-02-20 22:37:01 ~2 min tests 📄log
✔️ 017cff2 #42 2023-02-20 22:42:05 ~7 min ios 📱ipa 📲
✔️ 017cff2 #40 2023-02-20 22:43:03 ~8 min android-e2e 🤖apk 📲
✔️ 017cff2 #40 2023-02-20 22:43:21 ~8 min android 🤖apk 📲
✔️ bae98b0 #41 2023-02-20 22:54:15 ~3 min tests 📄log
✔️ bae98b0 #43 2023-02-20 23:00:15 ~9 min ios 📱ipa 📲
✔️ bae98b0 #41 2023-02-20 23:01:34 ~10 min android-e2e 🤖apk 📲
✔️ bae98b0 #41 2023-02-20 23:01:59 ~10 min android 🤖apk 📲
✔️ baeb27d #42 2023-02-21 07:14:52 ~4 min tests 📄log
✔️ baeb27d #42 2023-02-21 07:18:01 ~7 min android-e2e 🤖apk 📲
✔️ baeb27d #44 2023-02-21 07:18:03 ~7 min ios 📱ipa 📲
✔️ baeb27d #42 2023-02-21 07:20:39 ~10 min android 🤖apk 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 34c2017 #43 2023-02-21 16:53:17 ~7 min tests 📄log
✔️ 34c2017 #45 2023-02-21 16:54:12 ~8 min ios 📱ipa 📲
✔️ 34c2017 #43 2023-02-21 16:56:53 ~10 min android-e2e 🤖apk 📲
✔️ 34c2017 #43 2023-02-21 16:57:05 ~11 min android 🤖apk 📲
✔️ 6b78a0d #44 2023-02-21 21:40:08 ~5 min tests 📄log
✔️ 6b78a0d #44 2023-02-21 21:45:16 ~10 min android-e2e 🤖apk 📲
✔️ 6b78a0d #44 2023-02-21 21:45:45 ~11 min android 🤖apk 📲
✔️ 6b78a0d #46 2023-02-21 21:47:48 ~13 min ios 📱ipa 📲

@alwx alwx force-pushed the feature/contact-notifications branch from 8ad5f59 to 9ce6fa0 Compare January 23, 2023 12:27
@status-github-bot status-github-bot bot moved this from REVIEW to TO REBASE in Pipeline for QA Jan 23, 2023
@alwx alwx force-pushed the feature/contact-notifications branch from ca3b4de to 70e1fb6 Compare January 23, 2023 21:31
@alwx alwx changed the title WIP: Feature/contact notifications Outgoing contact requests Jan 24, 2023
@alwx alwx marked this pull request as ready for review January 24, 2023 21:42
@alwx alwx requested review from rasom and cammellos January 24, 2023 21:42
@alwx alwx force-pushed the feature/contact-notifications branch from a300b77 to 8eb7c46 Compare January 24, 2023 21:52
Copy link
Contributor

@ilmotta ilmotta left a comment

Choose a reason for hiding this comment

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

for some mysterious reason it was supporting only two buttons OR status message ("Failed", "Pending", etc), and not both of them which is required by designs

@alwx There's no mysterious reason, up until this point, there was never a need to display buttons and status simultaneously, so the code ignored this requirement from the Design ;) Good thing in improved it now!

src/quo2/components/notifications/activity_log/view.cljs Outdated Show resolved Hide resolved
src/quo2/components/notifications/activity_log/view.cljs Outdated Show resolved Hide resolved
:accessibility-label :decline-contact-request
:on-press (fn []
(rf/dispatch [:activity-center.contact-requests/decline-request id])
(rf/dispatch [:activity-center.notifications/mark-as-read
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI: Recently @MishkaRogachev opened a PR in status-go to automatically mark notifications with call to action as read. Soon we'll be able to update all places in status-mobile. We recently had an issue due to concurrent dispatches to do X + mark as read.

src/status_im2/contexts/contacts/events.cljs Outdated Show resolved Hide resolved
src/status_im2/contexts/contacts/events.cljs Show resolved Hide resolved
@alwx alwx requested review from ilmotta and J-Son89 January 26, 2023 08:38
Copy link
Contributor

@ilmotta ilmotta left a comment

Choose a reason for hiding this comment

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

@alwx:

You need to run ./scripts/update-status-go.sh <revision>, so that the artifacts point to the branch this PR requires. Once the status-go branch is merged you can change from the commit hash to the actual tag in status-go.

Just a reminder that this PR should go over QA processes, given that it introduces new flows in the app. Reference: https://notes.status.im/M73LlV1gT3OJ8kdSMY-ZQQ

I would also strongly suggest you add to the PR's description the steps to test the new/affected user flows, as this is very helpful for the QA team.

@alwx alwx requested a review from ilmotta January 26, 2023 12:10
@alwx
Copy link
Contributor Author

alwx commented Jan 26, 2023

@ilmotta done

@alwx alwx force-pushed the feature/contact-notifications branch from ddcd85c to 67bc036 Compare January 26, 2023 12:11
@alwx alwx moved this from TO REBASE to E2E Tests in Pipeline for QA Jan 26, 2023
@status-im-auto
Copy link
Member

65% of end-end tests have passed

Total executed tests: 26
Failed tests: 9
Passed tests: 17
IDs of failed tests: 702776,702844,702774,702775,702851,702845,702841,702842,702838 

Failed tests (9)

Click to expand
  • Rerun failed tests

  • Class TestActivityCenterMultipleDevicePR:

    1. test_activity_center_mentions_in_community_jump_to, id: 702851

    Device 1: Find `Button` by `xpath`: `//*[contains(@text, 'Unwritten Mediumaquamarin')]/ancestor::*[@content-desc='activity']/*[@content-desc="accept-contact-request"]`
    Device 1: Find `Button` by `accessibility id`: `close-activity-center`

    medium/test_activity_center.py:248: in test_activity_center_mentions_in_community_jump_to
        self.home_1.handle_contact_request(username=self.default_username_2)
    ../views/home_view.py:363: in handle_contact_request
        self.close_activity_centre.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: Button by accessibility id: `close-activity-center` is not found on the screen 
    

    [[blocked by 14798]]

    Device sessions

    Class TestDeeplinkOneDeviceNewUI:

    1. test_public_chat_open_using_deep_link, id: 702776

    Test setup failed: medium/test_deeplink_chat_share_profile.py:346: in prepare_devices
        self.public_key, self.default_username = self.home.get_public_key_and_username(return_username=True)
    ../views/base_view.py:610: in get_public_key_and_username
        default_username = profile_view.default_username_text.text
    ../views/base_element.py:361: 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)
     androidx.test.uiautomator.StaleObjectException
    



    2. test_deep_link_with_invalid_user_public_key_own_profile_key, id: 702774

    Device 1: Tap on found: BrowserTab
    Device 1: Find Text by accessibility id: default-username

    Test setup failed: medium/test_deeplink_chat_share_profile.py:346: in prepare_devices
        self.public_key, self.default_username = self.home.get_public_key_and_username(return_username=True)
    ../views/base_view.py:610: in get_public_key_and_username
        default_username = profile_view.default_username_text.text
    ../views/base_element.py:361: 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)
     androidx.test.uiautomator.StaleObjectException
    



    Device sessions

    3. test_deep_link_open_user_profile, id: 702775

    Test setup failed: medium/test_deeplink_chat_share_profile.py:346: in prepare_devices
        self.public_key, self.default_username = self.home.get_public_key_and_username(return_username=True)
    ../views/base_view.py:610: in get_public_key_and_username
        default_username = profile_view.default_username_text.text
    ../views/base_element.py:361: 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)
     androidx.test.uiautomator.StaleObjectException 
    

    [[Profile is often not opened in e2e builds for some reason. Needs to be investigated.]]

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844

    Device 2: Tap on found: Button

    critical/test_public_chat_browsing.py:747: in test_community_links_with_previews_github_youtube_twitter_gif_send_enable
        self.channel_1.send_message(giphy_url)
    ../views/chat_view.py:860: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:116: in wait_for_element
        raise TimeoutException(
     Device `1`: `EditBox` by` accessibility id`: `chat-message-input` is not found on the screen after wait_for_element
    



    Device sessions

    2. test_community_leave, id: 702845

    Device 1: Click until Button by accessibility id: community-menu-button will be presented
    Device 1: Find Button by accessibility id: community-menu-button

    critical/test_public_chat_browsing.py:801: in test_community_leave
        community_to_leave.community_options_button.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: Button by accessibility id: `community-menu-button` is not found on the screen
    



    Device sessions

    3. test_community_unread_messages_badge, id: 702841

    Device 1: Click until EditBox by accessibility id: chat-message-input will be presented
    Device 1: EditBox element not found

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



    Device sessions

    4. test_community_mark_all_messages_as_read, id: 702842

    Device 1: Find BackButton by accessibility id: back-button

    critical/test_public_chat_browsing.py:779: in test_community_mark_all_messages_as_read
        self.channel_1.back_button.click()
    ../views/base_view.py:22: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: BackButton by accessibility id: `back-button` is not found on the screen
    



    Device sessions

    5. test_community_message_send_check_timestamps_sender_username, id: 702838

    Device 2: Verifying that 'hello' is under today
    Device 2: Looking for a message by text: hello

    critical/test_public_chat_browsing.py:628: in test_community_message_send_check_timestamps_sender_username
        channel.verify_message_is_under_today_text(message, self.errors)
    ../views/chat_view.py:850: in verify_message_is_under_today_text
        message_element.wait_for_visibility_of_element()
    ../views/base_element.py:134: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'hello')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element 
    

    [[blocked by 14797]]

    Device sessions

    Passed tests (17)

    Click to expand

    Class TestActivityCenterMultipleDevicePR:

    1. test_activity_center_decline_contact_request_no_pn, id: 702850
    Device sessions

    Class TestGroupChatMediumMultipleDeviceNewUI:

    1. test_group_chat_pin_messages, id: 702732
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    2. test_community_message_delete, id: 702839
    Device sessions

    3. test_community_message_edit, id: 702843
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    2. test_1_1_chat_edit_message, id: 702855
    Device sessions

    3. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    4. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    5. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    6. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    7. test_1_1_chat_pin_messages, id: 702731
    Device sessions

    8. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    9. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    2. test_group_chat_offline_pn, id: 702808
    Device sessions

    @status-github-bot status-github-bot bot moved this from E2E Tests to TO REBASE in Pipeline for QA Jan 27, 2023
    @alwx alwx force-pushed the feature/contact-notifications branch from 8be3d60 to 6c835ea Compare January 30, 2023 12:48
    @alwx alwx force-pushed the feature/contact-notifications branch from 7be7127 to 017cff2 Compare February 20, 2023 22:34
    @alwx
    Copy link
    Contributor Author

    alwx commented Feb 20, 2023

    @pavloburykh done, please recheck. Issue 10 is fixed now (was not really an easy fix though 😅)

    @pavloburykh pavloburykh moved this from IN TESTING to E2E Tests in Pipeline for QA Feb 21, 2023
    @pavloburykh pavloburykh moved this from E2E Tests to IN TESTING in Pipeline for QA Feb 21, 2023
    @status-im-auto
    Copy link
    Member

    46% of end-end tests have passed

    Total executed tests: 26
    Failed tests: 14
    Passed tests: 12
    
    IDs of failed tests: 702840,702855,702732,702844,702730,702783,702851,702845,702841,702731,702839,702842,702838,702843 
    

    Failed tests (14)

    Click to expand
  • Rerun failed tests

  • Class TestActivityCenterMultipleDevicePR:

    1. test_activity_center_mentions_in_community_jump_to, id: 702851

    Device 2: Find `Button` by `accessibility id`: `new-contact-button`
    Device 2: Find `Button` by `accessibility id`: `Add to contacts-item-button`

    medium/test_activity_center.py:243: in test_activity_center_mentions_in_community_jump_to
        self.profile_2.add_contact_via_contacts_list(self.public_key_1)
    ../views/profile_view.py:373: in add_contact_via_contacts_list
        chat.profile_add_to_contacts.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: Button by accessibility id: `Add to contacts-item-button` is not found on the screen 
    

    [[blocked by 14798]]

    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732

    Device 2: Looking for a pinned by message with text: Message 3
    Device 2: Looking for a pinned by message with text: Message 4

    critical/chats/test_group_chat.py:358: in test_group_chat_pin_messages
        self.errors.verify_no_errors()
    base_test_case.py:184: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Can pin more than 3 messages in group chat
    E    Message 'Message 1' is missed on Pinned messages list for user 1
    E    Message 'Message 3' is missed on Pinned messages list for user 1
    E    Message 'Message 4' is missed on Pinned messages list for user 1
    E    Message 'Message 1' is missed on Pinned messages list for user 2
    E    Message 'Message 3' is missed on Pinned messages list for user 2
    E    Message 'Message 4' is missed on Pinned messages list for user 2
    



    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_emoji_send_copy_paste_reply, id: 702840

    Test setup failed: critical/test_public_chat_browsing.py:595: in prepare_devices
        self.home_2.handle_contact_request(self.default_username_1)
    ../views/home_view.py:368: in handle_contact_request
        self.close_activity_centre.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:80: in click
        self._execute(Command.CLICK_ELEMENT)
    /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.accessibilityId: close-activity-center' does not exist in DOM anymore
    



    2. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844

    Test setup failed: critical/test_public_chat_browsing.py:595: in prepare_devices
        self.home_2.handle_contact_request(self.default_username_1)
    ../views/home_view.py:368: in handle_contact_request
        self.close_activity_centre.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:80: in click
        self._execute(Command.CLICK_ELEMENT)
    /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.accessibilityId: close-activity-center' does not exist in DOM anymore
    



    3. test_community_leave, id: 702845

    Test setup failed: critical/test_public_chat_browsing.py:595: in prepare_devices
        self.home_2.handle_contact_request(self.default_username_1)
    ../views/home_view.py:368: in handle_contact_request
        self.close_activity_centre.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:80: in click
        self._execute(Command.CLICK_ELEMENT)
    /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.accessibilityId: close-activity-center' does not exist in DOM anymore
    



    4. test_community_unread_messages_badge, id: 702841

    Test setup failed: critical/test_public_chat_browsing.py:595: in prepare_devices
        self.home_2.handle_contact_request(self.default_username_1)
    ../views/home_view.py:368: in handle_contact_request
        self.close_activity_centre.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:80: in click
        self._execute(Command.CLICK_ELEMENT)
    /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.accessibilityId: close-activity-center' does not exist in DOM anymore
    



    5. test_community_message_delete, id: 702839

    Test setup failed: critical/test_public_chat_browsing.py:595: in prepare_devices
        self.home_2.handle_contact_request(self.default_username_1)
    ../views/home_view.py:368: in handle_contact_request
        self.close_activity_centre.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:80: in click
        self._execute(Command.CLICK_ELEMENT)
    /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.accessibilityId: close-activity-center' does not exist in DOM anymore
    



    6. test_community_mark_all_messages_as_read, id: 702842

    Test setup failed: critical/test_public_chat_browsing.py:595: in prepare_devices
        self.home_2.handle_contact_request(self.default_username_1)
    ../views/home_view.py:368: in handle_contact_request
        self.close_activity_centre.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:80: in click
        self._execute(Command.CLICK_ELEMENT)
    /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.accessibilityId: close-activity-center' does not exist in DOM anymore 
    

    [[blocked due to navigation issue 14906]]

    7. test_community_message_send_check_timestamps_sender_username, id: 702838

    Device 2: Find Button by xpath: //*[contains(@text, 'Lightslategray Metallic I')]/ancestor::*[@content-desc='activity']/*[@content-desc="accept-contact-request"]
    Device 2: Find Button by accessibility id: close-activity-center

    Test setup failed: critical/test_public_chat_browsing.py:595: in prepare_devices
        self.home_2.handle_contact_request(self.default_username_1)
    ../views/home_view.py:368: in handle_contact_request
        self.close_activity_centre.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:80: in click
        self._execute(Command.CLICK_ELEMENT)
    /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.accessibilityId: close-activity-center' does not exist in DOM anymore 
    

    [[blocked by 14797]]

    Device sessions

    8. test_community_message_edit, id: 702843

    Test setup failed: critical/test_public_chat_browsing.py:595: in prepare_devices
        self.home_2.handle_contact_request(self.default_username_1)
    ../views/home_view.py:368: in handle_contact_request
        self.close_activity_centre.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    /home/jenkins/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py:80: in click
        self._execute(Command.CLICK_ELEMENT)
    /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.accessibilityId: close-activity-center' does not exist in DOM anymore
    



    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_edit_message, id: 702855

    Device 2: Long press on Button
    Device 2: Find Button by xpath: //*[@text="Edit message"]

    critical/chats/test_1_1_public_chats.py:1253: in test_1_1_chat_edit_message
        self.chat_2.edit_message_in_chat(message_before_edit_1_1, message_after_edit_1_1)
    ../views/chat_view.py:880: in edit_message_in_chat
        self.element_by_translation_id("edit-message").click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: Button by xpath: `//*[@text="Edit message"]` is not found on the screen
    



    Device sessions

    2. test_1_1_chat_message_reaction, id: 702730

    Device 1: Long press on ChatElementByText
    Device 1: Find Button by accessibility id: emoji-picker-2

    critical/chats/test_1_1_public_chats.py:1006: in test_1_1_chat_message_reaction
        self.chat_1.set_reaction(message_from_sender)
    ../views/chat_view.py:917: in set_reaction
        element.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: Button by accessibility id: `emoji-picker-2` is not found on the screen
    



    Device sessions

    3. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

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

    critical/chats/test_1_1_public_chats.py:1337: in test_1_1_chat_is_shown_message_sent_delivered_from_offline
        if not (chat_element.status == ':sending' or chat_element.status == ':sent'):
    ../views/chat_view.py:194: in status
        result = re.search('\[(.*) DEBUG\]', Text(self.driver, prefix=self.locator, xpath="//*[contains(@text, 'DEBUG')]").text)
    ../views/base_element.py:361: in text
        text = self.find_element().text
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: Text by xpath: `//*[starts-with(@text,'test message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[contains(@text, 'DEBUG')]` is not found on the screen
    



    Device sessions

    4. test_1_1_chat_pin_messages, id: 702731

    Device 1: Long press on Button
    Device 1: Find Button by xpath: //*[@text="Pin to the chat"]

    critical/chats/test_1_1_public_chats.py:1111: in test_1_1_chat_pin_messages
        self.chat_1.pin_message(message, 'pin-to-chat')
    ../views/chat_view.py:875: in pin_message
        self.element_by_translation_id(action).click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Pin to the chat"]` is not found on the screen
    



    Device sessions

    Passed tests (12)

    Click to expand

    Class TestDeeplinkOneDeviceNewUI:

    1. test_public_chat_open_using_deep_link, id: 702776
    Device sessions

    2. test_deep_link_with_invalid_user_public_key_own_profile_key, id: 702774
    Device sessions

    3. test_deep_link_open_user_profile, id: 702775
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    2. test_group_chat_offline_pn, id: 702808
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    2. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    3. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    4. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    5. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    Class TestActivityCenterMultipleDevicePR:

    1. test_activity_center_decline_contact_request_no_pn, id: 702850
    Device sessions

    @status-im-auto
    Copy link
    Member

    62% of end-end tests have passed

    Total executed tests: 26
    Failed tests: 10
    Passed tests: 16
    
    IDs of failed tests: 702855,702732,702730,702782,702783,702851,702731,702839,702842,702838 
    

    Failed tests (10)

    Click to expand
  • Rerun failed tests

  • Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_edit_message, id: 702855

    Device 1: Looking for a message by text: AFTER
    Device 1: Find `Text` by `xpath`: `//*[starts-with(@text,'AFTER')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[contains(@text, 'DEBUG')]`

    critical/chats/test_1_1_public_chats.py:1257: in test_1_1_chat_edit_message
        if chat_element.status != 'edited':
    ../views/chat_view.py:194: in status
        result = re.search('\[(.*) DEBUG\]', Text(self.driver, prefix=self.locator, xpath="//*[contains(@text, 'DEBUG')]").text)
    ../views/base_element.py:361: in text
        text = self.find_element().text
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: Text by xpath: `//*[starts-with(@text,'AFTER')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[contains(@text, 'DEBUG')]` is not found on the screen
    



    Device sessions

    2. test_1_1_chat_message_reaction, id: 702730

    Device 1: Long press on ChatElementByText
    Device 1: Find Button by accessibility id: emoji-picker-2

    critical/chats/test_1_1_public_chats.py:1006: in test_1_1_chat_message_reaction
        self.chat_1.set_reaction(message_from_sender)
    ../views/chat_view.py:917: in set_reaction
        element.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: Button by accessibility id: `emoji-picker-2` is not found on the screen
    



    Device sessions

    3. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782

    Device 1: Long press on Button
    Device 1: Find Button by xpath: //*[@text="Reply"]

    critical/chats/test_1_1_public_chats.py:1033: in test_1_1_chat_emoji_send_reply_and_open_link
        self.chat_1.quote_message(emoji_unicode)
    ../views/chat_view.py:900: in quote_message
        self.reply_message_button.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Reply"]` is not found on the screen
    



    Device sessions

    4. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

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

    critical/chats/test_1_1_public_chats.py:1337: in test_1_1_chat_is_shown_message_sent_delivered_from_offline
        if not (chat_element.status == ':sending' or chat_element.status == ':sent'):
    ../views/chat_view.py:194: in status
        result = re.search('\[(.*) DEBUG\]', Text(self.driver, prefix=self.locator, xpath="//*[contains(@text, 'DEBUG')]").text)
    ../views/base_element.py:361: in text
        text = self.find_element().text
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: Text by xpath: `//*[starts-with(@text,'test message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[contains(@text, 'DEBUG')]` is not found on the screen
    



    Device sessions

    5. test_1_1_chat_pin_messages, id: 702731

    Device 1: Long press on Button
    Device 1: Find Button by xpath: //*[@text="Pin to the chat"]

    critical/chats/test_1_1_public_chats.py:1111: in test_1_1_chat_pin_messages
        self.chat_1.pin_message(message, 'pin-to-chat')
    ../views/chat_view.py:875: in pin_message
        self.element_by_translation_id(action).click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Pin to the chat"]` is not found on the screen
    



    Device sessions

    Class TestActivityCenterMultipleDevicePR:

    1. test_activity_center_mentions_in_community_jump_to, id: 702851

    Device 2: Find Button by accessibility id: new-contact-button
    Device 2: Find Button by accessibility id: Add to contacts-item-button

    medium/test_activity_center.py:243: in test_activity_center_mentions_in_community_jump_to
        self.profile_2.add_contact_via_contacts_list(self.public_key_1)
    ../views/profile_view.py:373: in add_contact_via_contacts_list
        chat.profile_add_to_contacts.click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 2: Button by accessibility id: `Add to contacts-item-button` is not found on the screen 
    

    [[blocked by 14798]]

    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_message_delete, id: 702839

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

    critical/test_public_chat_browsing.py:668: in test_community_message_delete
        self.errors.verify_no_errors()
    base_test_case.py:184: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     System message about deletion for everyone is not displayed
    



    Device sessions

    2. test_community_mark_all_messages_as_read, id: 702842

    Device 2: Tap on found: SendMessageButton
    Device 1: Looking for chat: '# vhtgudx'

    critical/test_public_chat_browsing.py:782: in test_community_mark_all_messages_as_read
        chan_1_element.long_press_element()
    ../views/base_element.py:278: in long_press_element
        element = self.find_element()
    ../views/home_view.py:51: in find_element
        self.wait_for_visibility_of_element(20)
    ../views/base_element.py:134: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: ChatElement by xpath:`//*[@content-desc='chat-name-text'][starts-with(@text,'# vhtgudx')]/..` is not found on the screen after wait_for_visibility_of_element 
    

    [[blocked due to navigation issue 14906]]

    Device sessions

    3. test_community_message_send_check_timestamps_sender_username, id: 702838

    Device 2: Verifying that 'hello' is under today
    Device 2: Looking for a message by text: hello

    critical/test_public_chat_browsing.py:628: in test_community_message_send_check_timestamps_sender_username
        channel.verify_message_is_under_today_text(message, self.errors)
    ../views/chat_view.py:851: in verify_message_is_under_today_text
        message_element.wait_for_visibility_of_element()
    ../views/base_element.py:134: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'hello')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element 
    

    [[blocked by 14797]]

    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732

    Device 1: Long press on Button
    Device 1: Find Button by xpath: //*[@text="Pin to the chat"]

    critical/chats/test_group_chat.py:323: in test_group_chat_pin_messages
        self.chats[0].pin_message(self.message_4, 'pin-to-chat')
    ../views/chat_view.py:875: in pin_message
        self.element_by_translation_id(action).click()
    ../views/base_element.py:90: in click
        self.find_element().click()
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: Button by xpath: `//*[@text="Pin to the chat"]` is not found on the screen
    



    Device sessions

    Passed tests (16)

    Click to expand

    Class TestCommunityOneDeviceMerged:

    1. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    Class TestActivityCenterMultipleDevicePR:

    1. test_activity_center_decline_contact_request_no_pn, id: 702850
    Device sessions

    Class TestDeeplinkOneDeviceNewUI:

    1. test_public_chat_open_using_deep_link, id: 702776
    Device sessions

    2. test_deep_link_with_invalid_user_public_key_own_profile_key, id: 702774
    Device sessions

    3. test_deep_link_open_user_profile, id: 702775
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    2. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    4. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    2. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    3. test_community_leave, id: 702845
    Device sessions

    4. test_community_unread_messages_badge, id: 702841
    Device sessions

    5. test_community_message_edit, id: 702843
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    2. test_group_chat_offline_pn, id: 702808
    Device sessions

    @pavloburykh
    Copy link
    Contributor

    @alwx thanx for working on this PR. It is tested and ready to be merged.

    @pavloburykh pavloburykh moved this from IN TESTING to MERGE in Pipeline for QA Feb 21, 2023
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    Archived in project
    9 participants