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

refactor copyable-text component to accept background-color property #13764

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

siddarthkay
Copy link
Contributor

Summary

Refactoring copyable-text component to accept background-color property.

Platforms

  • Android
  • iOS

Areas that maybe impacted

It may or may not have an impact on all areas of the UI that have the tap to copy functionality.

status: ready

@siddarthkay siddarthkay self-assigned this Aug 4, 2022
@status-github-bot status-github-bot bot added this to REVIEW in Pipeline for QA Aug 4, 2022
@siddarthkay siddarthkay changed the title refactor copayble-text componnet to accept background-color property refactor copayble-text component to accept background-color property Aug 4, 2022
@siddarthkay siddarthkay changed the title refactor copayble-text component to accept background-color property refactor copyable-text componnet to accept background-color property Aug 4, 2022
@siddarthkay siddarthkay changed the title refactor copyable-text componnet to accept background-color property refactor copyable-text component to accept background-color property Aug 4, 2022
@status-im-auto
Copy link
Member

status-im-auto commented Aug 4, 2022

Jenkins Builds

Click to see older builds (15)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ e0f704a #1 2022-08-04 13:32:18 ~9 min android-e2e 📦apk 📲
✔️ e0f704a #1 2022-08-04 13:32:36 ~9 min android 📦apk 📲
✔️ e0f704a #1 2022-08-04 13:33:15 ~10 min ios 📦ipa 📲
✔️ c70e0d3 #3 2022-08-04 16:19:07 ~9 min android-e2e 📦apk 📲
✔️ c70e0d3 #3 2022-08-04 16:21:24 ~11 min android 📦apk 📲
✔️ c70e0d3 #3 2022-08-04 16:27:18 ~17 min ios 📦ipa 📲
✖️ 42922a8 #4 2022-08-17 07:56:32 ~7 min android 📦apk 📲
✖️ 42922a8 #4 2022-08-17 07:56:37 ~7 min android-e2e 📦apk 📲
✖️ fd33b6c #5 2022-08-17 10:04:49 ~9 min android 📦apk 📲
✔️ 1e6ef9a #6 2022-08-17 14:19:23 ~7 min android-e2e 📦apk 📲
✔️ 1e6ef9a #6 2022-08-17 14:19:24 ~7 min android 📦apk 📲
✔️ 1e6ef9a #7 2022-08-18 05:40:34 ~10 min ios 📦ipa 📲
✔️ 081fcd2 #7 2022-08-18 06:00:20 ~7 min android 📦apk 📲
✔️ 081fcd2 #7 2022-08-18 06:00:25 ~7 min android-e2e 📦apk 📲
✔️ 081fcd2 #11 2022-08-18 10:31:26 ~18 min ios 📦ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
e207997 #8 2022-08-18 17:21:29 ~6 min android-e2e 📄log
✔️ e207997 #8 2022-08-18 17:22:07 ~7 min android 📦apk 📲
e207997 #12 2022-08-18 17:26:01 ~11 min ios 📄log
e207997 #13 2022-08-18 17:49:23 ~10 min ios 📄log
e207997 #14 2022-08-19 06:41:12 ~10 min ios 📄log
e207997 #15 2022-08-19 07:31:19 ~12 min ios 📄log
✔️ e207997 #9 2022-08-19 07:50:51 ~7 min android-e2e 📦apk 📲
e207997 #16 2022-08-19 08:05:43 ~12 min ios 📄log
✔️ c0e2dc7 #10 2022-08-19 15:07:52 ~9 min android-e2e 📦apk 📲
✔️ c0e2dc7 #9 2022-08-19 15:10:29 ~11 min android 📦apk 📲
✔️ c0e2dc7 #17 2022-08-19 15:19:31 ~20 min ios 📦ipa 📲

@@ -120,5 +121,5 @@
:underlay-color colors/black
:on-press copy-fn
:on-long-press copy-fn}
[react/view {:background-color colors/white}
[react/view {:background-color background-color}
Copy link
Member

Choose a reason for hiding this comment

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

so it will be nil if there is color in container ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I'm defaulting to white when no background-color is passed

Copy link
Member

Choose a reason for hiding this comment

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

hi, did you tested the changes? I think you are assigning :background-color to wrong view. (Or this is the desired behavior?).
Also, please can you explain what are the use cases of passing background-color, means what you are trying to achieve?

main.mp4

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hi, did you tested the changes? I think you are assigning :background-color to wrong view. (Or this is the desired behavior?). Also, please can you explain what are the use cases of passing background-color, means what you are trying to achieve?

main.mp4

Yes my primary case for introducing this change was when there were UI screens that have dark backgrounds or transparent backgrounds, example : Share tab for switcher : https://www.figma.com/file/eDfxTa9IoaCMUy5cLTp0ys/Shell-for-Mobile?node-id=451%3A18993
If you add copyable-text component to any of the text fields on such a screen the background color is white by default which is not suitable for that use case.
I would have to pass background-color :transparent for it to work in that screen.

and that was my motivation to introduce this property in copyable-text component, I guess I should have mentioned the motivation upfront while making the PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

so it will be nil if there is color in container ?

I now understand the issue with using (when-not) which would produce nil if background-color property was not passed to this component, I have refactored it in latest commit to use or
The code should now work as expected.
It will accept the background-color passed and if there is no background-color passed it will use default value of colors/white

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Parveshdhull
using copyable-text component as it exists today I get this o/p
[copyable-text/copyable-text-view {:copied-text profile-link :container-style {:background-color :transparent :width :100%}} [rn/text {:style (profile-address-content (* window-width 0.7)) :ellipsize-mode :middle :number-of-lines 1} profile-link] ]

      Pay attention to the text below link to profile label

Screenshot 2022-08-05 at 10 50 27 AM

And below is the o/p after I make modification to accept background-color property :

Screenshot 2022-08-05 at 10 53 34 AM

I think this use case is particular when text color is also white..

Copy link
Member

Choose a reason for hiding this comment

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

hi @siddarthkay,
Thank you for the explanation and video. Yes, your provided code

[copyable-text/copyable-text-view {:copied-text profile-link :container-style {:background-color :transparent :width :100%}} [rn/text {:style (profile-address-content (* window-width 0.7)) :ellipsize-mode :middle :number-of-lines 1} profile-link] ]

showed desired behavior. Looks like in the above video(by me), the list item's background color was affecting the net result.
PR looks good to me, but if changes are made for the use case of switcher's copyable text, I would recommend making these changes in that PR, so that they can be properly tested. wdyt?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changes are made for the use case of switcher's copyable text, I would recommend making these changes in that PR, so that they can be properly tested. wdyt?

Hmmm that is also a valid explanation to keeping this change in that PR.
My initial motivation was also that since its a change to a component which can be used in other multiple PRs I moved this code to a seperate PR.

This modification also exists in the share-tab PR, I was thinking of removing it from there...
Any approach is fine by me.

@siddarthkay siddarthkay force-pushed the siddarthkay-patch-copyable-text branch from 8694a0d to c70e0d3 Compare August 4, 2022 16:09
@flexsurfer flexsurfer moved this from REVIEW to E2E Tests in Pipeline for QA Aug 8, 2022
@status-im-auto
Copy link
Member

97% of end-end tests have passed

Total executed tests: 87
Failed tests: 3
Passed tests: 84
IDs of failed tests: 6305,5310,700757 

Failed tests (3)

Click to expand
  • Rerun failed tests

  • Class TestSendTxDeviceMerged:

    1. test_send_tx_set_recipient_options, id: 700757

    Device 1: Type `my` to `EditBox`
    Device 1: Find `Button` by `xpath`: `//*[@text="my_basic_address"]`

    critical/wallet_and_tx/test_send_tx_dapp_keycard.py:262: in test_send_tx_set_recipient_options send_tr.element_by_text(basic_add_to_fav_name).click() ../views/base_element.py:90: in click self.find_element().click() ../views/base_element.py:79: in

    Class: TestSendTxDeviceMerged

    Device sessions

    Class TestOneToOneChatMultipleSharedDevices:

    1. test_1_1_chat_image_send_save_reply, id: 6305

    # STEP: check options on long-press image for receiver
    Device 2: Find `Button` by `accessibility id`: `image-message`

    critical/chats/test_1_1_public_chats.py:507: in test_1_1_chat_image_send_save_reply self.chat_2.image_message_in_chat.long_press_element() ../views/base_element.py:275: in long_press_element element = self.find_element() ../views/base_element.py:7

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 5310

    Device 1: Tap on found: AirplaneModeButton
    Device 1: Wait for element `Button` for max 20s and click when it is available

    critical/chats/test_1_1_public_chats.py:555: in test_1_1_chat_is_shown_message_sent_delivered_from_offline self.home_1.connection_offline_icon.wait_and_click(20) ../views/base_element.py:370: in wait_and_click self.wait_for_visibility_of_element(s

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    Passed tests (84)

    Click to expand

    Class TestCommandsMultipleDevicesMerged:

    1. test_1_1_chat_command_decline_eth_push_changing_state, id: 6265

    Class: TestCommandsMultipleDevicesMerged

    Device sessions

    2. test_1_1_chat_command_request_and_send_tx_stt_in_1_1_chat_offline, id: 6263

    Class: TestCommandsMultipleDevicesMerged

    Device sessions

    3. test_1_1_chat_command_send_tx_eth_outgoing_tx_push, id: 6253

    Class: TestCommandsMultipleDevicesMerged

    Device sessions

    Class TestEnsStickersMultipleDevicesMerged:

    1. test_sticker_1_1_public_chat_mainnet, id: 702157

    Class: TestEnsStickersMultipleDevicesMerged

    Device sessions

    2. test_ens_command_send_tx_eth_1_1_chat, id: 702153

    Class: TestEnsStickersMultipleDevicesMerged

    Device sessions

    3. test_ens_mention_push_highlighted_public_chat, id: 702156

    Class: TestEnsStickersMultipleDevicesMerged

    Device sessions

    4. test_ens_mention_nickname_1_1_chat, id: 702155

    Class: TestEnsStickersMultipleDevicesMerged

    Device sessions

    5. test_ens_purchased_in_profile, id: 702152

    Class: TestEnsStickersMultipleDevicesMerged

    Device sessions

    6. test_start_new_chat_public_key_validation, id: 702158

    Class: TestEnsStickersMultipleDevicesMerged

    Device sessions

    Class TestOnboardingOneDeviceMerged:

    1. test_onboarding_add_new_multiaccount_username_by_position_pass_validation, id: 700747

    Class: TestOnboardingOneDeviceMerged

    Device sessions

    2. test_onboarding_home_initial_popup, id: 700742

    Class: TestOnboardingOneDeviceMerged

    Device sessions

    3. test_onboarding_share_contact_address, id: 700743

    Class: TestOnboardingOneDeviceMerged

    Device sessions

    4. test_onboarding_backup_seed_phrase_restore_same_login_logcat, id: 700745

    Class: TestOnboardingOneDeviceMerged

    Device sessions

    5. test_onboarding_cant_sign_in_with_invalid_password_logcat, id: 700746

    Class: TestOnboardingOneDeviceMerged

    Device sessions

    6. test_onboarding_share_wallet_address, id: 700744

    Class: TestOnboardingOneDeviceMerged

    Device sessions

    Class TestRestoreOneDeviceMerged:

    1. test_restore_set_up_wallet_sign_phrase, id: 700749

    Class: TestRestoreOneDeviceMerged

    Device sessions

    2. test_restore_account_migrate_multiaccount_to_keycard_no_db_saved_add_wallet_send_tx, id: 702189

    Class: TestRestoreOneDeviceMerged

    Device sessions

    3. test_restore_seed_phrase_field_validation, id: 700750

    Class: TestRestoreOneDeviceMerged

    Device sessions

    4. test_restore_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 700748

    Class: TestRestoreOneDeviceMerged

    Device sessions

    Class TestPairingSyncMultipleDevicesMerged:

    1. test_pairing_sync_clear_history, id: 702394

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    2. test_pairing_sync_contacts_block_unblock, id: 702196

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    3. test_pairing_sync_initial_profile_picture, id: 702392

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    4. test_pairing_sync_initial_bookmarks, id: 702393

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    5. test_pairing_sync_initial_contacts_blocked_users, id: 702194

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    6. test_pairing_sync_1_1_chat_message, id: 702198

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    7. test_pairing_sync_public_chat_add_remove, id: 702199

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    8. test_pairing_sync_initial_public_chats, id: 702195

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    9. test_pairing_sync_contacts_add_remove_set_nickname_ens, id: 702197

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    Class TestGroupChatMultipleDeviceMerged:

    1. test_group_chat_push_system_messages_when_invited, id: 3994

    Class: TestGroupChatMultipleDeviceMerged

    Device sessions

    2. test_group_chat_highligted, id: 5756

    Class: TestGroupChatMultipleDeviceMerged

    Device sessions

    3. test_group_chat_join_send_text_messages_push, id: 700731

    Class: TestGroupChatMultipleDeviceMerged

    Device sessions

    4. test_group_chat_offline_pn, id: 3998

    Class: TestGroupChatMultipleDeviceMerged

    Device sessions

    5. test_group_chat_add_new_member_activity_centre, id: 700732

    Class: TestGroupChatMultipleDeviceMerged

    Device sessions

    6. test_group_chat_leave_relogin, id: 3997

    Class: TestGroupChatMultipleDeviceMerged

    Device sessions

    Class TestSendTxDeviceMerged:

    1. test_send_tx_eth_check_logcat, id: 700763

    Class: TestSendTxDeviceMerged

    Device sessions

    2. test_send_tx_custom_token_18_decimals_invalid_password, id: 700765

    Class: TestSendTxDeviceMerged

    Device sessions

    3. test_send_tx_token_8_decimals, id: 700764

    Class: TestSendTxDeviceMerged

    Device sessions

    4. test_send_tx_sign_message_2tx_in_batch_tx_filters_request_stt_testdapp, id: 5342

    Class: TestSendTxDeviceMerged

    Device sessions

    Class TestKeycardTxOneDeviceMerged:

    1. test_keycard_relogin_after_restore, id: 700768

    Class: TestKeycardTxOneDeviceMerged

    Device sessions

    2. test_keycard_send_tx_sign_message_request_stt_testdapp, id: 700769

    Class: TestKeycardTxOneDeviceMerged

    Device sessions

    3. test_keycard_create_account_unlock_same_seed, id: 5689

    Class: TestKeycardTxOneDeviceMerged

    Device sessions

    4. test_keycard_send_tx_eth, id: 700767

    Class: TestKeycardTxOneDeviceMerged

    Device sessions

    5. test_keycard_wallet_recover_pairing_check_balance_after_offline_tx_history, id: 700770

    Class: TestKeycardTxOneDeviceMerged

    Device sessions

    Class TestWalletManagementDeviceMerged:

    1. test_wallet_manage_assets, id: 700758

    Class: TestWalletManagementDeviceMerged

    Device sessions

    2. test_wallet_add_account_seed_phrase_validation, id: 700762

    Class: TestWalletManagementDeviceMerged

    Device sessions

    3. test_wallet_add_hide_unhide_account_private_key, id: 700761

    Class: TestWalletManagementDeviceMerged

    Device sessions

    4. test_wallet_add_delete_watch_only_account, id: 700760

    Class: TestWalletManagementDeviceMerged

    Device sessions

    5. test_wallet_fetching_balance_after_offline_insufficient_funds_errors, id: 700766

    Class: TestWalletManagementDeviceMerged

    Device sessions

    6. test_wallet_add_account_generate_new, id: 700759

    Class: TestWalletManagementDeviceMerged

    Device sessions

    7. test_wallet_tx_history_copy_tx_hash_on_cellular, id: 700756

    Class: TestWalletManagementDeviceMerged

    Device sessions

    Class TestContactBlockMigrateKeycardMultipleSharedDevices:

    1. test_contact_block_unblock_public_chat_offline, id: 702176

    Class: TestContactBlockMigrateKeycardMultipleSharedDevices

    Device sessions

    2. test_contact_add_remove_mention_default_username_nickname_public_chat, id: 702175

    Class: TestContactBlockMigrateKeycardMultipleSharedDevices

    Device sessions

    3. test_keycard_command_send_tx_eth_1_1_chat, id: 702186

    Class: TestContactBlockMigrateKeycardMultipleSharedDevices

    Device sessions

    4. test_restore_account_migrate_multiaccount_to_keycard_db_saved, id: 702177

    Class: TestContactBlockMigrateKeycardMultipleSharedDevices

    Device sessions

    5. test_cellular_settings_on_off_public_chat_fetching_history, id: 702188

    Class: TestContactBlockMigrateKeycardMultipleSharedDevices

    Device sessions

    Class TestPublicChatMultipleDeviceMerged:

    1. test_public_chat_message_edit, id: 700734

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    2. test_public_chat_unread_messages_counter, id: 5360

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    3. test_public_chat_emoji_send_copy_paste_reply, id: 700719

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    4. test_public_chat_unread_messages_counter_for_mention_relogin, id: 700718

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    5. test_public_chat_delete_chat_long_press, id: 5319

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    6. test_public_chat_link_send_open, id: 700736

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    7. test_public_chat_mark_all_messages_as_read, id: 6270

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    8. test_public_chat_links_with_previews_github_youtube_twitter_gif_send_enable, id: 700737

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    9. test_public_chat_message_send_check_timestamps_while_on_different_tab, id: 5313

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    10. test_public_chat_message_delete, id: 700735

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    Class TestPublicChatBrowserOneDeviceMerged:

    1. test_public_chat_open_using_deep_link, id: 700739

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    2. test_browser_bookmarks_create_edit_remove, id: 702077

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    3. test_browser_blocked_url, id: 702072

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    4. test_browser_delete_close_tabs, id: 702076

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    5. test_browser_connection_is_secure_not_secure_warning, id: 702073

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    6. test_browser_web3_permissions_testdapp, id: 702078

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    7. test_public_chat_tag_message, id: 700738

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    8. test_public_chat_navigate_to_chat_when_relaunch, id: 5396

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    9. test_public_chat_copy_and_paste_message_in_chat_input, id: 5317

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    10. test_public_chat_fetch_more_history, id: 5675

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    11. test_browser_offline, id: 702075

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    12. test_browser_invalid_url, id: 702074

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    Class TestOneToOneChatMultipleSharedDevices:

    1. test_1_1_chat_text_message_edit_delete_push_disappear, id: 695843

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    2. test_1_1_chat_message_reaction, id: 6315

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    3. test_1_1_chat_emoji_send_reply_and_open_link, id: 5373

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    4. test_1_1_chat_text_message_with_push, id: 6316

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    5. test_1_1_chat_non_latin_message_to_newly_added_contact_with_profile_picture_on_different_networks, id: 5315

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    6. test_1_1_chat_delete_via_delete_button_relogin, id: 5387

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    7. test_1_1_chat_push_emoji, id: 6283

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    @jakubgs
    Copy link
    Member

    jakubgs commented Aug 18, 2022

    The iOS build failures are due to failing git clean -fdx command with Permission Denied:

    Caused by: hudson.plugins.git.GitException: Command "git clean -fdx" returned status code 1:
    stdout: 
    stderr: warning: failed to remove modules/react-native-status/ios/RCTStatus/Statusgo.xcframework/ios-arm64_x86_64-simulator/Statusgo.framework/Statusgo: Permission denied
    warning: failed to remove modules/react-native-status/ios/RCTStatus/Statusgo.xcframework/ios-arm64_x86_64-simulator/Statusgo.framework/Resources: Permission denied
    warning: failed to remove modules/react-native-status/ios/RCTStatus/Statusgo.xcframework/ios-arm64_x86_64-simulator/Statusgo.framework/Versions/A/Statusgo: Permission denied
    ...
    

    Not sure why, the permissions look okay:

    jenkins@maci7-03.ms-eu-dublin.slave.ci:~/workspace/status-mobile_prs_ios_PR-13764 % ls -l modules/react-native-status/ios/RCTStatus/Statusgo.xcframework/ios-arm64_x86_64-simulator/Statusgo.framework/Statusgo 
    lrwxr-xr-x  1 jenkins  jenkins  25 Jan  1  1970 modules/react-native-status/ios/RCTStatus/Statusgo.xcframework/ios-arm64_x86_64-simulator/Statusgo.framework/Statusgo -> Versions/Current/Statusgo
    
    jenkins@maci7-03.ms-eu-dublin.slave.ci:~/workspace/status-mobile_prs_ios_PR-13764 % rm modules/react-native-status/ios/RCTStatus/Statusgo.xcframework/ios-arm64_x86_64-simulator/Statusgo.framework/Statusgo
    rm: modules/react-native-status/ios/RCTStatus/Statusgo.xcframework/ios-arm64_x86_64-simulator/Statusgo.framework/Statusgo: Permission denied
    

    For now I've purged the workspace from all MacOS CI hosts. If it shows up again I can look into it further.

    @qoqobolo qoqobolo moved this from E2E Tests to IN TESTING in Pipeline for QA Aug 18, 2022
    @qoqobolo qoqobolo self-assigned this Aug 18, 2022
    @status-im-auto
    Copy link
    Member

    98% of end-end tests have passed

    Total executed tests: 87
    Failed tests: 2
    Passed tests: 85
    
    IDs of failed tests: 702394,702157 
    

    Failed tests (2)

    Click to expand
  • Rerun failed tests

  • Class TestPairingSyncMultipleDevicesMerged:

    1. test_pairing_sync_clear_history, id: 702394

    Device 1: Long press on `ChatElement`
    Device 1: Find `Button` by `accessibility id`: `clear-history-button`

    critical/test_pairing_devices_sync.py:291: in test_pairing_sync_clear_history self.home_1.clear_chat_long_press('#%s' % self.public_chat_before_sync) ../views/home_view.py:384: in clear_chat_long_press self.clear_history_button.click() ../views/ba

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    Class TestEnsStickersMultipleDevicesMerged:

    1. test_sticker_1_1_public_chat_mainnet, id: 702157

    Device 2: Find `Button` by `xpath`: `//*[@content-desc='sticker-pack-name'][@text='Tozemoon']/..//*[@content-desc='sticker-pack-price']`
    Device 2: Find `Button` by `xpath`: `//*[@content-desc='sticker-pack-name'][@text='Tozemoon']/..//*[@content-desc='sticker-pack-price']`

    critical/chats/test_1_1_public_chats.py:1126: in test_sticker_1_1_public_chat_mainnet self.chat_2.install_sticker_pack_by_name('Tozemoon') ../views/chat_view.py:893: in install_sticker_pack_by_name element.scroll_to_element(depth=21) ../views/base

    Class: TestEnsStickersMultipleDevicesMerged

    Device sessions

    Passed tests (85)

    Click to expand

    Class TestPairingSyncMultipleDevicesMerged:

    1. test_pairing_sync_contacts_add_remove_set_nickname_ens, id: 702197

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    2. test_pairing_sync_initial_bookmarks, id: 702393

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    3. test_pairing_sync_initial_profile_picture, id: 702392

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    4. test_pairing_sync_contacts_block_unblock, id: 702196

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    5. test_pairing_sync_initial_contacts_blocked_users, id: 702194

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    6. test_pairing_sync_initial_public_chats, id: 702195

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    7. test_pairing_sync_public_chat_add_remove, id: 702199

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    8. test_pairing_sync_1_1_chat_message, id: 702198

    Class: TestPairingSyncMultipleDevicesMerged

    Device sessions

    Class TestOnboardingOneDeviceMerged:

    1. test_onboarding_share_contact_address, id: 700743

    Class: TestOnboardingOneDeviceMerged

    Device sessions

    2. test_onboarding_add_new_multiaccount_username_by_position_pass_validation, id: 700747

    Class: TestOnboardingOneDeviceMerged

    Device sessions

    3. test_onboarding_cant_sign_in_with_invalid_password_logcat, id: 700746

    Class: TestOnboardingOneDeviceMerged

    Device sessions

    4. test_onboarding_share_wallet_address, id: 700744

    Class: TestOnboardingOneDeviceMerged

    Device sessions

    5. test_onboarding_home_initial_popup, id: 700742

    Class: TestOnboardingOneDeviceMerged

    Device sessions

    6. test_onboarding_backup_seed_phrase_restore_same_login_logcat, id: 700745

    Class: TestOnboardingOneDeviceMerged

    Device sessions

    Class TestSendTxDeviceMerged:

    1. test_send_tx_custom_token_18_decimals_invalid_password, id: 700765

    Class: TestSendTxDeviceMerged

    Device sessions

    2. test_send_tx_token_8_decimals, id: 700764

    Class: TestSendTxDeviceMerged

    Device sessions

    3. test_send_tx_set_recipient_options, id: 700757

    Class: TestSendTxDeviceMerged

    Device sessions

    4. test_send_tx_eth_check_logcat, id: 700763

    Class: TestSendTxDeviceMerged

    Device sessions

    5. test_send_tx_sign_message_2tx_in_batch_tx_filters_request_stt_testdapp, id: 5342

    Class: TestSendTxDeviceMerged

    Device sessions

    Class TestWalletManagementDeviceMerged:

    1. test_wallet_add_account_generate_new, id: 700759

    Class: TestWalletManagementDeviceMerged

    Device sessions

    2. test_wallet_add_hide_unhide_account_private_key, id: 700761

    Class: TestWalletManagementDeviceMerged

    Device sessions

    3. test_wallet_add_delete_watch_only_account, id: 700760

    Class: TestWalletManagementDeviceMerged

    Device sessions

    4. test_wallet_tx_history_copy_tx_hash_on_cellular, id: 700756

    Class: TestWalletManagementDeviceMerged

    Device sessions

    5. test_wallet_fetching_balance_after_offline_insufficient_funds_errors, id: 700766

    Class: TestWalletManagementDeviceMerged

    Device sessions

    6. test_wallet_add_account_seed_phrase_validation, id: 700762

    Class: TestWalletManagementDeviceMerged

    Device sessions

    7. test_wallet_manage_assets, id: 700758

    Class: TestWalletManagementDeviceMerged

    Device sessions

    Class TestCommandsMultipleDevicesMerged:

    1. test_1_1_chat_command_send_tx_eth_outgoing_tx_push, id: 6253

    Class: TestCommandsMultipleDevicesMerged

    Device sessions

    2. test_1_1_chat_command_decline_eth_push_changing_state, id: 6265

    Class: TestCommandsMultipleDevicesMerged

    Device sessions

    3. test_1_1_chat_command_request_and_send_tx_stt_in_1_1_chat_offline, id: 6263

    Class: TestCommandsMultipleDevicesMerged

    Device sessions

    Class TestPublicChatBrowserOneDeviceMerged:

    1. test_browser_connection_is_secure_not_secure_warning, id: 702073

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    2. test_public_chat_copy_and_paste_message_in_chat_input, id: 5317

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    3. test_browser_invalid_url, id: 702074

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    4. test_browser_bookmarks_create_edit_remove, id: 702077

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    5. test_public_chat_tag_message, id: 700738

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    6. test_browser_offline, id: 702075

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    7. test_public_chat_navigate_to_chat_when_relaunch, id: 5396

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    8. test_public_chat_open_using_deep_link, id: 700739

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    9. test_browser_delete_close_tabs, id: 702076

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    10. test_browser_blocked_url, id: 702072

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    11. test_browser_web3_permissions_testdapp, id: 702078

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    12. test_public_chat_fetch_more_history, id: 5675

    Class: TestPublicChatBrowserOneDeviceMerged

    Device sessions

    Class TestContactBlockMigrateKeycardMultipleSharedDevices:

    1. test_keycard_command_send_tx_eth_1_1_chat, id: 702186

    Class: TestContactBlockMigrateKeycardMultipleSharedDevices

    Device sessions

    2. test_contact_block_unblock_public_chat_offline, id: 702176

    Class: TestContactBlockMigrateKeycardMultipleSharedDevices

    Device sessions

    3. test_contact_add_remove_mention_default_username_nickname_public_chat, id: 702175

    Class: TestContactBlockMigrateKeycardMultipleSharedDevices

    Device sessions

    4. test_cellular_settings_on_off_public_chat_fetching_history, id: 702188

    Class: TestContactBlockMigrateKeycardMultipleSharedDevices

    Device sessions

    5. test_restore_account_migrate_multiaccount_to_keycard_db_saved, id: 702177

    Class: TestContactBlockMigrateKeycardMultipleSharedDevices

    Device sessions

    Class TestKeycardTxOneDeviceMerged:

    1. test_keycard_send_tx_eth, id: 700767

    Class: TestKeycardTxOneDeviceMerged

    Device sessions

    2. test_keycard_create_account_unlock_same_seed, id: 5689

    Class: TestKeycardTxOneDeviceMerged

    Device sessions

    3. test_keycard_wallet_recover_pairing_check_balance_after_offline_tx_history, id: 700770

    Class: TestKeycardTxOneDeviceMerged

    Device sessions

    4. test_keycard_relogin_after_restore, id: 700768

    Class: TestKeycardTxOneDeviceMerged

    Device sessions

    5. test_keycard_send_tx_sign_message_request_stt_testdapp, id: 700769

    Class: TestKeycardTxOneDeviceMerged

    Device sessions

    Class TestPublicChatMultipleDeviceMerged:

    1. test_public_chat_link_send_open, id: 700736

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    2. test_public_chat_message_delete, id: 700735

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    3. test_public_chat_unread_messages_counter, id: 5360

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    4. test_public_chat_unread_messages_counter_for_mention_relogin, id: 700718

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    5. test_public_chat_delete_chat_long_press, id: 5319

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    6. test_public_chat_message_send_check_timestamps_while_on_different_tab, id: 5313

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    7. test_public_chat_emoji_send_copy_paste_reply, id: 700719

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    8. test_public_chat_mark_all_messages_as_read, id: 6270

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    9. test_public_chat_links_with_previews_github_youtube_twitter_gif_send_enable, id: 700737

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    10. test_public_chat_message_edit, id: 700734

    Class: TestPublicChatMultipleDeviceMerged

    Device sessions

    Class TestGroupChatMultipleDeviceMerged:

    1. test_group_chat_leave_relogin, id: 3997

    Class: TestGroupChatMultipleDeviceMerged

    Device sessions

    2. test_group_chat_highligted, id: 5756

    Class: TestGroupChatMultipleDeviceMerged

    Device sessions

    3. test_group_chat_push_system_messages_when_invited, id: 3994

    Class: TestGroupChatMultipleDeviceMerged

    Device sessions

    4. test_group_chat_join_send_text_messages_push, id: 700731

    Class: TestGroupChatMultipleDeviceMerged

    Device sessions

    5. test_group_chat_add_new_member_activity_centre, id: 700732

    Class: TestGroupChatMultipleDeviceMerged

    Device sessions

    6. test_group_chat_offline_pn, id: 3998

    Class: TestGroupChatMultipleDeviceMerged

    Device sessions

    Class TestEnsStickersMultipleDevicesMerged:

    1. test_start_new_chat_public_key_validation, id: 702158

    Class: TestEnsStickersMultipleDevicesMerged

    Device sessions

    2. test_ens_command_send_tx_eth_1_1_chat, id: 702153

    Class: TestEnsStickersMultipleDevicesMerged

    Device sessions

    3. test_ens_mention_push_highlighted_public_chat, id: 702156

    Class: TestEnsStickersMultipleDevicesMerged

    Device sessions

    4. test_ens_mention_nickname_1_1_chat, id: 702155

    Class: TestEnsStickersMultipleDevicesMerged

    Device sessions

    5. test_ens_purchased_in_profile, id: 702152

    Class: TestEnsStickersMultipleDevicesMerged

    Device sessions

    Class TestOneToOneChatMultipleSharedDevices:

    1. test_1_1_chat_push_emoji, id: 6283

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    2. test_1_1_chat_image_send_save_reply, id: 6305

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    3. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 5310

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    4. test_1_1_chat_message_reaction, id: 6315

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    5. test_1_1_chat_delete_via_delete_button_relogin, id: 5387

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    6. test_1_1_chat_emoji_send_reply_and_open_link, id: 5373

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    7. test_1_1_chat_non_latin_message_to_newly_added_contact_with_profile_picture_on_different_networks, id: 5315

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    8. test_1_1_chat_text_message_edit_delete_push_disappear, id: 695843

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    9. test_1_1_chat_text_message_with_push, id: 6316

    Class: TestOneToOneChatMultipleSharedDevices

    Device sessions

    Class TestRestoreOneDeviceMerged:

    1. test_restore_account_migrate_multiaccount_to_keycard_no_db_saved_add_wallet_send_tx, id: 702189

    Class: TestRestoreOneDeviceMerged

    Device sessions

    2. test_restore_uppercase_whitespaces_seed_phrase_special_char_passw_logcat, id: 700748

    Class: TestRestoreOneDeviceMerged

    Device sessions

    3. test_restore_set_up_wallet_sign_phrase, id: 700749

    Class: TestRestoreOneDeviceMerged

    Device sessions

    4. test_restore_seed_phrase_field_validation, id: 700750

    Class: TestRestoreOneDeviceMerged

    Device sessions

    @qoqobolo
    Copy link
    Contributor

    @siddarthkay thanks for waiting!
    LGTM, PR can be merged.

    @qoqobolo qoqobolo moved this from IN TESTING to MERGE in Pipeline for QA Aug 18, 2022
    @siddarthkay siddarthkay force-pushed the siddarthkay-patch-copyable-text branch from 081fcd2 to e207997 Compare August 18, 2022 17:14
    Refactoring copyable-text component to accept background-color property.
    
    Fix case of nil
    
    Trying to sign
    @siddarthkay siddarthkay force-pushed the siddarthkay-patch-copyable-text branch from e207997 to c0e2dc7 Compare August 19, 2022 14:58
    @siddarthkay siddarthkay merged commit be8db33 into develop Aug 19, 2022
    Pipeline for QA automation moved this from MERGE to DONE Aug 19, 2022
    @siddarthkay siddarthkay deleted the siddarthkay-patch-copyable-text branch August 19, 2022 15:20
    ibrkhalil pushed a commit that referenced this pull request Aug 22, 2022
    Refactoring copyable-text component to accept background-color property.
    
    Fix case of nil
    
    Trying to sign
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    Archived in project
    Development

    Successfully merging this pull request may close these issues.

    None yet

    6 participants