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

Update logcat tests and disable upgrade-app test #9030

Merged
merged 1 commit into from
Sep 25, 2019

Conversation

Serhy
Copy link
Contributor

@Serhy Serhy commented Sep 24, 2019

  • we had often false failing test_logcat_backup_recovery_phrase test. It was checking whether any of two words, used as confirmation to back up seed phrase, are present in logcat. If any of two is present test fails. Issue is that in dictionary for seed-phrases there are many words which are used as normal log items: for example "talk" or "list" or "icon" and many more. So we modified the test to check whether both words are in logcat
  • test_send_eth_from_wallet_incorrect_address updated so no ERROR in Jenkins.
  • upgrade_app test disabled (no upgrade support for now anyway)

@status-github-bot
Copy link

status-github-bot bot commented Sep 24, 2019

Pull Request Checklist

  • Docs: Updated the documentation, if affected
  • Docs: Added or updated inline comments explaining intention of the code
  • Tests: Ensured that all new UI elements have been assigned accessibility IDs
  • Tests: Signaled need for E2E tests with label, if applicable
  • Tests: Briefly described what was tested and what platforms were used
  • UI: In case of UI changes, ensured that UI matches Figma
  • UI: In case of UI changes, requested review from a Core UI designer
  • UI: In case of UI changes, included screenshots of implementation

Copy link
Member

@churik churik left a comment

Choose a reason for hiding this comment

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

Nice work!

@status-im-auto
Copy link
Member

status-im-auto commented Sep 24, 2019

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 27b36d1 #1 2019-09-24 14:44:35 ~9 min ios 📦 ipa
✔️ 27b36d1 #1 2019-09-24 14:47:18 ~12 min android 📦 apk
✔️ 27b36d1 #1 2019-09-24 14:48:16 ~13 min android-e2e 📦 apk
✔️ 27b36d1 #1 2019-09-24 14:48:56 ~13 min macos 📦 dmg
✔️ 27b36d1 #1 2019-09-24 14:49:28 ~14 min linux 📦 App
✔️ 27b36d1 #1 2019-09-24 14:50:31 ~15 min windows 📦 exe
✔️ 0a5acfb #2 2019-09-25 08:36:46 ~15 min android-e2e 📦 apk

@statustestbot
Copy link

98% of end-end tests have passed

Total executed tests: 46
Failed tests: 1
Passed tests: 45

Failed tests (1)

Click to expand
1. test_offline_status

Device 1: Tap on PlusButton
Device 1: Wait for StartNewChatButton

Device 1: 'StartNewChatButton' is not found on the screen

Device sessions

Passed tests (45)

Click to expand
1. test_block_user_from_public_chat
Device sessions

2. test_filters_from_daap
Device sessions

3. test_copy_and_paste_messages
Device sessions

4. test_send_transaction_from_daap
Device sessions

5. test_deploy_contract_from_daap
Device sessions

6. test_open_transaction_on_etherscan
Device sessions

7. test_public_chat_messaging
Device sessions

8. test_long_press_to_delete_1_1_chat
Device sessions

9. test_password_in_logcat_sign_in
Device sessions

10. test_text_message_1_1_chat
Device sessions

11. test_add_to_contacts
Device sessions

12. test_sign_typed_message
Device sessions

13. test_unread_messages_counter_1_1_chat
Device sessions

14. test_ens_in_public_chat
Device sessions

15. test_logcat_send_transaction_from_daap
Device sessions

16. test_send_message_in_group_chat
Device sessions

17. test_logcat_send_transaction_from_wallet
Device sessions

18. test_send_token_with_7_decimals
Device sessions

19. test_offline_messaging_1_1_chat
Device sessions

20. test_modify_transaction_fee_values
Device sessions

21. test_send_eth_from_wallet_to_address
Device sessions

22. test_add_account_to_multiaccount_instance
Device sessions

23. test_manage_assets
Device sessions

24. test_long_press_to_delete_public_chat
Device sessions

25. test_send_emoji
Device sessions

26. test_search_chat_on_home
Device sessions

27. test_logcat_recovering_account
Device sessions

28. test_can_add_existing_ens
Device sessions

29. test_messaging_in_different_networks
Device sessions

30. test_logcat_sign_message_from_daap
Device sessions

31. test_switch_users_and_add_new_account
Device sessions

32. test_send_stt_from_wallet
Device sessions

33. test_login_with_new_account
Device sessions

34. test_start_chat_with_ens
Device sessions

35. test_add_contact_from_public_chat
Device sessions

36. test_send_two_transactions_one_after_another_in_dapp
Device sessions

37. test_password_in_logcat_creating_account
Device sessions

38. test_backup_recovery_phrase
Device sessions

39. test_open_google_com_via_open_dapp
Device sessions

40. test_unread_messages_counter_public_chat
Device sessions

41. test_sign_message_from_daap
Device sessions

42. test_user_can_remove_profile_picture
Device sessions

43. test_share_contact_code_and_wallet_address
Device sessions

44. test_refresh_button_browsing_app_webview
Device sessions

45. test_backup_recovery_phrase_warning_from_wallet
Device sessions

@statustestbot
Copy link

91% of end-end tests have passed

Total executed tests: 93
Failed tests: 8
Passed tests: 85

Failed tests (8)

Click to expand
1. test_pass_phrase_validation (TestRail link is not found)

Device 1: Wait for MisspelledWords
Device 1: Click system back button

Device 1: 'AccessKeyButton' is not found on the screen

Device sessions

2. test_set_profile_picture (TestRail link is not found)

Device 1: Tap on NextButton
Device 1: Tap on MaybeLaterButton

Device 1: 'MaybeLaterButton' is not found on the screen

Device sessions

3. test_offline_messaging_1_1_chat

Device 2: Tap on AirplaneModeButton
Device 1: Tap on AirplaneModeButton

Device 1: 'ChatElement' is not found on the screen

Device sessions

4. test_contact_profile_view (TestRail link is not found)

Device 1: Looking for an element by text: 'Cadetblue Popular Monoclonius'
Device 1: Looking for an element by text: 'In contacts'

Device 1: 'BaseButton' is not found on the screen

Device sessions

5. test_send_funds_between_accounts_in_multiaccount_instance (TestRail link is not found)

Device 1: Tap on OkButton
Device 1: Looking for full text: 'Transaction sent'

Device 1: 'BaseElement' is not found on the screen

Device sessions

6. test_long_press_to_delete_public_chat

Device 1: Looking for a message by text: 'test message'
Device 1: Wait for ChatElementByText

Chat history is shown

Device sessions

7. test_pair_devices_sync_one_to_one_contacts (TestRail link is not found)

Device 1: Scrolling down to BackupRecoveryPhraseButton
Device 1: Scrolling down to BackupRecoveryPhraseButton

Device 1: 'BackupRecoveryPhraseButton' is not found on the screen

Device sessions

8. test_swipe_to_delete_browser_entry (TestRail link is not found)

Device 1: Looking for BrowserEntry
Device 1: Wait for DeleteButton

Unable to swipe and delete - Delete button is not found

Device sessions

Passed tests (85)

Click to expand
1. test_user_can_switch_network (TestRail link is not found)
Device sessions

2. test_block_user_from_public_chat
Device sessions

3. test_filters_from_daap
Device sessions

4. test_copy_and_paste_messages
Device sessions

5. test_send_transaction_from_daap
Device sessions

6. test_onboarding_screen_when_requesting_tokens_for_recovered_account (TestRail link is not found)
Device sessions

7. test_connection_is_secure (TestRail link is not found)
Device sessions

8. test_deploy_contract_from_daap
Device sessions

9. test_redirect_to_public_chat_tapping_tag_message (TestRail link is not found)
Device sessions

10. test_remove_member_from_group_chat (TestRail link is not found)
Device sessions

11. test_delete_one_to_one_chat_via_delete_button (TestRail link is not found)
Device sessions

12. test_clear_history_of_group_chat_via_group_view (TestRail link is not found)
Device sessions

13. test_decline_invitation_to_group_chat (TestRail link is not found)
Device sessions

14. test_open_transaction_on_etherscan
Device sessions

15. test_open_blocked_site (TestRail link is not found)
Device sessions

16. test_public_chat_messaging
Device sessions

17. test_open_chat_by_pasting_public_key (TestRail link is not found)
Device sessions

18. test_add_custom_token (TestRail link is not found)
Device sessions

19. test_long_press_to_delete_1_1_chat
Device sessions

20. test_password_in_logcat_sign_in
Device sessions

21. test_text_message_1_1_chat
Device sessions

22. test_add_to_contacts
Device sessions

23. test_sign_typed_message
Device sessions

24. test_home_view (TestRail link is not found)
Device sessions

25. test_send_and_open_links (TestRail link is not found)
Device sessions

26. test_unread_messages_counter_1_1_chat
Device sessions

27. test_ens_in_public_chat
Device sessions

28. test_logcat_send_transaction_from_daap
Device sessions

29. test_copy_contact_code_and_wallet_address (TestRail link is not found)
Device sessions

30. test_send_message_in_group_chat
Device sessions

31. test_logcat_send_transaction_from_wallet
Device sessions

32. test_account_recovery_with_uppercase_recovery_phrase (TestRail link is not found)
Device sessions

33. test_send_token_with_7_decimals
Device sessions

34. test_fetch_more_history_in_empty_chat (TestRail link is not found)
Device sessions

35. test_modify_transaction_fee_values
Device sessions

36. test_delete_group_chat_via_delete_button (TestRail link is not found)
Device sessions

37. test_token_with_more_than_allowed_decimals (TestRail link is not found)
Device sessions

38. test_send_eth_from_wallet_to_address
Device sessions

39. test_add_account_to_multiaccount_instance
Device sessions

40. test_request_eth_in_status_test_dapp (TestRail link is not found)
Device sessions

41. test_manage_assets
Device sessions

42. test_create_new_group_chat (TestRail link is not found)
Device sessions

43. test_wallet_set_up (TestRail link is not found)
Device sessions

44. test_send_emoji
Device sessions

45. test_search_chat_on_home
Device sessions

46. test_block_user_from_one_to_one_header (TestRail link is not found)
Device sessions

47. test_logcat_recovering_account
Device sessions

48. test_can_add_existing_ens
Device sessions

49. test_transaction_wrong_password_wallet (TestRail link is not found)
Device sessions

50. test_pair_devices_sync_name_photo_public_group_chats (TestRail link is not found)
Device sessions

51. test_install_pack_and_send_sticker
Device sessions

52. test_delete_public_chat_via_delete_button (TestRail link is not found)
Device sessions

53. test_messaging_in_different_networks
Device sessions

54. test_logcat_backup_recovery_phrase
Device sessions

55. test_add_new_group_chat_member (TestRail link is not found)
Device sessions

56. test_logcat_sign_message_from_daap
Device sessions

57. test_switch_users_and_add_new_account
Device sessions

58. test_make_admin_member_of_group_chat (TestRail link is not found)
Device sessions

59. test_send_stt_from_wallet
Device sessions

60. test_login_with_new_account
Device sessions

61. test_insufficient_funds_wallet_positive_balance (TestRail link is not found)
Device sessions

62. test_request_public_key_status_test_daap (TestRail link is not found)
Device sessions

63. test_start_chat_with_ens
Device sessions

64. test_add_contact_from_public_chat
Device sessions

65. test_user_can_see_all_own_assets_after_account_recovering (TestRail link is not found)
Device sessions

66. test_send_two_transactions_one_after_another_in_dapp
Device sessions

67. test_send_message_to_newly_added_contact (TestRail link is not found)
Device sessions

68. test_password_in_logcat_creating_account
Device sessions

69. test_user_can_complete_tx_to_dapp_when_onboarding_via_dapp_completed (TestRail link is not found)
Device sessions

70. test_backup_recovery_phrase
Device sessions

71. test_public_chat_clear_history (TestRail link is not found)
Device sessions

72. test_offline_status
Device sessions

73. test_open_google_com_via_open_dapp
Device sessions

74. test_unread_messages_counter_public_chat
Device sessions

75. test_sign_message_from_daap
Device sessions

76. test_user_can_remove_profile_picture
Device sessions

77. test_send_two_transactions_in_batch_in_dapp (TestRail link is not found)
Device sessions

78. test_share_contact_code_and_wallet_address
Device sessions

79. test_message_marked_as_sent_in_1_1_chat (TestRail link is not found)
Device sessions

80. test_need_help_section (TestRail link is not found)
Device sessions

81. test_refresh_button_browsing_app_webview
Device sessions

82. test_backup_recovery_phrase_warning_from_wallet
Device sessions

83. test_group_chat_system_messages (TestRail link is not found)
Device sessions

84. test_purchase_pack_and_send_sticker
Device sessions

85. test_open_public_chat_using_deep_link (TestRail link is not found)
Device sessions

Signed-off-by: Serhy <sergii@status.im>
@Serhy Serhy merged commit 0a5acfb into develop Sep 25, 2019
@delete-merged-branch delete-merged-branch bot deleted the test/update_logcat_tests branch September 25, 2019 08:21
@StatusWrike