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

[ISSUE #2287] Push Notifications: Use status-go NotifyUsers instead of Notify #2902

Merged
merged 1 commit into from
Feb 21, 2018
Merged

[ISSUE #2287] Push Notifications: Use status-go NotifyUsers instead of Notify #2902

merged 1 commit into from
Feb 21, 2018

Conversation

pedropombeiro
Copy link
Contributor

@pedropombeiro pedropombeiro commented Jan 4, 2018

Fixes #2287

Summary:

This PR updates the react-side code to use Statusgo.NotifyUsers(message, payloadJSON, tokensArray *C.char) instead of Statusgo.Notify(token *C.char).

Review notes:

I've made some temporary changes to logging code and set the payload to some bogus data, so this should be reset before merging to develop.

Testing notes:

In order to test that the unencrypted payload has arrived correctly to the Go side, I changed the following code in geth/api/api.go on my machine:
image
You need to make sure that the LOG_LEVEL_STATUS_GO feature flag is set to at least warn level.

Steps to test:

  • Attach to adb logs using adb logcat | grep -e ReactNativeJS -e notifyUsers -e send-notification -e NotifyUsers -e StatusModule
  • Open Status
  • Open a chat
  • Send a message

You should see something similar to the following:
image
There's initially the call to send-notification on the CLJS side, then the fake WARN log message on the geth side, and then the success callback result appearing back on the CLJS side (send-notification cb result: {"status":true}).

On the receiving device, you can see the title and content that come from the CLJS code:
image

status: ready

@oskarth
Copy link
Contributor

oskarth commented Jan 4, 2018

In order to test that the unencrypted payload has arrived correctly to the Go side

@pombeirp Can we also make sure it ends up correctly on receiving end? Or make it possible for QA to check with grep on device logs. I.e.:

Client A (status-react) -> status-go (trigger notification -> Firebase -> Client B (status-react) console logs.

Receiving side: https://github.com/status-im/status-react/blob/develop/src/status_im/utils/notifications.cljs#L36-L47 (TODO can probably be removed now btw)

@oskarth
Copy link
Contributor

oskarth commented Jan 4, 2018

In order to test that the unencrypted payload has arrived correctly to the Go side, I changed the following code in geth/api/api.go on my machine:

It'd be great if we can let QA test without requiring this change, either if we can get above end to end to work with existing status-go version, or if we issue PR to status-go with your temp change + make custom build + bump status-go dep temp in this PR. Former is probably easier I think but open to both, WDYT?

@oskarth oskarth self-requested a review January 4, 2018 12:07
Copy link
Contributor

@oskarth oskarth left a comment

Choose a reason for hiding this comment

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

Minor comments and some testing notes

@pedropombeiro
Copy link
Contributor Author

pedropombeiro commented Jan 4, 2018

It'd be great if we can let QA test without requiring this change, either if we can get above end to end to work with existing status-go version, or if we issue PR to status-go with your temp change + make custom build + bump status-go dep temp in this PR. Former is probably easier I think but open to both, WDYT?

@oskarth I added a screenshot of the receiving app on the OP above. If seeing that on their test device is enough for QA, then we could just go with the existing go version without changes. Otherwise I can try to do the change and bump the dependencies.

I'll take a look at the on-notification function you mentioned when I get a chance later today.

@pedropombeiro
Copy link
Contributor Author

@oskarth Strange, I'm not seeing the on-notification log entries from the method you mentioned above, when sending a text message from a second phone to the phone connected to adb logcat. The text message does appear on the receiving phone, and I made sure that DEBUG-level logging is working :-/
Is there anything in particular I should be doing for that code to run?

@oskarth
Copy link
Contributor

oskarth commented Jan 13, 2018

Strange, I'm not seeing the on-notification log entries from the method you mentioned above, when sending a text message from a second phone to the phone connected to adb logcat. The text message does appear on the receiving phone, and I made sure that DEBUG-level logging is working :-/
Is there anything in particular I should be doing for that code to run?

Hm, not sure. I know I had to install some special stuff on Genymotion to get notifications to work, but seems like you actually received the notification so doesn't seem to be that.

Maybe it is a log stream problem?

Also, if you resolve conflicts, let's move this to testing. Either QA (with TestFairy) or I can have a look then.

Requesting sanity review from @rasom concurrently as it touches Java/iOS interface stuff.

@pedropombeiro
Copy link
Contributor Author

Also, if you resolve conflicts, let's move this to testing. Either QA (with TestFairy) or I can have a look then.

Thanks @oskarth. Do you want me to point this to a special status-go build that includes logging?

@oskarth
Copy link
Contributor

oskarth commented Jan 14, 2018

Thanks @oskarth. Do you want me to point this to a special status-go build that includes logging?

If it isn't logged by default in normal status-go, that'd be great! If you push a branch/PR you should be able to use https://jenkins.status.im/job/status-go-manual/ job to get a version on form branch-gSHA

@oskarth
Copy link
Contributor

oskarth commented Jan 17, 2018

@pombeirp What's state of this PR?

@rasom Any chance for a review?

@pedropombeiro
Copy link
Contributor Author

@oskarth I'll test the build I generated today and let you know if it is ready for QA.

@pedropombeiro
Copy link
Contributor Author

pedropombeiro commented Jan 17, 2018

@oskarth I don't know why I stopped seeing the log entries for NotifyUsers and send-notification using adb logcat. I double-checked that I built status-react using the correct patched status-go, but no luck. Maybe it was after a merge conflict with develop in send_message.cljs#74. Would be great if a Clojure dev could take a quick look to check if I didn't mess the syntax.

@oskarth
Copy link
Contributor

oskarth commented Jan 18, 2018

          :user-message              (cond-> {::send-message
                                                  (assoc-in message-to-send
                                                            [:message :to] to)} 
 -                                         fcm-token (assoc ::send-notification fcm-token))))))))
 +                                         fcm-token (assoc ::send-notification :message content :payload {:title "Title" :body content} :tokens [fcm-token]))))))))

It's really hard to read, but the map after cond-> gets threaded into the (assoc...) form as first part. In the original line it goes (assoc m ::send-notification fcm-token). ::send-notification is key and fcm-token value. In your other version it seems to be missing a key or a value (uneven), this might be why.

reg-fx :send-notification used to take: (fn [fcm-token] now it takes (fn [{:keys [message payload tokens]}]. This means map should be value instead of fcm-token`. This looks like this:

 (assoc m ::send-notification {:message content
                                                  :payload {:title "Title" :body content}
                                                  :tokens [fcm-token]}

where m isn't present because it is threaded from above. NOTE: note tested, just written in GH, but something like this. Can also put this in a let above and print to verify.

@@ -84,8 +84,8 @@
(defn should-move-to-internal-storage? [callback]
(module-interface/-should-move-to-internal-storage? rns-module callback))

(defn notify [token callback]
(module-interface/-notify rns-module token callback))
(defn notify-users [message payload tokens callback]
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider doing same interface change here as ::send-notification above, i.e. [{:keys [message payload tokens] :as m} callback] as arg

@oskarth
Copy link
Contributor

oskarth commented Jan 18, 2018

^ nudge @rasom review as well.

@@ -18,7 +18,7 @@ dependencies {
compile 'com.github.ericwlange:AndroidJSCore:3.0.1'
compile 'status-im:function:0.0.1'

String statusGoVersion = 'develop-gd71c66a2'
String statusGoVersion = 'junk-log-NotifyUsers-g605a2123-62'
Copy link
Contributor

Choose a reason for hiding this comment

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

can't we use current status-go's develop here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is just a temporary commit to gain additional logging on the go side to allow QA to verify.

Copy link
Contributor

@oskarth oskarth left a comment

Choose a reason for hiding this comment

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

Tentatively approve, same comment as above, but let's test this and get it merged soon. PR getting a bit old and would prefer to keep velocity up.

@pedropombeiro
Copy link
Contributor Author

@oskarth I think the ::send-notification method signature is wrong. I reverted to my initial 'dumb' approach of passing an array and I see the log entry, so I'll try today to fix it using a map. Could you please change your approval/request change so that it is removed from testing?

Copy link
Contributor

@oskarth oskarth left a comment

Choose a reason for hiding this comment

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

by request

@pedropombeiro
Copy link
Contributor Author

OK @oskarth I think we're ready to go. Results from adb logcat | grep -e ReactNativeJS -e notifyUsers -e send-notification -e NotifyUsers -e StatusModule with latest changes using map arguments:

image

@statustestbot
Copy link

statustestbot commented Feb 8, 2018

Automated test results:

@status-im status-im deleted a comment from statustestbot Feb 9, 2018
@status-im status-im deleted a comment from statustestbot Feb 9, 2018
@statustestbot
Copy link

Automated test results:

test_password[logcat]:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'new_unique_password' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'new_unique_password' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'

test_password[mismatch]:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'mismatch1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'new_unique_password' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Password confirmation doesn't match password.'

test_group_chat_members:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox

E selenium.common.exceptions.NoSuchElementException: Message: 'PublicKeyEditBox' is not found on screen, using: 'xpath://*[@text='Enter contact code']'


test_sign_in[invalid]:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for LogoutButton
Scrolling down to LogoutButton
Looking for LogoutButton
Looking for LogoutButton
Looking for LogoutButton
Tap on LogoutButton
Looking for LogoutButton
Tap on LogoutButton
Looking for FirstAccountButton
Tap on FirstAccountButton
Looking for PasswordInput
Type '12345ewq' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wrong password'

test_sign_in[valid]:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for LogoutButton
Scrolling down to LogoutButton
Looking for LogoutButton
Looking for LogoutButton
Looking for LogoutButton
Tap on LogoutButton
Looking for LogoutButton
Tap on LogoutButton
Looking for FirstAccountButton
Tap on FirstAccountButton
Looking for PasswordInput
Type 'qwerty1234' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'

test_commands_on_second_app_run:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for an element by text: 'Jarrad'
Looking for full text: '/request'
Looking for full text: '/send'
Looking for AppsButton
Tap on AppsButton
Looking for StatusAppIcon
Scrolling down to StatusAppIcon
Looking for StatusAppIcon
Looking for StatusAppIcon
Tap on StatusAppIcon
Looking for OkButton

E selenium.common.exceptions.NoSuchElementException: Message: An element could not be located on the page using the given search parameters.


test_group_chat_send_receive_messages_and_remove_user:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for OkButton
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for ShareMyContactKeyButton
Tap on ShareMyContactKeyButton
Looking for CrossIcon
Tap on CrossIcon
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox

E selenium.common.exceptions.NoSuchElementException: Message: 'PublicKeyEditBox' is not found on screen, using: 'xpath://*[@text='Enter contact code']'


test_change_user_name:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for EditButton
Tap on EditButton
Looking for UsernameInput
Clear text in UsernameInput
Looking for UsernameInput
Type 'NewUserName!' to UsernameInput
Looking for ConfirmButton
Tap on ConfirmButton
Looking for LogoutButton
Scrolling down to LogoutButton
Looking for LogoutButton
Looking for LogoutButton
Tap on LogoutButton
Looking for LogoutButton
Tap on LogoutButton
Looking for FirstAccountButton
Tap on FirstAccountButton
Looking for PasswordInput
Type 'qwerty1234' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for ProfileButton
Tap on ProfileButton
Looking for EditButton
Tap on EditButton
Looking for full text: 'NewUserName!'

test_recover_access:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for LogoutButton
Scrolling down to LogoutButton
Looking for LogoutButton
Looking for LogoutButton
Tap on LogoutButton
Looking for LogoutButton
Tap on LogoutButton
Looking for RecoverAccessButton
Tap on RecoverAccessButton
Looking for PassphraseInput
Type 'tree weekend ceiling awkward universe pyramid glimpse raven pair lounge grant grief' to PassphraseInput
Looking for PasswordInput
Type 'newuniquepassword12' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Splendid Useless Racerunner'
Looking for PasswordInput
Type 'newuniquepassword12' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'

test_send_funds_via_request[one_to_one_chat]:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for OkButton
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'resemble soap taxi meat reason inflict dilemma calm warrior key gloom again' to PassphraseInput
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Brief Organic Xenops'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'pet letter very ozone shop humor shuffle bounce convince soda hint brave' to PassphraseInput
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Evergreen Handsome Cottontail'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox

E selenium.common.exceptions.NoSuchElementException: Message: 'PublicKeyEditBox' is not found on screen, using: 'xpath://*[@text='Enter contact code']'


test_send_funds_via_request[group_chat]:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for OkButton
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'pet letter very ozone shop humor shuffle bounce convince soda hint brave' to PassphraseInput
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Evergreen Handsome Cottontail'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'resemble soap taxi meat reason inflict dilemma calm warrior key gloom again' to PassphraseInput
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Brief Organic Xenops'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox

E selenium.common.exceptions.NoSuchElementException: Message: 'PublicKeyEditBox' is not found on screen, using: 'xpath://*[@text='Enter contact code']'


test_request_transaction_from_wallet:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'kiss catch paper awesome ecology surface trumpet quit index open stage brave' to PassphraseInput
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Impractical Afraid Watermoccasin'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox

E selenium.common.exceptions.NoSuchElementException: Message: 'PublicKeyEditBox' is not found on screen, using: 'xpath://*[@text='Enter contact code']'


test_eth_and_currency_balance:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'kiss catch paper awesome ecology surface trumpet quit index open stage brave' to PassphraseInput
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Impractical Afraid Watermoccasin'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for WalletButton
Tap on WalletButton
Looking for EthAssetText
EthAssetText is 4.595749391168474
Looking for UsdTotalValueText
UsdTotalValueText is 3954.83
Looking for EthAssetText
EthAssetText is 4.595749391168474
Current USD balance 3954.83 is ok

test_send_transaction_from_wallet[sign_later]:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'kiss catch paper awesome ecology surface trumpet quit index open stage brave' to PassphraseInput
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Impractical Afraid Watermoccasin'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox

E selenium.common.exceptions.NoSuchElementException: Message: 'PublicKeyEditBox' is not found on screen, using: 'xpath://*[@text='Enter contact code']'


test_wallet_error_messages:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for WalletButton
Tap on WalletButton
Looking for SendButton
Tap on SendButton
Looking for AmountEditBox
Type 'asd' to AmountEditBox
Looking for full text: 'Amount is not a valid number'
Looking for AmountEditBox
Type '0,1' to AmountEditBox
Looking for full text: 'Insufficient funds'

test_one_to_one_chat:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for OkButton
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for ShareMyContactKeyButton
Tap on ShareMyContactKeyButton
Looking for CrossIcon
Tap on CrossIcon
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox

E selenium.common.exceptions.NoSuchElementException: Message: 'PublicKeyEditBox' is not found on screen, using: 'xpath://*[@text='Enter contact code']'


test_transaction_send_command[group_chat]:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for ShareMyContactKeyButton
Tap on ShareMyContactKeyButton
Looking for CrossIcon
Tap on CrossIcon
Looking for HomeButton
Tap on HomeButton
Waiting 10 seconds for donation
Waiting 20 seconds for donation
Got 0.1 for f95dc68fe28c7839f8d5b45ff3f2e1940ed703d0
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox

E selenium.common.exceptions.NoSuchElementException: Message: 'PublicKeyEditBox' is not found on screen, using: 'xpath://*[@text='Enter contact code']'


test_send_transaction_from_wallet[sign_now]:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'twenty engine fitness clay faculty supreme garbage armor broccoli agree end sad' to PassphraseInput
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Muffled Purple Milksnake'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox

E selenium.common.exceptions.NoSuchElementException: Message: 'PublicKeyEditBox' is not found on screen, using: 'xpath://*[@text='Enter contact code']'


test_transaction_send_command[wrong_password]:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for ShareMyContactKeyButton
Tap on ShareMyContactKeyButton
Looking for CrossIcon
Tap on CrossIcon
Looking for HomeButton
Tap on HomeButton
Waiting 10 seconds for donation
Waiting 20 seconds for donation
Waiting 30 seconds for donation
Waiting 40 seconds for donation
Waiting 50 seconds for donation
Waiting 60 seconds for donation
Got 0.1 for 28238d03b08aed5ad6929dba43d7f66f4aeb2fff
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox

E selenium.common.exceptions.NoSuchElementException: Message: 'PublicKeyEditBox' is not found on screen, using: 'xpath://*[@text='Enter contact code']'


test_send_transaction_from_daap:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'resemble soap taxi meat reason inflict dilemma calm warrior key gloom again' to PassphraseInput
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Brief Organic Xenops'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for OpenDAapButton

E selenium.common.exceptions.NoSuchElementException: Message: 'OpenDAapButton' is not found on screen, using: 'xpath://android.widget.TextView[@text='Open ÐApp']'


test_password[short]:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwe1' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Password should be not less then 6 symbols.'

test_transaction_send_command[one_to_one_chat]:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for ShareMyContactKeyButton
Tap on ShareMyContactKeyButton
Looking for CrossIcon
Tap on CrossIcon
Looking for HomeButton
Tap on HomeButton
Waiting 10 seconds for donation
Waiting 20 seconds for donation
Waiting 30 seconds for donation
Waiting 40 seconds for donation
Waiting 50 seconds for donation
Waiting 60 seconds for donation
Waiting 70 seconds for donation
Waiting 80 seconds for donation
Waiting 90 seconds for donation
Waiting 100 seconds for donation
Waiting 110 seconds for donation
Waiting 120 seconds for donation
Waiting 130 seconds for donation
Waiting 140 seconds for donation
Waiting 150 seconds for donation
Waiting 160 seconds for donation
Waiting 170 seconds for donation
Waiting 180 seconds for donation
Waiting 190 seconds for donation
Waiting 200 seconds for donation
Waiting 210 seconds for donation
Waiting 220 seconds for donation
Waiting 230 seconds for donation
Waiting 240 seconds for donation
Waiting 250 seconds for donation
Waiting 260 seconds for donation
Waiting 270 seconds for donation
Waiting 280 seconds for donation
Waiting 290 seconds for donation
Waiting 300 seconds for donation

E Failed: Donation was not received during 300 seconds!


@statustestbot
Copy link

Automated test results:

test_send_transaction_from_daap:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'resemble soap taxi meat reason inflict dilemma calm warrior key gloom again' to PassphraseInput
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Brief Organic Xenops'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for OpenDAapButton
Tap on OpenDAapButton
Looking for AuctionHouseButton
Tap on AuctionHouseButton
Looking for OpenButton
Tap on OpenButton
Wait for ProgressBarIcon
Wait for ProgressBarIcon
Wait for ProgressBarIcon
Looking for ToggleNavigationButton
Tap on ToggleNavigationButton
Looking for NewAuctionButton
Tap on NewAuctionButton
Looking for NameToReserveInput
Tap on NameToReserveInput
Tap '2' on native keyboard
Tap '0' on native keyboard
Tap '1' on native keyboard
Tap '8' on native keyboard
Tap '-' on native keyboard
Tap '0' on native keyboard
Tap '2' on native keyboard
Tap '-' on native keyboard
Tap '1' on native keyboard
Tap '2' on native keyboard
Tap '-' on native keyboard
Tap '1' on native keyboard
Tap '7' on native keyboard
Tap '-' on native keyboard
Tap '1' on native keyboard
Tap '8' on native keyboard
Looking for RegisterNameButton
Tap on RegisterNameButton
Wait for EnterPasswordInput
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for EnterPasswordInput
Looking for EnterPasswordInput
Type 'qwerty' to EnterPasswordInput
Wait for GotItButton
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for GotItButton
Looking for GotItButton
Tap on GotItButton
Transaction is received

test_send_eth_from_wallet_sign_later:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'twenty engine fitness clay faculty supreme garbage armor broccoli agree end sad' to PassphraseInput
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Muffled Purple Milksnake'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox
Type '0x04630e0acd973ad448c7a54e2345d6bacaaa4de5a0ec938f802a0f503bf144e80521833be71d4ddfefacfa571a473ebe4542dde102aca4e90d2abe0bb67ee2f99b' to PublicKeyEditBox
Tap 'Confirm' on native keyboard
Wait for HomeButton
Looking for BackButton
Tap on BackButton
Wait for HomeButton
Wait for TransactionsButton
Tap on WalletButton
Looking for WalletButton
Wait for TransactionsButton
Looking for SendButton
Tap on SendButton
Looking for AmountEditBox
Tap on AmountEditBox
Looking for AmountEditBox
Type '0.021217192' to AmountEditBox
Tap 'Confirm' on native keyboard
Wait for EnterContactCodeButton
Tap on ChooseRecipientButton
Looking for ChooseRecipientButton
Wait for EnterContactCodeButton
Looking for EnterContactCodeButton
Tap on EnterContactCodeButton
Looking for EnterRecipientAddressInput
Type 'a409e5faf758a5739f334bae186d8bc11c98ea4d' to EnterRecipientAddressInput
Looking for DoneButton
Tap on DoneButton
Looking for SignLaterButton
Tap on SignLaterButton
Looking for YesButton
Tap on YesButton
Looking for OkButton
Tap on OkButton
Looking for TransactionsButton
Tap on TransactionsButton
Looking for UnsignedTab
Tap on UnsignedTab
Looking for SignButton
Tap on SignButton
Looking for SignTransactionButton
Tap on SignTransactionButton
Looking for EnterPasswordInput
Type 'new_unique_password' to EnterPasswordInput
Looking for SignTransactionButton
Tap on SignTransactionButton
Looking for GotItButton
Tap on GotItButton
Waiting 10 seconds for funds
Transaction is received
Looking for HistoryTab
Tap on HistoryTab
Looking for TransactionElement
Looking for TransactionElement
Tap on TransactionElement
Looking for DetailsTextElement
DetailsTextElement is 0x2114782293b4b6d3383c7a441ddf181bb7776f872bf4ad3028a309d5af7769d2

test_transaction_send_command_group_chat:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for ShareMyContactKeyButton
Tap on ShareMyContactKeyButton
Looking for CrossIcon
Tap on CrossIcon
Looking for HomeButton
Tap on HomeButton
Waiting 10 seconds for donation
Waiting 20 seconds for donation
Waiting 30 seconds for donation
Got 0.1 for b4c3e2e26a55ce7e5c86aa1e3fbb9a8c67630817
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox
Type '0x040e016b940e067997be8d91298d893ff2bc3580504b4ccb155ea03d183b85f18e771a763d99f60fec70edf637eb6bad9f96d3e8a544168d3ad144f83b4cf7625c' to PublicKeyEditBox
Tap 'Confirm' on native keyboard
Wait for HomeButton
Looking for BackButton
Tap on BackButton
Wait for HomeButton
Looking for PlusButton
Tap on PlusButton
Looking for NewGroupChatButton
Tap on NewGroupChatButton
Looking for an element by text: 'Evergreen Handsome Cottontail'
Looking for NextButton
Tap on NextButton
Looking for NameEditBox
Type 'trg_212171838' to NameEditBox
Looking for SaveButton
Tap on SaveButton
Wait for TransactionPopupText
Tap on SendCommand
Looking for SendCommand
Wait for TransactionPopupText
Looking for FirstRecipient
Tap on FirstRecipient
Tap '0' on native keyboard
Tap '.' on native keyboard
Tap '0' on native keyboard
Tap '0' on native keyboard
Tap '1' on native keyboard
Wait for SignTransactionButton
Tap on SendMessageButton
Looking for SendMessageButton
Wait for SignTransactionButton
Wait for EnterPasswordInput
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for EnterPasswordInput
Looking for EnterPasswordInput
Type 'qwerty1234' to EnterPasswordInput
Wait for GotItButton
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for GotItButton
Looking for GotItButton
Tap on GotItButton
Looking for full text: '0.001'
Looking for full text: 'to  Evergreen Handsome Cottontail'
Waiting 10 seconds for funds
Waiting 20 seconds for funds
Transaction is received

test_send_stt_from_wallet_via_enter_contact_code:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'kiss catch paper awesome ecology surface trumpet quit index open stage brave' to PassphraseInput
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Impractical Afraid Watermoccasin'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox
Type '0x04cd70746f3df6cae7b45c32c211bd7e9e95ed5a1ec470db8f3b1f244eed1821d4a2053d7671802c5f7ce5b81f5fc2016a8109e1bc83f151ceff21f08c0cdcc6e4' to PublicKeyEditBox
Tap 'Confirm' on native keyboard
Wait for HomeButton
Looking for BackButton
Tap on BackButton
Wait for HomeButton
Wait for TransactionsButton
Tap on WalletButton
Looking for WalletButton
Wait for TransactionsButton
Wait for ManageAssetsButton
Tap on OptionsButton
Looking for OptionsButton
Wait for ManageAssetsButton
Looking for ManageAssetsButton
Tap on ManageAssetsButton
Looking for STTCheckBox
Tap on STTCheckBox
Looking for DoneButton
Tap on DoneButton
Looking for SendButton
Tap on SendButton
Wait for STTButton
Tap on SelectAssetButton
Looking for SelectAssetButton
Wait for STTButton
Looking for STTButton
Tap on STTButton
Looking for AmountEditBox
Tap on AmountEditBox
Looking for AmountEditBox
Type '0.0212171956' to AmountEditBox
Tap 'Confirm' on native keyboard
Wait for EnterContactCodeButton
Tap on ChooseRecipientButton
Looking for ChooseRecipientButton
Wait for EnterContactCodeButton
Looking for EnterContactCodeButton
Tap on EnterContactCodeButton
Looking for EnterRecipientAddressInput
Type '5261ceba31e3a7204b498b2dd20220a6057738d1' to EnterRecipientAddressInput
Looking for DoneButton
Tap on DoneButton
Looking for SignTransactionButton
Tap on SignTransactionButton
Looking for EnterPasswordInput
Type 'new_unique_password' to EnterPasswordInput
Looking for SignTransactionButton
Tap on SignTransactionButton
Looking for GotItButton
Tap on GotItButton

test_send_eth_from_wallet_sign_now:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'kiss catch paper awesome ecology surface trumpet quit index open stage brave' to PassphraseInput
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Impractical Afraid Watermoccasin'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Wait for TransactionsButton
Tap on WalletButton
Looking for WalletButton
Wait for TransactionsButton
Looking for SendButton
Tap on SendButton
Looking for AmountEditBox
Tap on AmountEditBox
Looking for AmountEditBox
Type '0.0212171842' to AmountEditBox
Tap 'Confirm' on native keyboard
Wait for EnterContactCodeButton
Tap on ChooseRecipientButton
Looking for ChooseRecipientButton
Wait for EnterContactCodeButton
Looking for RecentRecipientsButton
Tap on RecentRecipientsButton
Looking for an element by text: 'Jarrad'
Tap on RecentRecipientsButton
Looking for RecentRecipientsButton
Tap on RecentRecipientsButton
Looking for RecentRecipientsButton
Tap on RecentRecipientsButton
Looking for RecentRecipientsButton
Tap on RecentRecipientsButton
Looking for RecentRecipientsButton
Tap on RecentRecipientsButton
Looking for RecentRecipientsButton
Tap on RecentRecipientsButton
Looking for RecentRecipientsButton

E selenium.common.exceptions.NoSuchElementException: Message: 'BaseButton' is not found on screen, using: 'xpath://*[@text="Jarrad"]'


test_send_eth_to_request_from_wallet:x:

Test Steps & Error message:
    You can learn more at https://saucelabs.com/jobs/c805087cf1f9464c9caff85e04d1f3d5
    For help, please check https://wiki.saucelabs.com/display/DOCS/Common+Error+Messages```

</details>

  - [Android Device Session](https://saucelabs.com/jobs/9590709899f94f38af5e981967903ae2?auth=66e38b6f5c7736e82531a7a6094e2897) 
  - [Android Device Session](https://saucelabs.com/jobs/107ce05091d942348138301664bb414d?auth=922a196bf89277fc938f307acbe5f395) 
---
### test_transaction_send_command_one_to_one_chat:x:


 <details>
<summary>Test Steps & Error message:</summary>

 ```Looking for OkButton
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for ShareMyContactKeyButton
Tap on ShareMyContactKeyButton
Looking for CrossIcon
Tap on CrossIcon
Looking for HomeButton
Tap on HomeButton
Waiting 10 seconds for donation
Waiting 20 seconds for donation
Waiting 30 seconds for donation
Waiting 40 seconds for donation
Waiting 50 seconds for donation
Waiting 60 seconds for donation
Waiting 70 seconds for donation
Waiting 80 seconds for donation
Waiting 90 seconds for donation
Waiting 100 seconds for donation
Waiting 110 seconds for donation
Waiting 120 seconds for donation
Waiting 130 seconds for donation
Waiting 140 seconds for donation
Waiting 150 seconds for donation
Waiting 160 seconds for donation
Waiting 170 seconds for donation
Waiting 180 seconds for donation
Waiting 190 seconds for donation
Waiting 200 seconds for donation
Waiting 210 seconds for donation
Waiting 220 seconds for donation
Waiting 230 seconds for donation
Waiting 240 seconds for donation
Waiting 250 seconds for donation
Waiting 260 seconds for donation
Waiting 270 seconds for donation
Waiting 280 seconds for donation
Waiting 290 seconds for donation
Waiting 300 seconds for donation

E Failed: Donation was not received during 300 seconds!


test_send_eth_to_request_in_group_chat:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for OkButton
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'pet letter very ozone shop humor shuffle bounce convince soda hint brave' to PassphraseInput
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Evergreen Handsome Cottontail'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'resemble soap taxi meat reason inflict dilemma calm warrior key gloom again' to PassphraseInput
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Brief Organic Xenops'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox
Type '0x0406b17e5cdfadb2a05e84508b1a2916def6395e6295f57e92b85f915d40bca3f4a7e4c6d6b25afa840dd042fac83d3f856181d553f34f1c2b12878e774adde099' to PublicKeyEditBox
Tap 'Confirm' on native keyboard
Wait for HomeButton
Looking for BackButton
Tap on BackButton
Wait for HomeButton
Looking for PlusButton
Tap on PlusButton
Looking for NewGroupChatButton
Tap on NewGroupChatButton
Looking for an element by text: 'Brief Organic Xenops'
Looking for NextButton
Tap on NextButton
Looking for NameEditBox
Type 'gtr_212172039' to NameEditBox
Looking for SaveButton
Tap on SaveButton
Looking for an element by text: 'gtr_212172039'
Looking for RequestCommand
Tap on RequestCommand
Looking for FirstRecipient
Tap on FirstRecipient
Tap '0' on native keyboard
Tap '.' on native keyboard
Tap '0' on native keyboard
Tap '2' on native keyboard
Tap '1' on native keyboard
Tap '2' on native keyboard
Tap '1' on native keyboard
Tap '7' on native keyboard
Tap '2' on native keyboard
Tap '1' on native keyboard
Tap '4' on native keyboard
Looking for SendMessageButton
Tap on SendMessageButton
Looking for an element by text part: 'Requesting  0.021217214 ETH'
Looking for an element by text part: 'Send transaction'
Wait for SignTransactionButton
Tap on SendMessageButton
Looking for SendMessageButton
Wait for SignTransactionButton
Wait for EnterPasswordInput
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for EnterPasswordInput
Looking for EnterPasswordInput
Type 'qwerty' to EnterPasswordInput
Wait for GotItButton
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for GotItButton
Looking for GotItButton
Tap on GotItButton
Waiting 10 seconds for funds
Transaction is received

test_transaction_send_command_wrong_password:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'pet letter very ozone shop humor shuffle bounce convince soda hint brave' to PassphraseInput
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Evergreen Handsome Cottontail'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox
Type '0x0406b17e5cdfadb2a05e84508b1a2916def6395e6295f57e92b85f915d40bca3f4a7e4c6d6b25afa840dd042fac83d3f856181d553f34f1c2b12878e774adde099' to PublicKeyEditBox
Tap 'Confirm' on native keyboard
Looking for ChatElement
Tap on ChatElement
Wait for TransactionPopupText
Tap on SendCommand
Looking for SendCommand
Wait for TransactionPopupText
Tap '0' on native keyboard
Tap '.' on native keyboard
Tap '0' on native keyboard
Tap '0' on native keyboard
Tap '1' on native keyboard
Wait for SignTransactionButton
Tap on SendMessageButton
Looking for SendMessageButton
Wait for SignTransactionButton
Wait for EnterPasswordInput
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for EnterPasswordInput
Looking for EnterPasswordInput
Type 'wrong_password' to EnterPasswordInput
Looking for SignTransactionButton
Tap on SignTransactionButton
Looking for full text: 'Wrong password'

@pedropombeiro
Copy link
Contributor Author

@annadanchenko do you think we can get this tested? I know it is low-priority, but it's been in test for 20 days now and it's the third time I've had to solve merge conflicts to keep it testable.

@yenda
Copy link
Contributor

yenda commented Feb 14, 2018

@pombeirp and again a merge conflict sorry :D

@statustestbot
Copy link

Automated test results:

test_browse_link_entering_url_in_dapp_view:x:

Test Steps & Error message:
Looking for ContinueButtonAPK

E selenium.common.exceptions.TimeoutException: Message: 'RequestPasswordIcon' is not found on screen, using: 'accessibility id:request-password', during '10' seconds


test_contact_profile_view:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox
Type '0x0448243ea6adfd2f825f083a02a1fea11e323a3ba32c9dc9992d3d465e93296438792f11380e14c6700f598e89bafaddd2579823f4273358f9f66828fcac7dd465' to PublicKeyEditBox
Tap 'Confirm' on native keyboard
Looking for UserProfileIconTopRight
Tap on UserProfileIconTopRight
Looking for UserProfileDetails
Tap on UserProfileDetails
Looking for full text: 'Splendid Useless Racerunner'

test_qr_code_and_its_value:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for ShareMyContactKeyButton
Tap on ShareMyContactKeyButton
Looking for PublicKeyText
PublicKeyText is 0x0432b9df26c11f4c1b446eecf46bab7a46a576707ed9b68387a0a8eccc1f36556f280cb4e12612485e11dffb54dd466413b5b8d5a575e39ed56d032ba7c0b28ddd

test_network_switch:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for NetworkSettingsButton
Looking for NetworkSettingsButton
Tap on NetworkSettingsButton
Looking for NetworkButton
Tap on NetworkButton
Looking for ConnectButton
Tap on ConnectButton
Looking for FirstAccountButton
Tap on FirstAccountButton
Looking for PasswordInput
Type 'qwerty1234' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for ProfileButton
Tap on ProfileButton
Looking for full text: 'RINKEBY WITH UPSTREAM RPC'

test_send_eth_from_wallet_sign_now:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'kiss catch paper awesome ecology surface trumpet quit index open stage brave' to PassphraseInput
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Impractical Afraid Watermoccasin'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Wait for TransactionsButton
Tap on WalletButton
Looking for WalletButton
Wait for TransactionsButton
Looking for SendButton
Tap on SendButton
Looking for AmountEditBox
Tap on AmountEditBox
Looking for AmountEditBox
Type '0.021503522' to AmountEditBox
Tap 'Confirm' on native keyboard
Wait for EnterContactCodeButton
Tap on ChooseRecipientButton
Looking for ChooseRecipientButton
Wait for EnterContactCodeButton
Looking for RecentRecipientsButton
Tap on RecentRecipientsButton
Looking for an element by text: 'Jarrad'
Looking for SignTransactionButton
Tap on SignTransactionButton
Looking for EnterPasswordInput
Type 'new_unique_password' to EnterPasswordInput
Looking for SignTransactionButton
Tap on SignTransactionButton
Looking for GotItButton
Tap on GotItButton

test_transaction_send_command_wrong_password:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'pet letter very ozone shop humor shuffle bounce convince soda hint brave' to PassphraseInput
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Evergreen Handsome Cottontail'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox
Type '0x0406b17e5cdfadb2a05e84508b1a2916def6395e6295f57e92b85f915d40bca3f4a7e4c6d6b25afa840dd042fac83d3f856181d553f34f1c2b12878e774adde099' to PublicKeyEditBox
Tap 'Confirm' on native keyboard
Looking for ChatElement
Tap on ChatElement
Wait for TransactionPopupText
Tap on SendCommand
Looking for SendCommand
Wait for TransactionPopupText
Tap '0' on native keyboard
Tap '.' on native keyboard
Tap '0' on native keyboard
Tap '0' on native keyboard
Tap '1' on native keyboard
Wait for SignTransactionButton
Tap on SendMessageButton
Looking for SendMessageButton
Wait for SignTransactionButton
Wait for EnterPasswordInput
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for EnterPasswordInput
Looking for EnterPasswordInput
Type 'wrong_password' to EnterPasswordInput
Looking for SignTransactionButton
Tap on SignTransactionButton
Looking for full text: 'Wrong password'

test_send_eth_from_wallet_sign_later:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'twenty engine fitness clay faculty supreme garbage armor broccoli agree end sad' to PassphraseInput
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Muffled Purple Milksnake'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox
Type '0x04630e0acd973ad448c7a54e2345d6bacaaa4de5a0ec938f802a0f503bf144e80521833be71d4ddfefacfa571a473ebe4542dde102aca4e90d2abe0bb67ee2f99b' to PublicKeyEditBox
Tap 'Confirm' on native keyboard
Wait for HomeButton
Looking for BackButton
Tap on BackButton
Wait for HomeButton
Wait for TransactionsButton
Tap on WalletButton
Looking for WalletButton
Wait for TransactionsButton
Looking for SendButton
Tap on SendButton
Looking for AmountEditBox
Tap on AmountEditBox
Looking for AmountEditBox
Type '0.021503534' to AmountEditBox
Tap 'Confirm' on native keyboard
Wait for EnterContactCodeButton
Tap on ChooseRecipientButton
Looking for ChooseRecipientButton
Wait for EnterContactCodeButton
Looking for EnterContactCodeButton
Tap on EnterContactCodeButton
Looking for EnterRecipientAddressInput
Type 'a409e5faf758a5739f334bae186d8bc11c98ea4d' to EnterRecipientAddressInput
Looking for DoneButton
Tap on DoneButton
Looking for SignLaterButton
Tap on SignLaterButton
Looking for YesButton
Tap on YesButton
Looking for OkButton
Tap on OkButton
Looking for TransactionsButton
Tap on TransactionsButton
Looking for UnsignedTab
Tap on UnsignedTab
Looking for SignButton
Tap on SignButton
Looking for SignTransactionButton
Tap on SignTransactionButton
Looking for EnterPasswordInput
Type 'new_unique_password' to EnterPasswordInput
Looking for SignTransactionButton
Tap on SignTransactionButton
Looking for GotItButton
Tap on GotItButton
Transaction is received
Looking for HistoryTab
Tap on HistoryTab
Looking for TransactionElement
Looking for TransactionElement
Tap on TransactionElement
Looking for DetailsTextElement
DetailsTextElement is 0x93c3a6eecfe5c2b2a201d37b4b97bd0d7795b589875ae2d370c6c14b21497f65

test_send_transaction_from_daap:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'resemble soap taxi meat reason inflict dilemma calm warrior key gloom again' to PassphraseInput
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Brief Organic Xenops'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for OpenDAapButton
Tap on OpenDAapButton
Looking for AuctionHouseButton
Tap on AuctionHouseButton
Looking for OpenButton
Tap on OpenButton
Wait for ProgressBarIcon
Wait for ProgressBarIcon
Wait for ProgressBarIcon
Wait for ProgressBarIcon
Wait for ProgressBarIcon
Wait for ProgressBarIcon
Looking for ToggleNavigationButton
Tap on ToggleNavigationButton
Looking for NewAuctionButton
Tap on NewAuctionButton
Looking for NameToReserveInput
Tap on NameToReserveInput
Tap '2' on native keyboard
Tap '0' on native keyboard
Tap '1' on native keyboard
Tap '8' on native keyboard
Tap '-' on native keyboard
Tap '0' on native keyboard
Tap '2' on native keyboard
Tap '-' on native keyboard
Tap '1' on native keyboard
Tap '5' on native keyboard
Tap '-' on native keyboard
Tap '0' on native keyboard
Tap '0' on native keyboard
Tap '-' on native keyboard
Tap '3' on native keyboard
Tap '5' on native keyboard
Looking for RegisterNameButton
Tap on RegisterNameButton
Wait for EnterPasswordInput
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for EnterPasswordInput
Looking for EnterPasswordInput
Type 'qwerty' to EnterPasswordInput
Wait for GotItButton
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for GotItButton
Looking for GotItButton
Tap on GotItButton
Transaction is received

test_send_stt_from_wallet_via_enter_contact_code:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'kiss catch paper awesome ecology surface trumpet quit index open stage brave' to PassphraseInput
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Impractical Afraid Watermoccasin'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox
Type '0x04cd70746f3df6cae7b45c32c211bd7e9e95ed5a1ec470db8f3b1f244eed1821d4a2053d7671802c5f7ce5b81f5fc2016a8109e1bc83f151ceff21f08c0cdcc6e4' to PublicKeyEditBox
Tap 'Confirm' on native keyboard
Wait for HomeButton
Looking for BackButton
Tap on BackButton
Wait for HomeButton
Wait for TransactionsButton
Tap on WalletButton
Looking for WalletButton
Wait for TransactionsButton
Wait for ManageAssetsButton
Tap on OptionsButton
Looking for OptionsButton
Wait for ManageAssetsButton
Looking for ManageAssetsButton
Tap on ManageAssetsButton
Looking for STTCheckBox
Tap on STTCheckBox
Looking for DoneButton
Tap on DoneButton
Looking for SendButton
Tap on SendButton
Wait for STTButton
Tap on SelectAssetButton
Looking for SelectAssetButton
Wait for STTButton
Looking for STTButton
Tap on STTButton
Looking for AmountEditBox
Tap on AmountEditBox
Looking for AmountEditBox
Type '0.021503625' to AmountEditBox
Tap 'Confirm' on native keyboard
Wait for EnterContactCodeButton
Tap on ChooseRecipientButton
Looking for ChooseRecipientButton
Wait for EnterContactCodeButton
Looking for EnterContactCodeButton
Tap on EnterContactCodeButton
Looking for EnterRecipientAddressInput
Type '5261ceba31e3a7204b498b2dd20220a6057738d1' to EnterRecipientAddressInput
Looking for DoneButton
Tap on DoneButton
Looking for SignTransactionButton
Tap on SignTransactionButton
Looking for EnterPasswordInput
Type 'new_unique_password' to EnterPasswordInput
Looking for SignTransactionButton
Tap on SignTransactionButton
Looking for GotItButton
Tap on GotItButton

test_transaction_send_command_group_chat:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for ShareMyContactKeyButton
Tap on ShareMyContactKeyButton
Looking for CrossIcon
Tap on CrossIcon
Looking for HomeButton
Tap on HomeButton
Waiting 10 seconds for donation
Waiting 20 seconds for donation
Waiting 30 seconds for donation
Waiting 40 seconds for donation
Waiting 50 seconds for donation
Waiting 60 seconds for donation
Got 0.1 for 12abc5fb3204bde97c8cf886af43cc934fbe3197
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox
Type '0x040e016b940e067997be8d91298d893ff2bc3580504b4ccb155ea03d183b85f18e771a763d99f60fec70edf637eb6bad9f96d3e8a544168d3ad144f83b4cf7625c' to PublicKeyEditBox
Tap 'Confirm' on native keyboard
Wait for HomeButton
Looking for BackButton
Tap on BackButton
Wait for HomeButton
Looking for PlusButton
Tap on PlusButton
Looking for NewGroupChatButton
Tap on NewGroupChatButton
Looking for an element by text: 'Evergreen Handsome Cottontail'
Looking for NextButton
Tap on NextButton
Looking for NameEditBox
Type 'trg_21503548' to NameEditBox
Looking for SaveButton
Tap on SaveButton
Wait for TransactionPopupText
Tap on SendCommand
Looking for SendCommand
Wait for TransactionPopupText
Looking for FirstRecipient
Tap on FirstRecipient
Tap '0' on native keyboard
Tap '.' on native keyboard
Tap '0' on native keyboard
Tap '0' on native keyboard
Tap '1' on native keyboard
Wait for SignTransactionButton
Tap on SendMessageButton
Looking for SendMessageButton
Wait for SignTransactionButton
Wait for EnterPasswordInput
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for EnterPasswordInput
Looking for EnterPasswordInput
Type 'qwerty1234' to EnterPasswordInput
Wait for GotItButton
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for GotItButton
Looking for GotItButton
Tap on GotItButton
Looking for full text: '0.001'
Looking for full text: 'to  Evergreen Handsome Cottontail'
Waiting 10 seconds for funds
Transaction is received

test_transaction_send_command_one_to_one_chat:x:

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Tap 'Confirm' on native keyboard
Looking for full text: 'Here is your signing phrase. You will use it to verify your transactions. Write it down and keep it safe!'
Looking for BackButton
Tap on BackButton
Looking for ProfileButton
Tap on ProfileButton
Looking for ShareMyContactKeyButton
Tap on ShareMyContactKeyButton
Looking for CrossIcon
Tap on CrossIcon
Looking for HomeButton
Tap on HomeButton
Waiting 10 seconds for donation
Waiting 20 seconds for donation
Waiting 30 seconds for donation
Waiting 40 seconds for donation
Waiting 50 seconds for donation
Waiting 60 seconds for donation
Waiting 70 seconds for donation
Waiting 80 seconds for donation
Waiting 90 seconds for donation
Waiting 100 seconds for donation
Waiting 110 seconds for donation
Waiting 120 seconds for donation
Waiting 130 seconds for donation
Waiting 140 seconds for donation
Waiting 150 seconds for donation
Waiting 160 seconds for donation
Waiting 170 seconds for donation
Waiting 180 seconds for donation
Waiting 190 seconds for donation
Waiting 200 seconds for donation
Waiting 210 seconds for donation
Waiting 220 seconds for donation
Waiting 230 seconds for donation
Waiting 240 seconds for donation
Waiting 250 seconds for donation
Waiting 260 seconds for donation
Waiting 270 seconds for donation
Waiting 280 seconds for donation
Waiting 290 seconds for donation
Waiting 300 seconds for donation

E Failed: Donation was not received during 300 seconds!


test_send_eth_to_request_in_one_to_one_chat:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for OkButton
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'resemble soap taxi meat reason inflict dilemma calm warrior key gloom again' to PassphraseInput
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Brief Organic Xenops'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'pet letter very ozone shop humor shuffle bounce convince soda hint brave' to PassphraseInput
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Evergreen Handsome Cottontail'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'qwerty' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox
Type '0x040e016b940e067997be8d91298d893ff2bc3580504b4ccb155ea03d183b85f18e771a763d99f60fec70edf637eb6bad9f96d3e8a544168d3ad144f83b4cf7625c' to PublicKeyEditBox
Tap 'Confirm' on native keyboard
Wait for HomeButton
Looking for BackButton
Tap on BackButton
Wait for HomeButton
Looking for an element by text part: 'Evergreen Handsome Cotton'
Looking for an element by text part: 'Brief Organic Xenops'
Looking for RequestCommand
Tap on RequestCommand
Tap '0' on native keyboard
Tap '.' on native keyboard
Tap '0' on native keyboard
Tap '2' on native keyboard
Tap '1' on native keyboard
Tap '5' on native keyboard
Tap '0' on native keyboard
Tap '3' on native keyboard
Tap '6' on native keyboard
Tap '5' on native keyboard
Tap '8' on native keyboard
Looking for SendMessageButton
Tap on SendMessageButton
Looking for an element by text part: 'Requesting  0.021503658 ETH'
Looking for an element by text part: 'Send transaction'
Wait for SignTransactionButton
Tap on SendMessageButton
Looking for SendMessageButton
Wait for SignTransactionButton
Wait for EnterPasswordInput
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for EnterPasswordInput
Looking for EnterPasswordInput
Type 'qwerty' to EnterPasswordInput
Wait for GotItButton
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for GotItButton
Looking for GotItButton
Tap on GotItButton
Waiting 10 seconds for funds
Waiting 20 seconds for funds
Transaction is received
Looking for BackButton
Tap on BackButton
Wait for TransactionsButton
Tap on WalletButton
Looking for WalletButton
Wait for TransactionsButton
Looking for TransactionsButton
Tap on TransactionsButton
Looking for TransactionElement

test_send_eth_to_request_from_wallet:white_check_mark::

Test Steps & Error message:
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for OkButton
Tap on OkButton
Looking for ContinueButtonAPK
Tap on ContinueButtonAPK
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'twenty engine fitness clay faculty supreme garbage armor broccoli agree end sad' to PassphraseInput
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Muffled Purple Milksnake'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for RecoverButton
Tap on RecoverButton
Looking for PassphraseInput
Type 'kiss catch paper awesome ecology surface trumpet quit index open stage brave' to PassphraseInput
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for ConfirmRecoverAccess
Tap on ConfirmRecoverAccess
Looking for an element by text: 'Impractical Afraid Watermoccasin'
Tap 'Confirm' on native keyboard
Looking for PasswordInput
Type 'new_unique_password' to PasswordInput
Looking for SignInButton
Tap on SignInButton
Looking for full text: 'Wallet'
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox
Type '0x04630e0acd973ad448c7a54e2345d6bacaaa4de5a0ec938f802a0f503bf144e80521833be71d4ddfefacfa571a473ebe4542dde102aca4e90d2abe0bb67ee2f99b' to PublicKeyEditBox
Tap 'Confirm' on native keyboard
Wait for HomeButton
Looking for BackButton
Tap on BackButton
Wait for HomeButton
Wait for TransactionsButton
Tap on WalletButton
Looking for WalletButton
Wait for TransactionsButton
Wait for SendTransactionRequestButton
Tap on RequestButton
Looking for RequestButton
Wait for SendTransactionRequestButton
Looking for SendTransactionRequestButton
Tap on SendTransactionRequestButton
Looking for AmountEditBox
Looking for AmountEditBox
Type '0.021503956' to AmountEditBox
Tap 'Confirm' on native keyboard
Wait for EnterContactCodeButton
Tap on ChooseRecipientButton
Looking for ChooseRecipientButton
Wait for EnterContactCodeButton
Wait for EnterContactCodeButton
Tap on ChooseRecipientButton
Looking for ChooseRecipientButton
Wait for EnterContactCodeButton
Tap on ChooseRecipientButton
Looking for ChooseRecipientButton
Wait for EnterContactCodeButton
Tap on ChooseRecipientButton
Looking for ChooseRecipientButton
Wait for EnterContactCodeButton
Tap on ChooseRecipientButton
Looking for ChooseRecipientButton
Wait for EnterContactCodeButton
Tap on ChooseRecipientButton
Looking for ChooseRecipientButton
Wait for EnterContactCodeButton
Looking for an element by text: 'Impractical Afraid Watermoccasin'
Tap on RecentRecipientsButton
Looking for RecentRecipientsButton
Looking for SendRequestButton
Tap on SendRequestButton
Looking for an element by text part: 'Muffled Purple Milksnake'
Looking for an element by text part: 'Requesting  0.021503956 ETH'
Looking for an element by text part: 'Send transaction'
Wait for SignTransactionButton
Tap on SendMessageButton
Looking for SendMessageButton
Wait for SignTransactionButton
Wait for EnterPasswordInput
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for EnterPasswordInput
Looking for EnterPasswordInput
Type 'new_unique_password' to EnterPasswordInput
Wait for GotItButton
Tap on SignTransactionButton
Looking for SignTransactionButton
Wait for GotItButton
Looking for GotItButton
Tap on GotItButton
Waiting 10 seconds for funds
Transaction is received

test_send_eth_to_request_in_group_chat:x:

Test Steps & Error message:


E selenium.common.exceptions.WebDriverException: Message: Internal Server Error


@annadanchenko annadanchenko self-assigned this Feb 19, 2018
@annadanchenko
Copy link

Can get notification if send a message in 1:1 chat to the added contact (both iOs and Android)
Can see in the log all expected lines if build 2902 PR with LOG_LEVEL_STATUS_GO = LOG_LEVEL_STATUS_GO (android)

02-20 20:46:25.471  8612  8748 D ReactNativeJS: DEBUG [status-im.chat.events.send-message:16] - send-notification message:  message  payload-json:  {"title":"Status","body":"You have a new message"}  tokens-json:  ["ei1hxTy0-c8:APA91bGFxVAQ0ck6SHhlkq5iUg0RSwWHJyjrVbrNPQBhZRQdP3f7KZ7rjILc8X22u7MxEPAJzWtYJqg-6NnFq_8Xy3kFCqK3UFGssgbmTIMBkli9-7NPb6obm64BAUvNFyNph3V3B7AB"]
02-20 20:46:25.581  8612  8748 D ReactNativeJS: DEBUG [status-im.utils.handlers:29] - Handling re-frame event:  :incoming-message
02-20 20:46:25.601  8612  8749 D StatusModule: notifyUsers: message=message payloadJSON={"title":"Status","body":"You have a new message"} tokensJSON=["ei1hxTy0-c8:APA91bGFxVAQ0ck6SHhlkq5iUg0RSwWHJyjrVbrNPQBhZRQdP3f7KZ7rjILc8X22u7MxEPAJzWtYJqg-6NnFq_8Xy3kFCqK3UFGssgbmTIMBkli9-7NPb6obm64BAUvNFyNph3V3B7AB"]
02-20 20:46:25.611  8612  9036 D JavaScriptCore: WARN [02-20|17:46:25] NotifyUsers message=message, payload.Title=Status payload.Body=You have a new message tokens=[e
02-20 20:46:25.711  8612  8748 D ReactNativeJS: DEBUG [status-im.utils.handlers:29] - Handling re-frame event:  :set-chat-ui-props
02-20 20:46:25.711  8612  8748 D ReactNativeJS: DEBUG [status-im.protocol.web3.transport:15] - :post-message {:sig "0x0494476ea1a865425dcfbbde0ce1d2d4be436a1c894a6d8cd6a26c53bff1e5382706e615c2a988ac85b73ac9c494ec2762fcf1fedc14de194473502198176c4407", :topic "0xaabb11ee", :payload "0x7b3a6d6573736167652d69642022313531393134383738353435332d64376136663731622d313937322d353465382d393463302d343535306237613737383336222c203a72657175697265732d61636b3f20747275652c203a74797065203a6d6573736167652c203a74696d657374616d7020313531393134383738353435352c203a636f6e74656e74202248656c6c6f222c203a636f6e74656e742d747970652022746578742f706c61696e222c203a636c6f636b2d76616c756520342c203a73686f773f20747275657d0a", :pubKey "0x0463f873b492c66b7a49291715c8532a3a35619684eaaf23c7e46a4f2e884713c52c9b9ad35984561df688fecd5ed7c40622f29fc25f53018e798c1dcda8ea85d7", :ttl 120}
02-20 20:46:25.721  8612  8748 D ReactNativeJS: DEBUG [status-im.protocol.web3.delivery:161] - :attempt-was-made 1519148785453-d7a6f71b-1972-54e8-94c0-4550b7a77836
02-20 20:46:25.751  8612  8748 D ReactNativeJS: DEBUG [status-im.utils.handlers:29] - Handling re-frame event:  :load-more-messages
02-20 20:46:25.761  8612  8748 D ReactNativeJS: DEBUG [status-im.utils.handlers:29] - Handling re-frame event:  :update-text-selection
02-20 20:46:25.811  8612  8748 D ReactNativeJS: DEBUG [status-im.utils.handlers:29] - Handling re-frame event:  :set-chat-ui-props
02-20 20:46:25.811  8612  8748 D ReactNativeJS: DEBUG [status-im.chat.events.send-message:17] - send-notification cb result:  {"status":true}

@flexsurfer
Copy link
Member

flexsurfer commented Feb 20, 2018

@pombeirp please squash commits

@pedropombeiro
Copy link
Contributor Author

@flexsurfer Done

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
@flexsurfer flexsurfer merged commit a4bc752 into status-im:develop Feb 21, 2018
@pedropombeiro pedropombeiro deleted the feature/NotifyUsers-#2287 branch February 23, 2018 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Push Notifications: Use status-go NotifyUsers instead of Notify
7 participants