status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.92k stars 984 forks source link

fix No tabs are available in the app on Graphene OS #21520

Closed Parveshdhull closed 4 weeks ago

Parveshdhull commented 4 weeks ago

fixes https://github.com/status-im/status-mobile/issues/21509

status: WIP

Parveshdhull commented 4 weeks ago

Thank you, @churik, for helping me resolve this issue. Could you please attach a screenshot of the home screen and the status.log file for the build?

status-im-auto commented 4 weeks ago

Jenkins Builds

Click to see older builds (4) | :grey_question: | Commit | :hash: | Finished (UTC) | Duration | Platform | Result | |-|-|-|-|-|-|-| | :x: | 013e03b8 | [#1](https://ci.status.im/job/status-mobile/job/prs/job/tests/job/PR-21520/1/) | 2024-10-29 06:51:58 | ~3 min | `tests` | [:page_facing_up:`log`](https://ci.status.im/job/status-mobile/job/prs/job/tests/job/PR-21520/1/consoleText) | | :heavy_check_mark: | 013e03b8 | [#1](https://ci.status.im/job/status-mobile/job/prs/job/android-e2e/job/PR-21520/1/) | 2024-10-29 06:55:20 | ~6 min | `android-e2e` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241029-064841-013e03-pr21520-x86_64.apk) [:calling:](https://chart.apis.google.com/chart?cht=qr&chs=400x400&chld=L%7C%0A1&chl=https%3A%2F%2Fstatus-im-mobile-prs.ams3.cdn.digitaloceanspaces.com%2FStatusIm-Mobile-241029-064841-013e03-pr21520-x86_64.apk)| | :heavy_check_mark: | 013e03b8 | [#1](https://ci.status.im/job/status-mobile/job/prs/job/android/job/PR-21520/1/) | 2024-10-29 06:55:54 | ~7 min | `android` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241029-064841-013e03-pr21520-arm64-v8a.apk) [:calling:](https://chart.apis.google.com/chart?cht=qr&chs=400x400&chld=L%7C%0A1&chl=https%3A%2F%2Fstatus-im-mobile-prs.ams3.cdn.digitaloceanspaces.com%2FStatusIm-Mobile-241029-064841-013e03-pr21520-arm64-v8a.apk)| | :heavy_check_mark: | 013e03b8 | [#1](https://ci.status.im/job/status-mobile/job/prs/job/ios/job/PR-21520/1/) | 2024-10-29 06:58:53 | ~10 min | `ios` | [:iphone:`ipa`](https://i.diawi.com/ZNJnG4) [:calling:](https://chart.apis.google.com/chart?cht=qr&chs=400x400&chld=L%7C%0A1&chl=https%3A%2F%2Fi.diawi.com%2FZNJnG4)|
:grey_question: Commit :hash: Finished (UTC) Duration Platform Result
:x: c76d93c2 #2 2024-10-29 09:55:14 ~3 min tests :page_facing_up:log
:heavy_check_mark: c76d93c2 #2 2024-10-29 10:01:13 ~9 min android-e2e :robot:apk :calling:
:heavy_check_mark: c76d93c2 #2 2024-10-29 10:01:48 ~10 min android :robot:apk :calling:
:heavy_check_mark: c76d93c2 #2 2024-10-29 10:01:53 ~10 min ios :iphone:ipa :calling:
:heavy_check_mark: d768cdaa #5 2024-10-29 11:01:20 ~9 min tests :page_facing_up:log
:heavy_check_mark: d768cdaa #5 2024-10-29 11:02:37 ~10 min android-e2e :robot:apk :calling:
:heavy_check_mark: d768cdaa #5 2024-10-29 11:04:10 ~11 min ios :iphone:ipa :calling:
:heavy_check_mark: d768cdaa #5 2024-10-29 11:05:50 ~13 min android :robot:apk :calling:
churik commented 4 weeks ago

image

Full logcat: status_no_tabs.log

Full logs: Status-debug-logs.zip

Parveshdhull commented 4 weeks ago

Thank you very much @churik for providing logs. Please can you check if issue is fixed now?

Also most probably it will not create any regressions, but please also test https://github.com/status-im/status-mobile/issues/15164 https://github.com/status-im/status-mobile/issues/14894

churik commented 4 weeks ago

Now it is good on both devices when Testmode is off. I believe this is acceptable, we can fix Testmode banner issues separately

Xiaomi: IMAGE 2024-10-29 15:06:07

Graphene OS: IMAGE 2024-10-29 15:06:10

@Parveshdhull 🥇

status-im-auto commented 4 weeks ago

75% of end-end tests have passed

Total executed tests: 8
Failed tests: 2
Expected to fail tests: 0
Passed tests: 6
IDs of failed tests: 703133,702843 

Failed tests (2)

Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMerged:

    1. test_community_message_edit, id: 702843

    Device 2: Find `Text` by `xpath`: `//android.view.ViewGroup[@content-desc='chat-item']//android.widget.TextView[contains(@text,'https://status.app/c/')]`
    Device 2: Wait for element `Button` for max 120s and click when it is available

    ``` Test setup failed: critical/chats/test_public_chat_browsing.py:350: in prepare_devices self.community_2.join_community() ../views/chat_view.py:420: in join_community self.join_button.wait_and_click(120) ../views/base_element.py:100: in wait_and_click self.wait_for_visibility_of_element(sec) ../views/base_element.py:147: in wait_for_visibility_of_element raise TimeoutException( Device 2: Button by accessibility id:`show-request-to-join-screen-button` is not found on the screen after wait_for_visibility_of_element ```

    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133

    # STEP: Check that removed user is not shown in the list anymore
    Device 1: Wait for element `Button` for max 30s and click when it is available

    ``` critical/chats/test_public_chat_browsing.py:240: in test_restore_multiaccount_with_waku_backup_remove_switch self.sign_in.show_profiles_button.wait_and_click() ../views/base_element.py:100: in wait_and_click self.wait_for_visibility_of_element(sec) ../views/base_element.py:147: in wait_for_visibility_of_element raise TimeoutException( Device 1: Button by accessibility id:`show-profiles` is not found on the screen after wait_for_visibility_of_element ```

    Device sessions

    Passed tests (6)

    Click to expand

    Class TestWalletMultipleDevice:

    1. test_wallet_send_asset_from_drawer, id: 727230
    2. test_wallet_send_eth, id: 727229

    Class TestWalletOneDevice:

    1. test_wallet_add_remove_regular_account, id: 727231
    2. test_wallet_balance_mainnet, id: 740490

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions