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

No browsing history kept on iOS [#5078] #5090

Merged
merged 1 commit into from
Jul 12, 2018

Conversation

flexsurfer
Copy link
Member

fixes #5078

@flexsurfer flexsurfer self-assigned this Jul 6, 2018
@flexsurfer flexsurfer requested review from jeluard and goranjovic July 6, 2018 19:49
@status-comment-bot
Copy link

status-comment-bot commented Jul 6, 2018

history (:history browser)
history-url (try (nth history history-index) (catch js/Error _))
new-history (if (not= history-url url)
(conj (subvec history 0 (inc history-index))
Copy link
Contributor

Choose a reason for hiding this comment

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

Worth a separate fn with proper name?

Copy link
Member Author

Choose a reason for hiding this comment

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

too many params and too small function don't worth it from my pov

Copy link
Contributor

Choose a reason for hiding this comment

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

Small fns are never an issue :) Mostly useful to understand what this thing is doing. Or maybe a small comment?

(let [browser {:browser-id (random/id)
:name (i18n/label :t/browser)
:history-index 0
:history [(http/normalize-and-decode-url url)]}]
Copy link
Contributor

Choose a reason for hiding this comment

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

Some parts in common with code above. Introduce a fn?

Copy link
Member Author

Choose a reason for hiding this comment

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

do you mean for creating new browser map?

Copy link
Contributor

Choose a reason for hiding this comment

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

Right

@@ -64,6 +63,13 @@
[react/view styles/web-view-loading
[components/activity-indicator {:animating true}]]))

(defn on-bridge-message [message browser]
(let [{:strs [type navState]} (js->clj (.parse js/JSON message))
{:strs [url title]} navState]
Copy link
Contributor

Choose a reason for hiding this comment

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

title not used?

:render-error web-view-error
:render-loading web-view-loading
:on-bridge-message #(on-bridge-message % browser)
;:on-navigation-state-change #(on-navigation-change % browser)
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove?

@@ -1,117 +0,0 @@
(ns status-im.test.models.browser-history
Copy link
Contributor

Choose a reason for hiding this comment

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

No more tests?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah no model, and now it's super simple code, nothing to test

Copy link
Contributor

Choose a reason for hiding this comment

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

@flexsurfer there's much to test browser-back browser-forward update-browser-history-tx, if we don't start adding tests to the codebase (instead of removing them :) ) it makes it harder for everyone to modify and improve it

@@ -1,117 +0,0 @@
(ns status-im.test.models.browser-history
Copy link
Contributor

Choose a reason for hiding this comment

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

@flexsurfer there's much to test browser-back browser-forward update-browser-history-tx, if we don't start adding tests to the codebase (instead of removing them :) ) it makes it harder for everyone to modify and improve it

[re-frame/trim-v]
(fn [cofx [browser]]
(let [back-index (:history-index browser)]
(when (not (zero? back-index))
Copy link
Contributor

Choose a reason for hiding this comment

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

(when (pos??

:browser-nav-forward
[re-frame/trim-v]
(fn [cofx [browser]]
(let [forward-index (:history-index browser)]
Copy link
Contributor

Choose a reason for hiding this comment

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

we could destruct browser at params declaration, not a big deal though

(let [{:strs [type navState]} (js->clj (.parse js/JSON message))
{:strs [url title]} navState]
(when (= type "navStateChange")
(when (not= "about:blank" url)
Copy link
Contributor

Choose a reason for hiding this comment

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

might be and instead of the second when

Copy link
Member Author

Choose a reason for hiding this comment

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

there will be more types, will be condition

(when-not dapp?
[tooltip/bottom-tooltip-info
(i18n/label :t/browser-warning)])]))
(let [can-go-back? (not (zero? history-index))
Copy link
Contributor

Choose a reason for hiding this comment

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

again, can we use pos? here? or index can be negative?

[react/touchable-highlight {:on-press #(re-frame/dispatch [:browser-nav-forward browser])
:disabled (not can-go-forward?)
:style (merge styles/forward-button
(when (not can-go-forward?) styles/disabled-button))
Copy link
Contributor

Choose a reason for hiding this comment

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

when-not

@flexsurfer flexsurfer force-pushed the bug/make-browser-grate-again branch from 7a2a093 to d44e4cd Compare July 9, 2018 11:27
@flexsurfer
Copy link
Member Author

@jeluard @cammellos done!

Copy link
Contributor

@cammellos cammellos left a comment

Choose a reason for hiding this comment

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

@flexsurfer thanks!

@status-comment-bot
Copy link

status-comment-bot commented Jul 9, 2018

@flexsurfer flexsurfer force-pushed the bug/make-browser-grate-again branch from d44e4cd to cab5c4d Compare July 9, 2018 13:04
@status-comment-bot
Copy link

status-comment-bot commented Jul 9, 2018

@statustestbot
Copy link

81% of end-end tests have passed

Total executed tests: 64
Failed tests: 12
Passed tests: 52

Failed tests (12)

Click to expand
1. test_request_and_receive_tokens_in_1_1_chat
E selenium.common.exceptions.WebDriverException: Message: Sauce could not start your job. For more information on what happened, please visit https://saucelabs.com/jobs/8c279e6e72cd424c85073985813421b3

2. test_open_invalid_link

Type 'user_79153829' to NameInput
Looking for NextButton

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

Device sessions:

3. test_back_forward_buttons_browsing_website

Tap on BrowserPreviousPageButton
Looking for a text part: 'English'

E selenium.common.exceptions.TimeoutException: Message: 'BaseElement' is not found on screen, using: 'xpath://*[contains(@text, "English")]', during '15' seconds

Device sessions:

4. test_text_message_1_1_chat
E selenium.common.exceptions.WebDriverException: Message: Sauce could not start your job. For more information on what happened, please visit https://saucelabs.com/jobs/1aa5e67818524d0fbba3798dacd2a911

5. test_add_to_contacts

Tap on ViewProfileButton
Looking for ProfilePictureElement

E Failed: user_1 is not added to contacts. Real username 'user_2' is not shown in one-to-one chat. Updated profile picture is not shown in one-to-one chat

Device sessions:

6. test_send_and_open_links

Type 'user_2' to NameInput
Looking for NextButton

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

Device sessions:

7. test_messaging_in_different_networks

Looking for ConnectionStatusText
ConnectionStatusText is Fetching messages...

E AttributeError: 'NoneType' object has no attribute 'click'

Device sessions:

8. test_resend_message_offline

Looking for a message by text: 'test message'
Looking for StatusText

E selenium.common.exceptions.NoSuchElementException: Message: 'StatusText' is not found on screen, using: 'xpath://*[starts-with(@text,'test message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']/android.widget.TextView'

Device sessions:

9. test_send_eth_in_1_1_chat

Waiting 60 seconds for ETH update
Looking for EthAssetText

E AttributeError: 'NoneType' object has no attribute 'text'

Device sessions:

10. test_public_chat_clear_history
E selenium.common.exceptions.WebDriverException: Message: Sauce could not start your job. For more information on what happened, please visit https://saucelabs.com/jobs/a285e37ae8fc4414b539b36be7625326

11. test_request_eth_in_wallet
E selenium.common.exceptions.WebDriverException: Message: Sauce could not start your job. For more information on what happened, please visit https://saucelabs.com/jobs/d95ce9015329444a9d1a271a0ab7af13

12. test_contact_profile_send_transaction
E selenium.common.exceptions.WebDriverException: Message: Sauce could not start your job. For more information on what happened, please visit https://saucelabs.com/jobs/2dad6060a5ad446eb34330068385edfa

Passed tests (52)

Click to expand
1. test_create_account
Device sessions:

2. test_copy_and_paste_messages
Device sessions:

3. test_send_transaction_from_daap
Device sessions:

4. test_faucet_console_command
Device sessions:

5. test_delete_cut_and_paste_messages
Device sessions:

6. test_send_eth_from_wallet_incorrect_address
Device sessions:

7. test_offline_login
Device sessions:

8. test_delete_one_to_one_chat_via_delete_button
Device sessions:

9. test_create_account_short_and_mismatch_password
Device sessions:

10. test_open_transaction_on_etherscan
Device sessions:

11. test_public_chat_messaging
Device sessions:

12. test_copy_transaction_hash
Device sessions:

13. test_invite_friends
Device sessions:

14. test_set_profile_picture
Device sessions:

15. test_home_view
Device sessions:

16. test_copy_contact_code_and_wallet_address
Device sessions:

17. test_transaction_appears_in_history
Device sessions:

18. test_set_currency
Device sessions:

19. test_add_custom_network
Device sessions:

20. test_offline_messaging_1_1_chat
Device sessions:

21. test_send_eth_from_wallet_to_address
Device sessions:

22. test_manage_assets
Device sessions:

23. test_wallet_set_up
Device sessions:

24. test_request_and_receive_eth_in_1_1_chat
Device sessions:

25. test_swipe_to_delete_public_chat
Device sessions:

26. test_send_emoji
Device sessions:

27. test_add_contact_by_pasting_public_key
Device sessions:

28. test_transaction_wrong_password_wallet
Device sessions:

29. test_web3_block_number
Device sessions:

30. test_connection_is_not_secure
Device sessions:

31. test_delete_public_chat_via_delete_button
Device sessions:

32. test_send_tokens_in_1_1_chat
Device sessions:

33. test_network_mismatch_for_send_request_commands
Device sessions:

34. test_swipe_to_delete_1_1_chat
Device sessions:

35. test_switch_users_and_add_new_account
Device sessions:

36. test_send_stt_from_wallet
Device sessions:

37. test_login_with_new_account
Device sessions:

38. test_send_eth_from_wallet_to_contact
Device sessions:

39. test_login_with_incorrect_password
Device sessions:

40. test_add_contact_from_public_chat
Device sessions:

41. test_send_request_not_enabled_tokens
Device sessions:

42. test_send_message_to_newly_added_contact
Device sessions:

43. test_browse_page_with_non_english_text
Device sessions:

44. test_change_profile_picture_several_times
Device sessions:

45. test_clear_history_one_to_one_chat
Device sessions:

46. test_offline_status
Device sessions:

47. test_backup_seed_phrase
Device sessions:

48. test_open_google_com_via_open_dapp
Device sessions:

49. test_sign_message_from_daap
Device sessions:

50. test_share_contact_code_and_wallet_address
Device sessions:

51. test_swipe_to_delete_browser_entry
Device sessions:

52. test_recover_account
Device sessions:

@Serhy
Copy link
Contributor

Serhy commented Jul 9, 2018

Builds apk https://i.diawi.com/qyRJgF and ipa https://i.diawi.com/CNoPMe has been tested on iOS (11.2.5) and Andorid (6.0, 7.0)
Those Dapps which failed to track history before (outlines in the respective issue) are working now, yes (with one issue though - see the (II) item below). But major regressions introduced at the same time:

@flexsurfer, few issues we faced here:

I) Those Dapps which kept the browsing history fine on iOS before (e.g. Etheremons, CryptoPunks) AND webpages (like google.com / wikipedia.org) - does not keep browsing history not only on iOS but on Android as well now.
To reproduce:

  1. Navigate to google.com -> search something -> navigat to any of the links avaialble on page and check if Back button active
  2. Navigate to CryptoPunks -> Writing -> check whether browser `Back' button is active

II) No browsing history cut off when user navigates to any link from the middle of his browsing history. It becomes a bit confusing for where browser navigates then. See the scenario:

  1. Open status and create an account

  2. Navigate to Open Dapps ->CryptoKitties->Open`

  3. From CryptoKitties home screen navigate to Marketplace (you appear on Page How to handle multiple numbers on phone account? #1)

  4. Scroll down and navigate to Page 2 -> then Page 3 -> then Page 4 - then Page 5 (Note: so at this point 6 records in the browsing history)

  5. Tap browser Back button
    6)Tap browser Back button again (you appear on 3rd page)

  6. Tap on any Kitty label to navigate to its details screen
    Actual result: Fwd browser button is available.
    Expected result: Fwd browser button is disabled. Browsing history with all links used after 3rd CryptoKitties page in the current example is flushed.

  7. Tap -> Fwd browser button now
    Actual result: 4th page appears

  8. Tap <- Back browser button
    Actual result: 3rd page appears

III) On the Home page screen any Dapp/web page has instead of the actual last visited URL the 'Dapp' labels
screen shot 2018-07-09 at 20 05 59

TF session showing all three issues above: https://app.testfairy.com/projects/4803622-status/builds/8518521/sessions/4395906530/?accessToken=vP/BJVyUO/qs6g8pUdSj7vkIwc4

@flexsurfer flexsurfer force-pushed the bug/make-browser-grate-again branch from cab5c4d to f3662e6 Compare July 10, 2018 12:06
@flexsurfer
Copy link
Member Author

thanks @Serhy , fixed

@flexsurfer flexsurfer force-pushed the bug/make-browser-grate-again branch from f3662e6 to 63efadb Compare July 11, 2018 07:45
@Serhy Serhy self-assigned this Jul 11, 2018
@statustestbot
Copy link

88% of end-end tests have passed

Total executed tests: 72
Failed tests: 9
Passed tests: 63

Failed tests (9)

Click to expand
1. test_open_transaction_on_etherscan

Tap on IHaveAccountButton
Looking for PassphraseInput

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

Device sessions:

2. test_add_to_contacts

Tap on ViewProfileButton
Looking for ProfilePictureElement

E Failed: user_1 is not added to contacts. Real username 'user_2' is not shown in one-to-one chat. Updated profile picture is not shown in one-to-one chat

Device sessions:

3. test_logcat_backup_seed_phrase

Looking for OkGotItButton
Tap on OkGotItButton

Passphrase in logcat!!!

Device sessions:

4. test_logcat_send_transaction_from_daap

Looking for GotItButton
Tap on GotItButton

Password in logcat!!!

Device sessions:

5. test_offline_messaging_1_1_chat

Looking for ConnectionStatusText
ConnectionStatusText is Connecting to peers...

E selenium.common.exceptions.TimeoutException: Message: 'ChatElement' is not found on screen, using: 'xpath://*[@content-desc='chat-item'][.//*[starts-with(@text,'user_2')]]', during '20' seconds

Device sessions:

6. test_logcat_send_transaction_in_1_1_chat

Looking for StatusText
StatusText is Sent

Password in logcat!!!

Device sessions:

7. test_messaging_in_different_networks

Wait for ConnectionStatusText
Wait for ConnectionStatusText

E AttributeError: 'NoneType' object has no attribute 'click'

Device sessions:

8. test_logcat_sign_message_from_daap

Looking for SignTransactionButton
Tap on SignTransactionButton

Password in logcat!!!

Device sessions:

9. test_resend_message_offline

Looking for a message by text: 'test message'
Looking for StatusText

E selenium.common.exceptions.NoSuchElementException: Message: 'StatusText' is not found on screen, using: 'xpath://*[starts-with(@text,'test message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']/android.widget.TextView'

Device sessions:

Passed tests (63)

Click to expand
1. test_create_account
Device sessions:

2. test_copy_and_paste_messages
Device sessions:

3. test_send_transaction_from_daap
Device sessions:

4. test_faucet_console_command
Device sessions:

5. test_request_and_receive_tokens_in_1_1_chat
Device sessions:

6. test_delete_cut_and_paste_messages
Device sessions:

7. test_send_eth_from_wallet_incorrect_address
Device sessions:

8. test_open_invalid_link
Device sessions:

9. test_offline_login
Device sessions:

10. test_delete_one_to_one_chat_via_delete_button
Device sessions:

11. test_create_account_short_and_mismatch_password
Device sessions:

12. test_public_chat_messaging
Device sessions:

13. test_copy_transaction_hash
Device sessions:

14. test_back_forward_buttons_browsing_website
Device sessions:

15. test_password_in_logcat_sign_in
Device sessions:

16. test_invite_friends
Device sessions:

17. test_set_profile_picture
Device sessions:

18. test_text_message_1_1_chat
Device sessions:

19. test_home_view
Device sessions:

20. test_send_and_open_links
Device sessions:

21. test_copy_contact_code_and_wallet_address
Device sessions:

22. test_transaction_appears_in_history
Device sessions:

23. test_logcat_send_transaction_from_wallet
Device sessions:

24. test_set_currency
Device sessions:

25. test_add_custom_network
Device sessions:

26. test_send_eth_from_wallet_to_address
Device sessions:

27. test_manage_assets
Device sessions:

28. test_wallet_set_up
Device sessions:

29. test_request_and_receive_eth_in_1_1_chat
Device sessions:

30. test_swipe_to_delete_public_chat
Device sessions:

31. test_send_emoji
Device sessions:

32. test_add_contact_by_pasting_public_key
Device sessions:

33. test_logcat_recovering_account
Device sessions:

34. test_transaction_wrong_password_wallet
Device sessions:

35. test_web3_block_number
Device sessions:

36. test_connection_is_not_secure
Device sessions:

37. test_delete_public_chat_via_delete_button
Device sessions:

38. test_send_tokens_in_1_1_chat
Device sessions:

39. test_network_mismatch_for_send_request_commands
Device sessions:

40. test_swipe_to_delete_1_1_chat
Device sessions:

41. test_switch_users_and_add_new_account
Device sessions:

42. test_send_stt_from_wallet
Device sessions:

43. test_send_eth_in_1_1_chat
Device sessions:

44. test_login_with_new_account
Device sessions:

45. test_send_eth_from_wallet_to_contact
Device sessions:

46. test_login_with_incorrect_password
Device sessions:

47. test_add_contact_from_public_chat
Device sessions:

48. test_send_request_not_enabled_tokens
Device sessions:

49. test_send_message_to_newly_added_contact
Device sessions:

50. test_browse_page_with_non_english_text
Device sessions:

51. test_password_in_logcat_creating_account
Device sessions:

52. test_change_profile_picture_several_times
Device sessions:

53. test_clear_history_one_to_one_chat
Device sessions:

54. test_public_chat_clear_history
Device sessions:

55. test_offline_status
Device sessions:

56. test_backup_seed_phrase
Device sessions:

57. test_open_google_com_via_open_dapp
Device sessions:

58. test_sign_message_from_daap
Device sessions:

59. test_share_contact_code_and_wallet_address
Device sessions:

60. test_request_eth_in_wallet
Device sessions:

61. test_contact_profile_send_transaction
Device sessions:

62. test_swipe_to_delete_browser_entry
Device sessions:

63. test_recover_account
Device sessions:

@Serhy
Copy link
Contributor

Serhy commented Jul 11, 2018

@flexsurfer latest changes look really good! We keep the history now on iOS and Android app browsers for Dapps/websites and I was able to navigate through history with Back/Fwd browser buttons!

However, there are issues we need to look at:

  1. Upgrading on the version with current changes flushes the history of previously used Dapp/Browser items. But the Dapp/Browser elements are kept on Home screen. Navigating to Dapp with such empty history leads to error followed by app crash:
    Steps to reproduce:
  • Install the 0.9.22 release app and create new account
  • Navigate to Open Dapp -> CryptoKitties -> Open
  • Upgrade to the app version (Android build https://i.diawi.com/ETn3YX / iOS build https://i.diawi.com/j6hSws)
  • Log in to the same account. (Note: CryptoKitties Dapp item is on Home screen)
  • Tap on CryptoKitties from Home screen
    Actual result: TypeError: re-find must match against a string error appears.

screen shot 2018-07-11 at 17 06 57

TF session from 01:00 https://app.testfairy.com/projects/4803622-status/builds/8521278/sessions/4396102337/?accessToken=ayUtWG7xTPNwdt5g8TCNi1zkS8g

  1. On Android app browser, there is a weird behavior with 'OpenSea' dapp: it keep return user back to particular crypto asset detail screen if it has been navigated to at least once. Please, see steps to reproduce:

Note: iOS app browser it looks good here. On latest nightly I could not reproduce the same issue with the steps above (no auto-return back when I don't touch anything), but browser history for OpenSea looks a bit weird on nightly develop build as well - just need to navigate between summary/detail screens of this Dapp a bit more. (I'm OK if consider to fix it separately off this PR changes)

@flexsurfer flexsurfer force-pushed the bug/make-browser-grate-again branch from 63efadb to 059c56e Compare July 11, 2018 14:52
@flexsurfer flexsurfer force-pushed the bug/make-browser-grate-again branch from 059c56e to 871e871 Compare July 11, 2018 16:02
@flexsurfer
Copy link
Member Author

@Serhy fixed

@Serhy
Copy link
Contributor

Serhy commented Jul 12, 2018

All above issues are fixed!
Users on iOS and Android are able now to navigate in Status withing Dapps and we keep the browsing history. After re-login / app restart - we keep browsing history as well!

Thanks a lot @flexsurfer! Lets merge!

@flexsurfer flexsurfer force-pushed the bug/make-browser-grate-again branch from 871e871 to a644075 Compare July 12, 2018 12:04
@flexsurfer flexsurfer merged commit a644075 into develop Jul 12, 2018
@statustestbot
Copy link

76% of end-end tests have passed

Total executed tests: 38
Failed tests: 9
Passed tests: 29

Failed tests (9)

Click to expand
1. test_request_and_receive_tokens_in_1_1_chat

Wait for ConnectionStatusText
Wait for ConnectionStatusText

E AttributeError: 'NoneType' object has no attribute 'click'

Device sessions:

2. test_offline_messaging_1_1_chat

Wait for ConnectionStatusText
Wait for ConnectionStatusText

E selenium.common.exceptions.TimeoutException: Message: 'ChatElement' is not found on screen, using: 'xpath://*[@content-desc='chat-item'][.//*[starts-with(@text,'user_2')]]', during '20' seconds

Device sessions:

3. test_swipe_to_delete_public_chat

Tap on LogoutButton
Looking for AccountButton

E IndexError: list index out of range

During handling of the above exception, another exception occurred:
E selenium.common.exceptions.NoSuchElementException: Message: Unable to find account by position 0


Device sessions:

4. test_send_tokens_in_1_1_chat

Wait for EnterPasswordInput
Looking for EnterPasswordInput

E selenium.common.exceptions.NoSuchElementException: Message: 'EnterPasswordInput' is not found on screen, using: 'accessibility id:enter-password-input'

Device sessions:

5. test_network_mismatch_for_send_request_commands

Tap on ConnectButton
Looking for AccountButton

E IndexError: list index out of range

During handling of the above exception, another exception occurred:
E selenium.common.exceptions.NoSuchElementException: Message: Unable to find account by position 0


Device sessions:

6. test_resend_message_offline

Looking for an element by text: 'Resend'
Wait for ChatElementByText

E selenium.common.exceptions.TimeoutException: Message: 'StatusText' is not found on screen, using: 'xpath://[starts-with(@text,'test message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']/android.widget.TextView', during '10' seconds

Device sessions:

7. test_add_contact_from_public_chat

Tap on ConnectionStatusText
Looking for Username

E selenium.common.exceptions.NoSuchElementException: Message: 'Username' is not found on screen, using: 'xpath://[starts-with(@text,'test message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']/[1][name()='android.widget.TextView']'

Device sessions:

8. test_offline_status

Wait for HomeButton
Looking for ConnectionStatusText

E selenium.common.exceptions.NoSuchElementException: Message: 'ConnectionStatusText' is not found on screen, using: 'xpath://[@content-desc='connection-status-text']/android.widget.TextView'

Device sessions:

9. test_backup_seed_phrase

Tap on LogoutButton
Looking for AccountButton

E IndexError: list index out of range

During handling of the above exception, another exception occurred:
E selenium.common.exceptions.NoSuchElementException: Message: Unable to find account by position 0


Device sessions:

Passed tests (29)

Click to expand
1. test_create_account
Device sessions:

2. test_copy_and_paste_messages
Device sessions:

3. test_send_transaction_from_daap
Device sessions:

4. test_faucet_console_command
Device sessions:

5. test_delete_cut_and_paste_messages
Device sessions:

6. test_public_chat_messaging
Device sessions:

7. test_back_forward_buttons_browsing_website
Device sessions:

8. test_set_profile_picture
Device sessions:

9. test_text_message_1_1_chat
Device sessions:

10. test_add_to_contacts
Device sessions:

11. test_send_and_open_links
Device sessions:

12. test_copy_contact_code_and_wallet_address
Device sessions:

13. test_contact_profile_view
Device sessions:

14. test_manage_assets
Device sessions:

15. test_wallet_set_up
Device sessions:

16. test_request_and_receive_eth_in_1_1_chat
Device sessions:

17. test_send_emoji
Device sessions:

18. test_add_contact_by_pasting_public_key
Device sessions:

19. test_web3_block_number
Device sessions:

20. test_swipe_to_delete_1_1_chat
Device sessions:

21. test_send_eth_in_1_1_chat
Device sessions:

22. test_login_with_new_account
Device sessions:

23. test_send_request_not_enabled_tokens
Device sessions:

24. test_send_message_to_newly_added_contact
Device sessions:

25. test_open_google_com_via_open_dapp
Device sessions:

26. test_sign_message_from_daap
Device sessions:

27. test_share_contact_code_and_wallet_address
Device sessions:

28. test_request_eth_in_wallet
Device sessions:

29. test_recover_account
Device sessions:

@rasom rasom deleted the bug/make-browser-grate-again branch September 3, 2018 09:46
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.

No browsing history kept for particular Dapps (CryptoKitties,CryptoFighters,CryptoStrikers etc) on iOS
8 participants