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

create wallet account #17496

Merged
merged 2 commits into from
Oct 26, 2023
Merged

create wallet account #17496

merged 2 commits into from
Oct 26, 2023

Conversation

J-Son89
Copy link
Contributor

@J-Son89 J-Son89 commented Oct 4, 2023

fixes:
#17061

This pr implements the ability to create an account in the new wallet ui using the default keypair and wallet-root-address.

To test this branch I worked with @mmilad75's pr: #17447 - see the video attached

Screen.Recording.2023-10-11.at.15.17.41.mov

There are some follow ups to this work ->
improve mechanism to derive path -> should be based upon the derivation path of last derived path sharing the same key-uid.
Navigation currently goes to the wrong place after creating an account. there is some screens that need to be added for animation while it generates the account.

Testing ->
To test this feature it generates a new wallet account in the new UI. To see that the new account is generated in the UI you can create an account and then log out and in again and check the old wallet UI to see that there is a new account in that list. Also if the create account request is successful the page will navigate to the default account page.
It's also important to create a new account to test this feature. From a QA perspective it might also be okay to ignore harshly testing this feature until some other work is in place so we can test these features in full, e.g the real list of users accounts displayed so we can see accounts are generated and they have the correct name, emoji etc 👍

this touches off the basic auth mechanism which is also used on the syncing page 👍

@status-im-auto
Copy link
Member

status-im-auto commented Oct 4, 2023

Jenkins Builds

Click to see older builds (62)
Commit #️⃣ Finished (UTC) Duration Platform Result
dd45b8d #1 2023-10-04 07:41:01 ~2 min tests 📄log
✔️ dd45b8d #1 2023-10-04 07:44:29 ~6 min android-e2e 🤖apk 📲
✔️ dd45b8d #1 2023-10-04 07:44:38 ~6 min android 🤖apk 📲
✔️ dd45b8d #1 2023-10-04 07:45:21 ~7 min ios 📱ipa 📲
a9c2ee4 #2 2023-10-04 10:17:10 ~2 min tests 📄log
✔️ a9c2ee4 #2 2023-10-04 10:21:04 ~6 min android 🤖apk 📲
✔️ a9c2ee4 #2 2023-10-04 10:21:17 ~6 min android-e2e 🤖apk 📲
✔️ a9c2ee4 #2 2023-10-04 10:21:22 ~6 min ios 📱ipa 📲
2c70982 #3 2023-10-10 12:46:54 ~3 min tests 📄log
7330e6c #4 2023-10-10 12:51:24 ~2 min tests 📄log
✔️ 7330e6c #4 2023-10-10 12:54:56 ~6 min android-e2e 🤖apk 📲
✔️ 7330e6c #4 2023-10-10 12:55:01 ~6 min android 🤖apk 📲
7330e6c #4 2023-10-10 12:55:06 ~6 min ios 📄log
54763b1 #5 2023-10-11 14:25:11 ~4 min tests 📄log
✔️ 54763b1 #5 2023-10-11 14:27:38 ~7 min android-e2e 🤖apk 📲
✔️ 54763b1 #5 2023-10-11 14:28:45 ~8 min android 🤖apk 📲
✔️ 54763b1 #5 2023-10-11 14:31:17 ~10 min ios 📱ipa 📲
ba1afa4 #7 2023-10-11 15:22:43 ~2 min tests 📄log
✔️ ba1afa4 #8 2023-10-11 15:26:21 ~6 min android-e2e 🤖apk 📲
✔️ ba1afa4 #8 2023-10-11 15:26:59 ~7 min android 🤖apk 📲
✔️ ba1afa4 #7 2023-10-11 15:31:29 ~11 min ios 📱ipa 📲
f325340 #8 2023-10-11 20:30:48 ~3 min tests 📄log
✔️ f325340 #9 2023-10-11 20:33:19 ~6 min android-e2e 🤖apk 📲
✔️ f325340 #9 2023-10-11 20:33:26 ~6 min android 🤖apk 📲
✔️ f325340 #8 2023-10-11 20:42:26 ~15 min ios 📱ipa 📲
1298703 #9 2023-10-12 22:44:02 ~2 min tests 📄log
✔️ 9f6f78f #11 2023-10-12 22:52:17 ~6 min android 🤖apk 📲
✔️ 9f6f78f #11 2023-10-12 22:52:21 ~6 min android-e2e 🤖apk 📲
✔️ 9f6f78f #10 2023-10-12 22:53:30 ~7 min ios 📱ipa 📲
✔️ 9f6f78f #10 2023-10-12 22:56:14 ~10 min tests 📄log
8324cd1 #11 2023-10-15 15:03:57 ~2 min tests 📄log
✔️ 8324cd1 #12 2023-10-15 15:07:28 ~6 min android-e2e 🤖apk 📲
✔️ 8324cd1 #12 2023-10-15 15:07:33 ~6 min android 🤖apk 📲
✔️ 8324cd1 #11 2023-10-15 15:14:16 ~13 min ios 📱ipa 📲
✔️ 5a113d9 #12 2023-10-16 08:57:18 ~5 min ios 📱ipa 📲
✔️ 5a113d9 #13 2023-10-16 09:00:33 ~9 min android-e2e 🤖apk 📲
✔️ 5a113d9 #13 2023-10-16 09:00:48 ~9 min android 🤖apk 📲
✔️ 5a113d9 #12 2023-10-16 09:01:41 ~10 min tests 📄log
✔️ d9d0c0f #14 2023-10-16 10:34:41 ~5 min android-e2e 🤖apk 📲
✔️ d9d0c0f #13 2023-10-16 10:38:01 ~8 min ios 📱ipa 📲
✔️ d9d0c0f #14 2023-10-16 10:38:04 ~9 min android 🤖apk 📲
✔️ d9d0c0f #13 2023-10-16 10:40:07 ~11 min tests 📄log
✔️ 154aa91 #15 2023-10-16 15:48:12 ~6 min android 🤖apk 📲
✔️ 154aa91 #15 2023-10-16 15:48:13 ~6 min android-e2e 🤖apk 📲
✔️ 154aa91 #14 2023-10-16 15:51:50 ~9 min tests 📄log
✔️ 154aa91 #14 2023-10-16 15:54:00 ~11 min ios 📱ipa 📲
4542bf8 #15 2023-10-17 10:19:51 ~4 min tests 📄log
✔️ 4542bf8 #16 2023-10-17 10:22:14 ~6 min android-e2e 🤖apk 📲
✔️ 4542bf8 #16 2023-10-17 10:22:16 ~6 min android 🤖apk 📲
✔️ 4542bf8 #15 2023-10-17 10:26:47 ~10 min ios 📱ipa 📲
✔️ 729cad3 #17 2023-10-18 09:50:15 ~5 min android-e2e 🤖apk 📲
✔️ 729cad3 #17 2023-10-18 09:53:54 ~9 min android 🤖apk 📲
✔️ 729cad3 #16 2023-10-18 09:54:01 ~9 min tests 📄log
✔️ 729cad3 #16 2023-10-18 09:55:46 ~11 min ios 📱ipa 📲
7310334 #17 2023-10-18 13:25:07 ~1 min tests 📄log
✔️ 7310334 #18 2023-10-18 13:29:14 ~6 min android-e2e 🤖apk 📲
✔️ 7310334 #18 2023-10-18 13:29:20 ~6 min android 🤖apk 📲
✔️ 7310334 #17 2023-10-18 13:34:04 ~11 min ios 📱ipa 📲
✔️ d62b18e #19 2023-10-18 13:40:21 ~6 min android-e2e 🤖apk 📲
✔️ d62b18e #19 2023-10-18 13:40:24 ~6 min android 🤖apk 📲
✔️ d62b18e #18 2023-10-18 13:40:59 ~6 min ios 📱ipa 📲
✔️ d62b18e #18 2023-10-18 13:43:16 ~9 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 8f51e23 #21 2023-10-25 15:16:21 ~7 min android 🤖apk 📲
✔️ 8f51e23 #21 2023-10-25 15:17:07 ~8 min android-e2e 🤖apk 📲
✔️ 8f51e23 #20 2023-10-25 15:19:23 ~10 min ios 📱ipa 📲
✔️ 8f51e23 #20 2023-10-25 15:20:14 ~11 min tests 📄log
✔️ b84425d #21 2023-10-26 08:32:33 ~5 min ios 📱ipa 📲
✔️ b84425d #22 2023-10-26 08:33:13 ~6 min android-e2e 🤖apk 📲
✔️ b84425d #22 2023-10-26 08:34:28 ~7 min android 🤖apk 📲
✔️ b84425d #21 2023-10-26 08:35:51 ~8 min tests 📄log

@J-Son89 J-Son89 force-pushed the jc/create-wallet-account branch 2 times, most recently from 7330e6c to 54763b1 Compare October 11, 2023 14:20
@J-Son89 J-Son89 marked this pull request as ready for review October 11, 2023 14:25
@J-Son89 J-Son89 changed the title Jc/create wallet account create wallet account Oct 11, 2023
@@ -40,11 +40,13 @@
(rf/dispatch [:show-bottom-sheet
{:on-close on-close
:theme theme
:shell? blur?
:shell? false
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I need to swap this back 😓

@@ -75,6 +75,7 @@
{:db (assoc db
:chats/loading? true
:networks/current-network current-network
:wallet-2/tokens-loading? true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I need to revert this, related to @mmilad75's work

:button-props {:title (i18n/label :t/edit)}
:left-icon :i/placeholder
:description :text
:description-props {:text "On device"}}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

will make it an i18n label

[taoensso.timbre :as log]
[utils.security.core :as security]
[native-module.core :as native-module]))

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ilmotta would appreciate a review on these events 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

also do we have a way to test these rpc requests? 🤔 - I can add them here if there's a good example?
cc @cammellos

Copy link
Contributor

Choose a reason for hiding this comment

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

@ilmotta would appreciate a review on these events

Will do :)

also do we have a way to test these rpc requests?

The integration tests can make actual JSON RPC calls. If you would like to be sure more complex flows are correct I believe that's the place. If you want to venture in those tests, it would be good to write them in a separate file than status-im.integration-test, that one is crowded.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that filename sounds like it could be improved upon to me anyway. Will put them in wallet specific test files.
sounds great. thanks 👍

@@ -78,3 +78,5 @@
(def sub (comp deref re-frame/subscribe))

(def dispatch re-frame/dispatch)

(def reg-event-fx re-frame/reg-event-fx)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ilmotta added this so we still work through rf/... wdyt?

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems reasonable to me @J-Son89

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll make a follow up pr to adjust the other uses so 👍

src/status_im2/contexts/profile/login/events.cljs Outdated Show resolved Hide resolved
src/status_im2/contexts/wallet/create_account/view.cljs Outdated Show resolved Hide resolved
src/status_im2/contexts/wallet/events.cljs Outdated Show resolved Hide resolved
src/status_im2/contexts/wallet/utils.cljs Outdated Show resolved Hide resolved
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.

I didn't review the UI part @J-Son89, and focused only on the re-frame part as you requested. I left just minor comments 🚀

(fn [_ [password account-details]]
(let [on-success (fn [derived-adress-details]
(rf/dispatch [:wallet-2/add-account password account-details (first derived-adress-details)]))]
(rf/dispatch [:wallet-2/create-derived-addresses password account-details on-success]))))
Copy link
Contributor

Choose a reason for hiding this comment

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

@J-Son89, in re-frame, event handlers should never directly call re-frame.core/dispatch, only effects should do that (:json-rpc/call is one example that does this behind the scenes). The event handler should be pure and always either return nil or a map of effects.

I updated the guidelines recently:

Register events with re-frame.core/reg-event-fx and follow re-frame's best
practice
so use only :db and :fx effects.

-- https://github.com/status-im/status-mobile/blob/6e897f0ea6113f8242d4180f52eae6711a9c9938/doc/new-guidelines.md#registering-event-handlers

So here the code would be:

(rf/reg-event-fx :wallet-2/derive-address-and-add-account
 (fn [_ [password account-details]]
   (let [on-success (fn [derived-adress-details]
                      (rf/dispatch [:wallet-2/add-account password account-details
                                    (first derived-adress-details)]))]
     {:fx [[:dispatch [:wallet-2/create-derived-addresses password account-details on-success]]]})))

[utils.security.core :as security]
[native-module.core :as native-module]))

(rf/reg-event-fx
Copy link
Contributor

Choose a reason for hiding this comment

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

The more common way events are formatted in re-frame is to keep the event ID in the same line as reg-event-fx. I recently updated zprint to take this into account so that the args after the event ID are aligned like re-frame.core/reg-sub (see

"reg-event-fx" :arg1-pair
)

src/status_im2/contexts/wallet/events.cljs Outdated Show resolved Hide resolved
:colorID color})]
{:json-rpc/call [{:method "accounts_addAccount"
:params [sha3-pwd account-config]
:on-success #(rf/dispatch [:navigate-to :wallet-accounts])
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI: :on-success can be an event vector too, leaving the dispatch responsibility to the :json-rpc/call effect and being more friendly for unit testing (because of equality checks).

:on-success [:navigate-to :wallet-accounts]

(fn [{:keys [db]} [password {:keys [emoji account-name color]} {:keys [public-key address path]}]]
(let [key-uid (get-in db [:profile/profile :key-uid])
sha3-pwd (native-module/sha3 (security/safe-unmask-data password))
account-config (clj->js {:key-uid key-uid
Copy link
Contributor

Choose a reason for hiding this comment

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

clj->js is unnecessary because the effect takes care of calling utils.transforms/clj->json on the entire payload before making the RPC call. Same for the other event :wallet-2/create-derived-addresses.

Comment on lines 2 to 11
(:require
[quo2.core :as quo]
[quo2.theme :as quo.theme]
[reagent.core :as reagent]
[utils.re-frame :as rf]
[react-native.touch-id :as biometric]
[utils.i18n :as i18n]
[taoensso.timbre :as log]
[status-im2.common.standard-authentication.enter-password.view :as enter-password]
[react-native.core :as rn]))
[quo2.core :as quo]
[quo2.theme :as quo.theme]
[reagent.core :as reagent]
[utils.re-frame :as rf]
[react-native.touch-id :as biometric]
[utils.i18n :as i18n]
[taoensso.timbre :as log]
[status-im2.common.standard-authentication.enter-password.view :as enter-password]
[react-native.core :as rn]))
Copy link
Contributor

Choose a reason for hiding this comment

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

I think @J-Son89 fixed the formatting here, but our lint-fix tool will revert this change.
@ilmotta do we have a way to fix this? maybe in this PR?

Copy link
Contributor

Choose a reason for hiding this comment

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

@ulisesmac, this issue seems to be related to how clojure-lsp cleans up namespaces. It aligns the opening square bracket [ with the colon in :require. The way we configured zprint causes it to align the namespaces with the letter r.

When I run make lint-fix zprint aligns the namespaces to r in :require, which seems to be correct.

Copy link
Contributor

Choose a reason for hiding this comment

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

When I run make lint-fix zprint aligns the namespaces to r in :require, which seems to be correct.

I think this behavior is not correct. it is a list, not a function call:

;; list:
(:require
 :b 
 :c
 [])
 
;; fn call
(require
  :b 
  :c
  []) 

Copy link
Contributor Author

Choose a reason for hiding this comment

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

apolgies, it's probably my local formatter but not the linter. I'll check

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this behavior is not correct. it is a list, not a function call:

I meant correct from zprint's point of view. But I agree how clojure-lsp formats is the correct way. @yqrashawn has the greatest knowledge about zprint.

@yqrashawn, do you know if we can tell zprint to format namespaces identically to clojure-lsp? At the moment, clojure-lsp clean-ns command has one less whitespace than zprint.

Copy link
Contributor

Choose a reason for hiding this comment

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

Will look into this maybe later next week #17641

src/status_im2/contexts/wallet/events.cljs Outdated Show resolved Hide resolved
@J-Son89 J-Son89 force-pushed the jc/create-wallet-account branch 2 times, most recently from 1298703 to 9f6f78f Compare October 12, 2023 22:45
@status-im-auto
Copy link
Member

79% of end-end tests have passed

Total executed tests: 43
Failed tests: 9
Passed tests: 34
IDs of failed tests: 702784,702732,703495,702783,703496,702786,702846,702731,702808 

Failed tests (9)

Click to expand
  • Rerun failed tests

  • Class TestCommunityOneDeviceMerged:

    1. test_community_navigate_to_channel_when_relaunch, id: 702846

    ## Signed in successfully!
    Device 1: Looking for a message by text: some_text

    critical/chats/test_public_chat_browsing.py:81: in test_community_navigate_to_channel_when_relaunch
        self.drivers[0].fail("Not navigated to channel view after reopening app")
    base_test_case.py:179: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
     Device 1: Not navigated to channel view after reopening app
    



    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_delete_via_long_press_relogin, id: 702784

    Test setup failed: ../views/home_view.py:373: in handle_contact_request
        chat_element.accept_contact_request()
    ../views/home_view.py:150: in accept_contact_request
        self.handle_cr("accept-contact-request")
    ../views/home_view.py:147: in handle_cr
        ).wait_for_rendering_ended_and_click()
    ../views/base_element.py:155: in wait_for_rendering_ended_and_click
        self.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: `//*[contains(@text, 'sender')]/ancestor::*[@content-desc='activity']/*[@content-desc="accept-contact-request"]` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    
    During handling of the above exception, another exception occurred:
    critical/chats/test_1_1_public_chats.py:541: in prepare_devices
        self.home_2.handle_contact_request(self.username_1)
    ../views/home_view.py:383: in handle_contact_request
        self.driver.fail("No contact request received from %s" % username)
    base_test_case.py:179: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
    E   Failed: Device 2: No contact request received from sender
    



    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

    Device 2: Tap on found: Button
    Device 2: Attempt 0 is successful clicking close-activity-center

    Test setup failed: ../views/home_view.py:373: in handle_contact_request
        chat_element.accept_contact_request()
    ../views/home_view.py:150: in accept_contact_request
        self.handle_cr("accept-contact-request")
    ../views/home_view.py:147: in handle_cr
        ).wait_for_rendering_ended_and_click()
    ../views/base_element.py:155: in wait_for_rendering_ended_and_click
        self.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: `//*[contains(@text, 'sender')]/ancestor::*[@content-desc='activity']/*[@content-desc="accept-contact-request"]` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    
    During handling of the above exception, another exception occurred:
    critical/chats/test_1_1_public_chats.py:541: in prepare_devices
        self.home_2.handle_contact_request(self.username_1)
    ../views/home_view.py:383: in handle_contact_request
        self.driver.fail("No contact request received from %s" % username)
    base_test_case.py:179: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
    E   Failed: Device 2: No contact request received from sender 
    

    [[Data delivery issue]]

    Device sessions

    3. test_1_1_chat_mute_chat, id: 703496

    Test setup failed: ../views/home_view.py:373: in handle_contact_request
        chat_element.accept_contact_request()
    ../views/home_view.py:150: in accept_contact_request
        self.handle_cr("accept-contact-request")
    ../views/home_view.py:147: in handle_cr
        ).wait_for_rendering_ended_and_click()
    ../views/base_element.py:155: in wait_for_rendering_ended_and_click
        self.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: `//*[contains(@text, 'sender')]/ancestor::*[@content-desc='activity']/*[@content-desc="accept-contact-request"]` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    
    During handling of the above exception, another exception occurred:
    critical/chats/test_1_1_public_chats.py:541: in prepare_devices
        self.home_2.handle_contact_request(self.username_1)
    ../views/home_view.py:383: in handle_contact_request
        self.driver.fail("No contact request received from %s" % username)
    base_test_case.py:179: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
    E   Failed: Device 2: No contact request received from sender
    



    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

    Device 2: Click until ChatMessageInput by accessibility id: chat-message-input will be presented
    Device 2: Looking for a message by text: Chat is unmuted now

    critical/chats/test_group_chat.py:473: in test_group_chat_mute_chat
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     New messages counter near chats tab button is 1 after unmute, but should be 2
    



    Device sessions

    3. test_group_chat_offline_pn, id: 702808

    Device 3: Looking for a message by text: message from old member
    Device 3: Looking for a message by text: message from new member

    critical/chats/test_group_chat.py:309: in test_group_chat_offline_pn
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Messages PN was not fetched from offline 
    

    [[Data delivery issue]]

    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_mentions_push_notification, id: 702786

    Device 2: Getting PN by 'user_2'
    Device 2: Looking for a message by text: user_2

    critical/chats/test_public_chat_browsing.py:874: in test_community_mentions_push_notification
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Can not edit a message with a mention
    



    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]]

    Passed tests (34)

    Click to expand

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    2. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    3. test_community_discovery, id: 703503
    Device sessions

    4. test_community_undo_delete_message, id: 702869
    Device sessions

    5. test_community_mute_community_and_channel, id: 703382
    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 TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194
    Device sessions

    2. test_community_one_image_send_reply, id: 702859
    Device sessions

    3. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    4. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    5. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    6. test_community_message_delete, id: 702839
    Device sessions

    7. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    8. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    9. test_community_message_edit, id: 702843
    Device sessions

    10. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    2. test_group_chat_reactions, id: 703202
    Device sessions

    3. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    3. test_community_leave, id: 702845
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    3. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    4. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    5. test_1_1_chat_edit_message, id: 702855
    Device sessions

    6. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    7. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    @J-Son89
    Copy link
    Contributor Author

    J-Son89 commented Oct 18, 2023

    @pavloburykh, @Francesca-G - we are still somewhat not requiring design reviews on wallet screens. If the developer wants them that is fine but imo I do not need one here as I intend to clean this UI at a later point anyway.
    The reason for this is not to mispend @Francesca-G's time (or the developer) when a lot of changes are going to be made and the final polish is not ready to happen. We will be fighting small paddings/margins a lot otherwise.
    Soon enough we will stabilise this and make it mandatory similar to the rest of the application ofc :)

    @J-Son89
    Copy link
    Contributor Author

    J-Son89 commented Oct 18, 2023

    @pavloburykh this pr is working ok?
    This pr has adjustments made on Status Go. As I understand it these changes need to be merged on Status Go now, and then I will update this branch to point to lastest on Status go and we do a last check.

    cc @cammellos can I merge that pr on Status go? 🤔

    @pavloburykh
    Copy link
    Contributor

    @pavloburykh this pr is working ok?

    Hey @J-Son89! It was working okay when I moved it to merge column last week. But now go and mobile branches are outdated. That's why we need to rebase both branches and perform another round of testing (including re-run e2e) before merge to make sure no issues introduced by updated go.

    @J-Son89 J-Son89 force-pushed the jc/create-wallet-account branch 2 times, most recently from e857496 to 8f51e23 Compare October 25, 2023 15:08
    @J-Son89
    Copy link
    Contributor Author

    J-Son89 commented Oct 25, 2023

    Thanks @pavloburykh. The changes needed on Status Go were merged and I have updated this pr to point at the right version of Status Go.
    I tested this pr locally and in the release build and it's working as expected. Can you take another look before I look to merge it?

    @pavloburykh
    Copy link
    Contributor

    I tested this pr locally and in the release build and it's working as expected. Can you take another look before I look to merge it?

    Thank you @J-Son89! Let's have another e2e run before merging.

    @J-Son89
    Copy link
    Contributor Author

    J-Son89 commented Oct 25, 2023

    perfect! 👌

    @status-im-auto
    Copy link
    Member

    73% of end-end tests have passed

    Total executed tests: 45
    Failed tests: 9
    Expected to fail tests: 3
    Passed tests: 33
    
    IDs of failed tests: 703194,702859,702813,702745,702786,702838,702846,702843,702807 
    
    IDs of expected to fail tests: 702732,702731,702808 
    

    Failed tests (9)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMerged:

    1. 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/chats/test_public_chat_browsing.py:412: in test_community_several_images_send_reply
        self.errors.verify_no_errors()
    base_test_case.py:191: 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

    2. 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/chats/test_public_chat_browsing.py:423: 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:139: 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

    3. test_community_message_send_check_timestamps_sender_username, id: 702838

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

    critical/chats/test_public_chat_browsing.py:323: in test_community_message_send_check_timestamps_sender_username
        self.channel_2.verify_message_is_under_today_text(new_message, self.errors, 60)
    ../views/chat_view.py:990: in verify_message_is_under_today_text
        message_element.wait_for_visibility_of_element(timeout)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'new message')]/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_message_edit, id: 702843

    Device 2: Looking for a message by text: Message AFTER edit 2 (Edited)
    Device 2: Find ChatElementByText by xpath: //*[starts-with(@text,'Message AFTER edit 2 (Edited)')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']

    critical/chats/test_public_chat_browsing.py:337: in test_community_message_edit
        self.channel_2.set_reaction(message_text_after_edit)
    ../views/chat_view.py:1069: in set_reaction
        self.chat_element_by_text(message).long_press_until_element_is_shown(element)
    ../views/base_element.py:317: in long_press_until_element_is_shown
        element = self.find_element()
    ../views/chat_view.py:134: in find_element
        self.wait_for_visibility_of_element(20)
    ../views/base_element.py:139: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'Message AFTER edit 2 (Edited)')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807

    Device 2: Text is Delivered
    Device 1: Looking for a message by text: Hey, admin!

    critical/chats/test_group_chat.py:97: in test_group_chat_join_send_text_messages_push
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message Hey, admin! was not received by admin
    



    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_push_emoji, id: 702813

    Device 1: App to background
    Device 2: Sending message 'emoji'

    critical/chats/test_1_1_public_chats.py:345: in test_1_1_chat_push_emoji
        chat_2.send_message(emoji.emojize(emoji_message))
    ../views/chat_view.py:1000: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:121: 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

    2. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745

    Device 2: Find MemberPhoto by xpath: //*[starts-with(@text,'profile_photo')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='user-avatar']
    Device 2: Image differs from template to 7.120959712009804 percents

    critical/chats/test_1_1_public_chats.py:312: in test_1_1_chat_non_latin_messages_stack_update_profile_photo
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Image of user in 1-1 chat is too different from template!
    



    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_navigate_to_channel_when_relaunch, id: 702846

    ## Signed in successfully!
    Device 1: Looking for a message by text: some_text

    critical/chats/test_public_chat_browsing.py:81: in test_community_navigate_to_channel_when_relaunch
        self.drivers[0].fail("Not navigated to channel view after reopening app")
    base_test_case.py:179: in fail
        pytest.fail('Device %s: %s' % (self.number, text))
     Device 1: Not navigated to channel view after reopening app
    



    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_mentions_push_notification, id: 702786

    Device 2: Getting PN by 'user_2'
    Device 2: Looking for a message by text: user_2

    critical/chats/test_public_chat_browsing.py:882: in test_community_mentions_push_notification
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Channel did not open by clicking on a notification with the mention for admin
    E    Channel did not open by clicking on a notification with the mention for the invited member
    



    Device sessions

    Expected to fail tests (3)

    Click to expand

    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_offline_pn, id: 702808

    Device 3: Looking for a message by text: message from old member
    Device 3: Looking for a message by text: message from new member

    critical/chats/test_group_chat.py:309: in test_group_chat_offline_pn
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Messages PN was not fetched from offline 
    

    [[Data delivery issue]]

    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]]

    Passed tests (33)

    Click to expand

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_add_contact_field_validation, id: 702777
    Device sessions

    2. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    3. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    2. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    3. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    4. test_community_message_delete, id: 702839
    Device sessions

    5. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    6. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class 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

    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_edit_message, id: 702855
    Device sessions

    4. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    5. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    3. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    Class 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_mute_community_and_channel, id: 703382
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    3. test_community_leave, id: 702845
    Device sessions

    4. test_community_join_when_node_owner_offline, id: 703629
    Device sessions

    @status-im-auto
    Copy link
    Member

    71% of end-end tests have passed

    Total executed tests: 45
    Failed tests: 9
    Expected to fail tests: 4
    Passed tests: 32
    
    IDs of failed tests: 703194,702859,702813,702745,703297,703391,702786,702807,703629 
    
    IDs of expected to fail tests: 702732,702783,702731,702808 
    

    Failed tests (9)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_mentions_push_notification, id: 702786

    Device 2: Getting PN by 'user_2'
    Device 2: Looking for a message by text: user_2

    critical/chats/test_public_chat_browsing.py:882: in test_community_mentions_push_notification
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Channel did not open by clicking on a notification with the mention for admin
    E    Channel did not open by clicking on a notification with the mention for the invited member
    



    Device sessions

    2. test_community_join_when_node_owner_offline, id: 703629

    Device 2: Tap on found: Button
    Device 2: Looking for community: 'open community'

    critical/chats/test_public_chat_browsing.py:1090: in test_community_join_when_node_owner_offline
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Joined status is not displayed
    E    open community is not listed inside Joined communities tab
    



    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_send_image_save_and_share, id: 703297

    Device 1: Looking for a message by text: test image
    Device 1: Trying to access image inside message with text 'test image'

    critical/chats/test_group_chat.py:225: in test_group_chat_send_image_save_and_share
        image_description).image_in_message.is_element_image_similar_to_template('saucelabs_sauce_chat.png'):
    ../views/base_element.py:280: in is_element_image_similar_to_template
        template = imagehash.average_hash(Image.open(image_template))
    /home/jenkins/.local/lib/python3.10/site-packages/PIL/Image.py:2958: in open
     cannot identify image file '/home/jenkins/workspace/status-mobile/e2e/status-app-prs/test/appium/views/elements_templates/saucelabs_sauce_chat.png'
    



    Device sessions

    2. test_group_chat_join_send_text_messages_push, id: 702807

    Device 2: Text is Delivered
    Device 1: Looking for a message by text: Hey, admin!

    critical/chats/test_group_chat.py:97: in test_group_chat_join_send_text_messages_push
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message Hey, admin! was not received by admin
    



    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_push_emoji, id: 702813

    Device 1: App to background
    Device 2: Sending message 'emoji'

    critical/chats/test_1_1_public_chats.py:345: in test_1_1_chat_push_emoji
        chat_2.send_message(emoji.emojize(emoji_message))
    ../views/chat_view.py:1000: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:121: 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

    2. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745

    Device 1: Find ProfilePictureElement by accessibility id: chat-icon
    Device 1: Tap on found: ProfilePictureElement

    critical/chats/test_1_1_public_chats.py:271: in test_1_1_chat_non_latin_messages_stack_update_profile_photo
        self.profile_1.edit_profile_picture('sauce_logo.png')
    ../views/profile_view.py:434: in edit_profile_picture
        self.profile_picture.template = file_name
    ../views/base_element.py:239: in template
        self.__template = Image.open(os.sep.join(__file__.split(os.sep)[:-1]) + '/elements_templates/%s' % value)
    /home/jenkins/.local/lib/python3.10/site-packages/PIL/Image.py:2958: in open
     cannot identify image file '/home/jenkins/workspace/status-mobile/e2e/status-app-prs/test/appium/views/elements_templates/sauce_logo.png'
    



    Device sessions

    3. test_1_1_chat_send_image_save_and_share, id: 703391

    Device 2: Looking for a message by text: test image
    Device 2: Trying to access image inside message with text 'test image'

    critical/chats/test_1_1_public_chats.py:408: in test_1_1_chat_send_image_save_and_share
        image_description).image_in_message.is_element_image_similar_to_template('saucelabs_sauce_chat.png'):
    ../views/base_element.py:280: in is_element_image_similar_to_template
        template = imagehash.average_hash(Image.open(image_template))
    /home/jenkins/.local/lib/python3.10/site-packages/PIL/Image.py:2958: in open
     cannot identify image file '/home/jenkins/workspace/status-mobile/e2e/status-app-prs/test/appium/views/elements_templates/saucelabs_sauce_chat.png'
    



    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194

    Device 2: Looking for a message by text: gallery
    Device 2: Trying to access images (image container) inside message with text 'gallery'

    critical/chats/test_public_chat_browsing.py:383: in test_community_several_images_send_reply
        if chat_element.image_container_in_message.is_element_differs_from_template(file_name, 5):
    ../views/base_element.py:268: in is_element_differs_from_template
        self.template = file_name
    ../views/base_element.py:239: in template
        self.__template = Image.open(os.sep.join(__file__.split(os.sep)[:-1]) + '/elements_templates/%s' % value)
    /home/jenkins/.local/lib/python3.10/site-packages/PIL/Image.py:2958: in open
     cannot identify image file '/home/jenkins/workspace/status-mobile/e2e/status-app-prs/test/appium/views/elements_templates/gallery_1.png'
    



    Device sessions

    2. test_community_one_image_send_reply, id: 702859

    Device 2: Looking for a message by text: description
    Device 2: Trying to access image inside message with text 'description'

    critical/chats/test_public_chat_browsing.py:425: in test_community_one_image_send_reply
        image_description).image_in_message.is_element_image_similar_to_template('image_sent_in_community.png'):
    ../views/base_element.py:280: in is_element_image_similar_to_template
        template = imagehash.average_hash(Image.open(image_template))
    /home/jenkins/.local/lib/python3.10/site-packages/PIL/Image.py:2958: in open
     cannot identify image file '/home/jenkins/workspace/status-mobile/e2e/status-app-prs/test/appium/views/elements_templates/image_sent_in_community.png'
    



    Device sessions

    Expected to fail tests (4)

    Click to expand

    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_offline_pn, id: 702808

    Device 3: Looking for a message by text: message from old member
    Device 3: Looking for a message by text: message from new member

    critical/chats/test_group_chat.py:309: in test_group_chat_offline_pn
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Messages PN was not fetched from offline 
    

    [[Data delivery issue]]

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

    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:601: in test_1_1_chat_is_shown_message_sent_delivered_from_offline
        self.errors.verify_no_errors()
    base_test_case.py:191: 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! 
    

    [[Data delivery issue]]

    Device sessions

    Passed tests (32)

    Click to expand

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    3. test_community_leave, id: 702845
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_mute_chat, id: 703495
    Device sessions

    2. test_group_chat_reactions, id: 703202
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_add_contact_field_validation, id: 702777
    Device sessions

    2. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    3. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    2. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    2. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    3. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    4. test_community_message_delete, id: 702839
    Device sessions

    5. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    6. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    7. test_community_message_edit, id: 702843
    Device sessions

    8. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class 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_edit_message, id: 702855
    Device sessions

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

    @pavloburykh
    Copy link
    Contributor

    @J-Son89 hold on with merging please. E2E results are suspicious, I will check tomorrow.

    @status-im-auto
    Copy link
    Member

    87% of end-end tests have passed

    Total executed tests: 45
    Failed tests: 3
    Expected to fail tests: 3
    Passed tests: 39
    
    IDs of failed tests: 702786,702807,702813 
    
    IDs of expected to fail tests: 702731,702808,702732 
    

    Failed tests (3)

    Click to expand
  • Rerun failed tests

  • Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_push_emoji, id: 702813

    Device 1: App to background
    Device 2: Sending message 'emoji'

    critical/chats/test_1_1_public_chats.py:345: in test_1_1_chat_push_emoji
        chat_2.send_message(emoji.emojize(emoji_message))
    ../views/chat_view.py:1000: in send_message
        self.chat_message_input.wait_for_element(wait_chat_input_sec)
    ../views/base_element.py:121: 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

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_join_send_text_messages_push, id: 702807

    Device 2: Text is Delivered
    Device 1: Looking for a message by text: Hey, admin!

    critical/chats/test_group_chat.py:97: in test_group_chat_join_send_text_messages_push
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message Hey, admin! was not received by admin
    



    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_mentions_push_notification, id: 702786

    Device 2: Getting PN by 'user_2'
    Device 2: Looking for a message by text: user_2

    critical/chats/test_public_chat_browsing.py:882: in test_community_mentions_push_notification
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Channel did not open by clicking on a notification with the mention for admin
    E    Channel did not open by clicking on a notification with the mention for the invited member
    



    Device sessions

    Expected to fail tests (3)

    Click to expand

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

    1. test_group_chat_offline_pn, id: 702808

    Device 3: Looking for a message by text: message from old member
    Device 3: Looking for a message by text: message from new member

    critical/chats/test_group_chat.py:309: in test_group_chat_offline_pn
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Messages PN was not fetched from offline 
    

    [[Data delivery issue]]

    Device sessions

    2. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

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

    Passed tests (39)

    Click to expand

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    2. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    3. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    4. test_community_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_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    8. test_community_one_image_send_reply, id: 702859
    Device sessions

    9. test_community_message_edit, id: 702843
    Device sessions

    10. test_community_several_images_send_reply, id: 703194
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_reactions, id: 703202
    Device sessions

    2. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    3. test_group_chat_mute_chat, id: 703495
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_leave, id: 702845
    Device sessions

    2. test_community_markdown_support, id: 702809
    Device sessions

    3. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    4. test_community_join_when_node_owner_offline, id: 703629
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    3. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    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_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    4. test_community_undo_delete_message, id: 702869
    Device sessions

    5. test_community_mute_community_and_channel, id: 703382
    Device sessions

    6. test_community_discovery, id: 703503
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_edit_message, id: 702855
    Device sessions

    2. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    3. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    4. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    5. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    6. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    2. test_activity_center_mentions, id: 702957
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    3. test_add_contact_field_validation, id: 702777
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    2. test_navigation_jump_to, id: 702936
    Device sessions

    @pavloburykh
    Copy link
    Contributor

    @J-Son89 PR is ready for merge.

    @J-Son89 J-Son89 merged commit 5649294 into develop Oct 26, 2023
    6 checks passed
    @J-Son89 J-Son89 deleted the jc/create-wallet-account branch October 26, 2023 08:45
    @pavloburykh
    Copy link
    Contributor

    Once 17672 is merged in I will add a follow up to address that issue on create account page.
    Wdyt? 🤔

    Hey @J-Son89! Could you please clarify if the above ISSUE 1 and 2 were logged as followups as I couldn't find them. If not please let me know and I will log them.

    @J-Son89
    Copy link
    Contributor Author

    J-Son89 commented Nov 13, 2023

    Hi @pavloburykh - apologies I assumed - ISSUE 1 Laggy emoji picker screen -had a corresponding issue as it is something Javid and I had discussed. I believe he is on holiday this week and I can not find the issue. I will create one anyway for tracking and send it to Javid, he can close the issue if it's a duplicate. 👍

    with 2 - it's a more general problem and once we have the code in Ulises & my pr - #17737
    we will then be using this in the various pages of the wallet. I didn't create an issue for this specific page as it's a generic problem in the wallet screens which we intend to address.
    is that ok? 🤔

    @J-Son89
    Copy link
    Contributor Author

    J-Son89 commented Nov 13, 2023

    @pavloburykh - #17889
    btw, we will not be addressing the emoji picker performance until 1.27 requirements have been met, I think it's a nice to have and not that much of a blocker. wdyt?

    @mariia-skrypnyk
    Copy link

    mariia-skrypnyk commented Feb 15, 2024

    Here is a followup of ISSUE 2

    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.