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 #3313] Migrated public chat creation flow #3381

Merged
merged 1 commit into from
Feb 22, 2018
Merged

Conversation

jeluard
Copy link
Contributor

@jeluard jeluard commented Feb 20, 2018

fixes #3313
fixes #3341

Note that input errors have not been migrated to new paradigm.

Summary:

Migrated public chat creation flow to latest mockups. Also added popup prompt to destructive actions (applies to group chat too)

Steps to test:

  • Open Status
  • Navigate home tab
  • Create a public chat: validates ii follows the mockups

status: ready

@jeluard jeluard self-assigned this Feb 20, 2018
(update :db navigation/replace-view :home))))

(handlers/register-handler-fx
:delete-chat?
Copy link
Member

Choose a reason for hiding this comment

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

maybe :show-delete-chat-confirmation

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't use ? yet but could be a convention for handler name? -confirmation looks pretty long :)

:delete-chat?
[re-frame/trim-v]
(fn [_ [chat-id group?]]
{:show-confirmation {:title (str (i18n/label :t/delete) "?")
Copy link
Member

Choose a reason for hiding this comment

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

is "?" using in all languages?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh my bad, good point. Will make this label too.

(re-frame/dispatch [:remove-chat current-chat-id]))))

(handlers/register-handler-fx
:leave-group-chat?
Copy link
Member

Choose a reason for hiding this comment

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

maybe :show-leave-group-chat-confirmation ?

:clear-history
(fn [{{:keys [current-chat-id] :as db} :db} _]
{:db (assoc-in db [:chats current-chat-id :messages] {})
:delete-messages current-chat-id}))

(handlers/register-handler-fx
:clear-history?
Copy link
Member

Choose a reason for hiding this comment

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

show-clear-history-confirmation ?

@statustestbot
Copy link

statustestbot commented Feb 20, 2018

Automated test results:

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
Looking for SendMessageButton
Tap on SendMessageButton
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Looking for SendMessageButton
Tap on SendMessageButton
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 ChatOptions
Tap on ChatOptions
Looking for ViewProfileButton
Tap on ViewProfileButton
Looking for full text: 'Splendid Useless Racerunner'
Looking for full text: 'Start conversation'
Looking for full text: 'Send transaction'
Looking for full text: 'Address'
Looking for full text: 'Public key'

test_browse_link_entering_url_in_dapp_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
Looking for SendMessageButton
Tap on SendMessageButton
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Looking for SendMessageButton
Tap on SendMessageButton
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 OpenDAapButton
Tap on OpenDAapButton
Looking for EnterUrlEditbox
Type 'status.im' to EnterUrlEditbox
Tap 'Confirm' on native keyboard
Wait for ProgressBarIcon
Wait for ProgressBarIcon
Wait for ProgressBarIcon
Wait for ProgressBarIcon
Wait for ProgressBarIcon
Looking for BackToHomeButton
Tap on BackToHomeButton
Looking for FirstChatElementTitle
FirstChatElementTitle is Status | The Mobile Ethereum Client

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
Looking for SendMessageButton
Tap on SendMessageButton
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Looking for SendMessageButton
Tap on SendMessageButton
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 ade703a02e276524c28df48f6035d59d0f6d4156
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

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


test_group_chat_messages:x:

Test Steps & Error message:


E selenium.common.exceptions.WebDriverException: Message: The test with session id 6080bea823e14ea68fa3f6726ce57f55 has already finished, and can't receive further commands. You can learn more at https://saucelabs.com/jobs/6080bea823e14ea68fa3f6726ce57f55 For help, please check https://wiki.saucelabs.com/display/DOCS/Common+Error+Messages


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
Looking for CommandsButton
Tap on CommandsButton
Looking for SendCommand
Tap on SendCommand
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_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.0220194258' 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_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
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 '2' on native keyboard
Tap '0' on native keyboard
Tap '-' on native keyboard
Tap '1' on native keyboard
Tap '9' on native keyboard
Tap '-' on native keyboard
Tap '4' on native keyboard
Tap '3' 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.0220194313' 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 0x31a5058de30c3031eef0d012f8aef7c3ea52640ed0997d6032ffcb94f6d7e56e

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

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


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.0220194353' 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_public_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 RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Looking for SendMessageButton
Tap on SendMessageButton
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Looking for SendMessageButton
Tap on SendMessageButton
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 UserNameText
UserNameText is Voluminous Nocturnal Alligatorgar
Looking for HomeButton
Tap on HomeButton
Looking for PlusButton
Tap on PlusButton
Looking for JoinPublicChatButton
Tap on JoinPublicChatButton
Looking for NameEditBox
Type 'xympwuq' to NameEditBox
Looking for ConfirmButton
Tap on ConfirmButton
Looking for RequestPasswordIcon
Tap on RequestPasswordIcon
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Looking for SendMessageButton
Tap on SendMessageButton
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Looking for SendMessageButton
Tap on SendMessageButton
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 UserNameText
UserNameText is Vengeful Yummy Groundbeetle
Looking for HomeButton
Tap on HomeButton
Looking for PlusButton
Tap on PlusButton
Looking for JoinPublicChatButton
Tap on JoinPublicChatButton
Looking for NameEditBox
Type 'xympwuq' to NameEditBox
Looking for ConfirmButton
Tap on ConfirmButton
Looking for ChatMessageInput
Type '/command' to ChatMessageInput
Looking for SendMessageButton
Tap on SendMessageButton
Looking for ChatMessageInput
Type 'ţēšț мεŝšȁǥě 犈好' to ChatMessageInput
Looking for SendMessageButton
Tap on SendMessageButton
Looking for ChatMessageInput
Type 'This is text message.' to ChatMessageInput
Looking for SendMessageButton
Tap on SendMessageButton
Looking for MessageByUsername
Looking for MessageByUsername
Looking for ChatMessageInput
Type '👨 🏻 ‍ 💼' to ChatMessageInput
Looking for SendMessageButton
Tap on SendMessageButton
Looking for ChatMessageInput
Type 'message with emoji 🤥' to ChatMessageInput
Looking for SendMessageButton
Tap on SendMessageButton
Tap 'm' on native keyboard
Tap 'e' on native keyboard
Tap 's' on native keyboard
Tap 's' on native keyboard
Tap 'a' on native keyboard
Tap 'g' on native keyboard
Tap 'e' on native keyboard
Tap '
' on native keyboard
Tap 'w' on native keyboard
Tap 'i' on native keyboard
Tap 't' on native keyboard
Tap 'h' on native keyboard
Tap ' ' on native keyboard
Tap 'n' on native keyboard
Tap 'e' on native keyboard
Tap 'w' on native keyboard
Tap ' ' on native keyboard
Tap 'l' on native keyboard
Tap 'i' on native keyboard
Tap 'n' on native keyboard
Tap 'e' on native keyboard
Looking for SendMessageButton
Tap on SendMessageButton
Looking for MessageByUsername
Looking for MessageByUsername

test_one_to_one_chat_messages_and_delete_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
Looking for SendMessageButton
Tap on SendMessageButton
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Looking for SendMessageButton
Tap on SendMessageButton
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
Looking for SendMessageButton
Tap on SendMessageButton
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Looking for SendMessageButton
Tap on SendMessageButton
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 UserNameText
UserNameText is Fickle Highlevel Silverfish
Looking for PlusButton
Tap on PlusButton
Looking for AddNewContactButton
Tap on AddNewContactButton
Looking for PublicKeyEditBox
Type '0x047d4a5a771cdf5cfb6b9d042cf0b226bf6c3df17c3fad33d35ca968813e0915179806566c7466499d4388adbfa4cfcd41c2cf3d2a27076d8e70ee61afa7753a7d' to PublicKeyEditBox
Tap 'Confirm' on native keyboard
Looking for ChatMessageInput
Type 'hello' to ChatMessageInput
Looking for SendMessageButton
Tap on SendMessageButton
Looking for HomeButton
Tap on HomeButton
Looking for an element by text: 'hello'
Looking for ChatMessageInput
Type '~abc~ !@#$%%^&(() *bold*' to ChatMessageInput
Looking for SendMessageButton
Tap on SendMessageButton
Looking for full text: 'abc !@#$%%^&(() bold'
Looking for ChatMessageInput
Type 'ţēšț мεŝšȁǥě' to ChatMessageInput
Looking for SendMessageButton
Tap on SendMessageButton
Looking for full text: 'ţēšț мεŝšȁǥě'
Looking for ChatMessageInput
Type '犈好' to ChatMessageInput
Looking for SendMessageButton
Tap on SendMessageButton
Looking for full text: '犈好'
Looking for ChatMessageInput
Type '👨 🏿' to ChatMessageInput
Looking for SendMessageButton
Tap on SendMessageButton
Looking for full text: '👨 🏿'
Looking for ChatMessageInput
Type 'message with emoji 👮 🏽' to ChatMessageInput
Looking for SendMessageButton
Tap on SendMessageButton
Looking for full text: 'message with emoji 👮 🏽'
Tap 'm' on native keyboard
Tap 'e' on native keyboard
Tap 's' on native keyboard
Tap 's' on native keyboard
Tap 'a' on native keyboard
Tap 'g' on native keyboard
Tap 'e' on native keyboard
Tap '
' on native keyboard
Tap 'w' on native keyboard
Tap 'i' on native keyboard
Tap 't' on native keyboard
Tap 'h' on native keyboard
Tap ' ' on native keyboard
Tap 'n' on native keyboard
Tap 'e' on native keyboard
Tap 'w' on native keyboard
Tap ' ' on native keyboard
Tap 'l' on native keyboard
Tap 'i' on native keyboard
Tap 'n' on native keyboard
Tap 'e' on native keyboard
Looking for SendMessageButton
Tap on SendMessageButton
Looking for full text: 'message
with new line'
Looking for ChatMessageInput
Type 'status.im' to ChatMessageInput
Looking for SendMessageButton
Tap on SendMessageButton
Looking for full text: 'status.im'
Looking for an element by text: 'status.im'
Looking for an element by text: 'status.im'
Looking for OpenInBrowserButton
Tap on OpenInBrowserButton
Looking for BackButton
Tap on BackButton
Looking for ChatOptions
Tap on ChatOptions
Looking for DeleteChatButton
Tap on DeleteChatButton
Wait for PlusButton

E Failed: Chat was not deleted


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
Looking for SendMessageButton
Tap on SendMessageButton
Looking for ChatRequestInput
Type 'qwerty1234' to ChatRequestInput
Looking for SendMessageButton
Tap on SendMessageButton
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 CommandsButton
Tap on CommandsButton
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 '2' on native keyboard
Tap '0' on native keyboard
Tap '1' on native keyboard
Tap '9' on native keyboard
Tap '4' on native keyboard
Tap '6' on native keyboard
Tap '4' on native keyboard
Tap '3' on native keyboard
Looking for SendMessageButton
Tap on SendMessageButton
Looking for an element by text part: 'Requesting  0.0220194643 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
Waiting 30 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.0220194535' 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.0220194535 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
Transaction is received

@asemiankevich
Copy link
Contributor

asemiankevich commented Feb 21, 2018

Branch: PR-3381
Android: https://i.diawi.com/XsniRz
iOS: https://i.diawi.com/jMnfm8

@asemiankevich
Copy link
Contributor

  1. input field on iOS does not show what I am typing into it.

image

  1. joining status public chat throws error

image

  1. joining other pre-defined public chats showing Unknown (that may be due existing bug in develop) and dApp chat is shown on Home tab after I join public chat

image

image

@asemiankevich
Copy link
Contributor

Please also add accessibility lables here cc: @lukaszfryc

@lukaszfryc
Copy link
Contributor

To follow up on @asemiankevich comment -- we want to kick off iOS end-end automation and to do it efficiently we need accessibility labels for elements user may interact with (buttons, list items, menu options, etc). Whenever UI changes we should consider updating the labels.

Here is example of accessibility labels we want to introduce in another part of the app #3394

@jeluard jeluard force-pushed the feature/#3313 branch 2 times, most recently from 875136d to 2fbc224 Compare February 21, 2018 14:53
@asemiankevich
Copy link
Contributor

all above issues are fixed, 1 more minor issue - wrong alignment for input in iOS

image

@jeluard
Copy link
Contributor Author

jeluard commented Feb 22, 2018

@asemiankevich Great thanks! Can we left the alignment issue out? I will fix it part of #3372

@asemiankevich
Copy link
Contributor

@jeluard yes, for sure!

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
@jeluard jeluard merged commit 33f1d8d into develop Feb 22, 2018
@rasom rasom deleted the feature/#3313 branch April 19, 2018 10:50
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
6 participants