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

Onboarding - New opt-in usage data screen #21655

Open Parveshdhull opened 5 days ago

Parveshdhull commented 5 days ago

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

Testing Note

status: ready for review (please postpone testing the PR until approved)

status-im-auto commented 5 days ago

Jenkins Builds

Click to see older builds (28) | :grey_question: | Commit | :hash: | Finished (UTC) | Duration | Platform | Result | |-|-|-|-|-|-|-| | :x: | e39b8783 | [#1](https://ci.status.im/job/status-mobile/job/prs/job/tests/job/PR-21655/1/) | 2024-11-20 16:02:34 | ~3 min | `tests` | [:page_facing_up:`log`](https://ci.status.im/job/status-mobile/job/prs/job/tests/job/PR-21655/1/consoleText) | | :heavy_check_mark: | e39b8783 | [#1](https://ci.status.im/job/status-mobile/job/prs/job/android/job/PR-21655/1/) | 2024-11-20 16:07:11 | ~8 min | `android` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241120-155906-e39b87-pr21655-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-241120-155906-e39b87-pr21655-arm64-v8a.apk)| | :heavy_check_mark: | e39b8783 | [#1](https://ci.status.im/job/status-mobile/job/prs/job/android-e2e/job/PR-21655/1/) | 2024-11-20 16:07:49 | ~8 min | `android-e2e` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241120-155906-e39b87-pr21655-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-241120-155906-e39b87-pr21655-x86_64.apk)| | :heavy_check_mark: | e39b8783 | [#1](https://ci.status.im/job/status-mobile/job/prs/job/ios/job/PR-21655/1/) | 2024-11-20 16:11:23 | ~12 min | `ios` | [:iphone:`ipa`](https://i.diawi.com/zSCwoV) [:calling:](https://chart.apis.google.com/chart?cht=qr&chs=400x400&chld=L%7C%0A1&chl=https%3A%2F%2Fi.diawi.com%2FzSCwoV)| | | | | | | | | | :x: | 5343fd65 | [#2](https://ci.status.im/job/status-mobile/job/prs/job/tests/job/PR-21655/2/) | 2024-11-23 10:36:57 | ~2 min | `tests` | [:page_facing_up:`log`](https://ci.status.im/job/status-mobile/job/prs/job/tests/job/PR-21655/2/consoleText) | | :heavy_check_mark: | 5343fd65 | [#2](https://ci.status.im/job/status-mobile/job/prs/job/android-e2e/job/PR-21655/2/) | 2024-11-23 10:40:54 | ~6 min | `android-e2e` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241123-103403-5343fd-pr21655-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-241123-103403-5343fd-pr21655-x86_64.apk)| | :heavy_check_mark: | 5343fd65 | [#2](https://ci.status.im/job/status-mobile/job/prs/job/android/job/PR-21655/2/) | 2024-11-23 10:42:09 | ~8 min | `android` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241123-103408-5343fd-pr21655-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-241123-103408-5343fd-pr21655-arm64-v8a.apk)| | :heavy_check_mark: | 5343fd65 | [#2](https://ci.status.im/job/status-mobile/job/prs/job/ios/job/PR-21655/2/) | 2024-11-23 10:43:22 | ~9 min | `ios` | [:iphone:`ipa`](https://i.diawi.com/sS99xQ) [:calling:](https://chart.apis.google.com/chart?cht=qr&chs=400x400&chld=L%7C%0A1&chl=https%3A%2F%2Fi.diawi.com%2FsS99xQ)| | | | | | | | | | :x: | cbee1684 | [#3](https://ci.status.im/job/status-mobile/job/prs/job/tests/job/PR-21655/3/) | 2024-11-23 11:54:04 | ~2 min | `tests` | [:page_facing_up:`log`](https://ci.status.im/job/status-mobile/job/prs/job/tests/job/PR-21655/3/consoleText) | | :heavy_check_mark: | cbee1684 | [#3](https://ci.status.im/job/status-mobile/job/prs/job/android-e2e/job/PR-21655/3/) | 2024-11-23 11:58:12 | ~6 min | `android-e2e` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241123-115129-cbee16-pr21655-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-241123-115129-cbee16-pr21655-x86_64.apk)| | :heavy_check_mark: | cbee1684 | [#3](https://ci.status.im/job/status-mobile/job/prs/job/android/job/PR-21655/3/) | 2024-11-23 11:59:24 | ~7 min | `android` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241123-115134-cbee16-pr21655-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-241123-115134-cbee16-pr21655-arm64-v8a.apk)| | :heavy_check_mark: | cbee1684 | [#3](https://ci.status.im/job/status-mobile/job/prs/job/ios/job/PR-21655/3/) | 2024-11-23 12:00:30 | ~8 min | `ios` | [:iphone:`ipa`](https://i.diawi.com/HBh1d6) [:calling:](https://chart.apis.google.com/chart?cht=qr&chs=400x400&chld=L%7C%0A1&chl=https%3A%2F%2Fi.diawi.com%2FHBh1d6)| | | | | | | | | | :heavy_check_mark: | 63abdf87 | [#4](https://ci.status.im/job/status-mobile/job/prs/job/tests/job/PR-21655/4/) | 2024-11-23 12:39:06 | ~4 min | `tests` | [:page_facing_up:`log`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241123-123434-63abdf-pr21655-tests.log) | | :heavy_check_mark: | 63abdf87 | [#4](https://ci.status.im/job/status-mobile/job/prs/job/android-e2e/job/PR-21655/4/) | 2024-11-23 12:41:21 | ~6 min | `android-e2e` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241123-123429-63abdf-pr21655-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-241123-123429-63abdf-pr21655-x86_64.apk)| | :heavy_check_mark: | 63abdf87 | [#4](https://ci.status.im/job/status-mobile/job/prs/job/android/job/PR-21655/4/) | 2024-11-23 12:42:30 | ~8 min | `android` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241123-123429-63abdf-pr21655-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-241123-123429-63abdf-pr21655-arm64-v8a.apk)| | :heavy_check_mark: | 63abdf87 | [#4](https://ci.status.im/job/status-mobile/job/prs/job/ios/job/PR-21655/4/) | 2024-11-23 12:43:14 | ~8 min | `ios` | [:iphone:`ipa`](https://i.diawi.com/L1aK1r) [:calling:](https://chart.apis.google.com/chart?cht=qr&chs=400x400&chld=L%7C%0A1&chl=https%3A%2F%2Fi.diawi.com%2FL1aK1r)| | | | | | | | | | :x: | 9583f912 | [#5](https://ci.status.im/job/status-mobile/job/prs/job/tests/job/PR-21655/5/) | 2024-11-24 07:07:53 | ~2 min | `tests` | [:page_facing_up:`log`](https://ci.status.im/job/status-mobile/job/prs/job/tests/job/PR-21655/5/consoleText) | | :heavy_check_mark: | 9583f912 | [#5](https://ci.status.im/job/status-mobile/job/prs/job/android-e2e/job/PR-21655/5/) | 2024-11-24 07:11:45 | ~6 min | `android-e2e` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241124-070453-9583f9-pr21655-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-241124-070453-9583f9-pr21655-x86_64.apk)| | :heavy_check_mark: | 9583f912 | [#5](https://ci.status.im/job/status-mobile/job/prs/job/android/job/PR-21655/5/) | 2024-11-24 07:12:54 | ~8 min | `android` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241124-070453-9583f9-pr21655-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-241124-070453-9583f9-pr21655-arm64-v8a.apk)| | :heavy_check_mark: | 9583f912 | [#5](https://ci.status.im/job/status-mobile/job/prs/job/ios/job/PR-21655/5/) | 2024-11-24 07:14:16 | ~9 min | `ios` | [:iphone:`ipa`](https://i.diawi.com/kUdXQQ) [:calling:](https://chart.apis.google.com/chart?cht=qr&chs=400x400&chld=L%7C%0A1&chl=https%3A%2F%2Fi.diawi.com%2FkUdXQQ)| | | | | | | | | | :x: | f8ccd624 | [#6](https://ci.status.im/job/status-mobile/job/prs/job/tests/job/PR-21655/6/) | 2024-11-24 07:21:56 | ~2 min | `tests` | [:page_facing_up:`log`](https://ci.status.im/job/status-mobile/job/prs/job/tests/job/PR-21655/6/consoleText) | | :heavy_check_mark: | f8ccd624 | [#6](https://ci.status.im/job/status-mobile/job/prs/job/android-e2e/job/PR-21655/6/) | 2024-11-24 07:26:12 | ~6 min | `android-e2e` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241124-071923-f8ccd6-pr21655-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-241124-071923-f8ccd6-pr21655-x86_64.apk)| | :heavy_check_mark: | f8ccd624 | [#6](https://ci.status.im/job/status-mobile/job/prs/job/android/job/PR-21655/6/) | 2024-11-24 07:27:25 | ~7 min | `android` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241124-071927-f8ccd6-pr21655-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-241124-071927-f8ccd6-pr21655-arm64-v8a.apk)| | :heavy_check_mark: | f8ccd624 | [#6](https://ci.status.im/job/status-mobile/job/prs/job/ios/job/PR-21655/6/) | 2024-11-24 07:28:21 | ~8 min | `ios` | [:iphone:`ipa`](https://i.diawi.com/oJMoVV) [:calling:](https://chart.apis.google.com/chart?cht=qr&chs=400x400&chld=L%7C%0A1&chl=https%3A%2F%2Fi.diawi.com%2FoJMoVV)| | | | | | | | | | :heavy_check_mark: | 3c49d9aa | [#7](https://ci.status.im/job/status-mobile/job/prs/job/tests/job/PR-21655/7/) | 2024-11-25 08:47:12 | ~4 min | `tests` | [:page_facing_up:`log`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241125-084249-3c49d9-pr21655-tests.log) | | :heavy_check_mark: | 3c49d9aa | [#7](https://ci.status.im/job/status-mobile/job/prs/job/android-e2e/job/PR-21655/7/) | 2024-11-25 08:49:33 | ~6 min | `android-e2e` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241125-084244-3c49d9-pr21655-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-241125-084244-3c49d9-pr21655-x86_64.apk)| | :heavy_check_mark: | 3c49d9aa | [#7](https://ci.status.im/job/status-mobile/job/prs/job/android/job/PR-21655/7/) | 2024-11-25 08:50:48 | ~8 min | `android` | [:robot:`apk`](https://status-im-mobile-prs.ams3.cdn.digitaloceanspaces.com/StatusIm-Mobile-241125-084244-3c49d9-pr21655-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-241125-084244-3c49d9-pr21655-arm64-v8a.apk)| | :heavy_check_mark: | 3c49d9aa | [#7](https://ci.status.im/job/status-mobile/job/prs/job/ios/job/PR-21655/7/) | 2024-11-25 08:51:50 | ~9 min | `ios` | [:iphone:`ipa`](https://i.diawi.com/CE8RYJ) [:calling:](https://chart.apis.google.com/chart?cht=qr&chs=400x400&chld=L%7C%0A1&chl=https%3A%2F%2Fi.diawi.com%2FCE8RYJ)|
:grey_question: Commit :hash: Finished (UTC) Duration Platform Result
:heavy_check_mark: d62975fa #8 2024-11-25 09:25:01 ~4 min tests :page_facing_up:log
:heavy_check_mark: d62975fa #8 2024-11-25 09:28:34 ~8 min android-e2e :robot:apk :calling:
:heavy_check_mark: d62975fa #8 2024-11-25 09:28:41 ~8 min android :robot:apk :calling:
:heavy_check_mark: d62975fa #8 2024-11-25 09:29:08 ~8 min ios :iphone:ipa :calling:
:heavy_check_mark: 7f754a1c #9 2024-11-25 10:14:37 ~4 min tests :page_facing_up:log
:heavy_check_mark: 7f754a1c #9 2024-11-25 10:17:22 ~7 min android-e2e :robot:apk :calling:
:heavy_check_mark: 7f754a1c #9 2024-11-25 10:17:55 ~7 min android :robot:apk :calling:
:heavy_check_mark: 7f754a1c #9 2024-11-25 10:18:53 ~8 min ios :iphone:ipa :calling:
status-im-auto commented 12 hours ago

0% of end-end tests have passed

Total executed tests: 8
Failed tests: 7
Expected to fail tests: 1
Passed tests: 0
IDs of failed tests: 727230,727231,702745,702742,740490,727229,703133 
IDs of expected to fail tests: 702843 

Failed tests (7)

Click to expand
  • Rerun failed tests

  • Class TestCommunityOneDeviceMerged:

    1. test_community_copy_and_paste_message_in_chat_input, id: 702742

    Device 1: Find `Button` by `accessibility id`: `new-to-status-button`
    Device 1: Wait for element `Button` for max 30s and click when it is available

    ``` Test setup failed: critical/chats/test_public_chat_browsing.py:26: in prepare_devices self.home = self.sign_in.create_user(username=self.username) ../views/sign_in_view.py:245: in create_user self.not_now_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 xpath:`//*[@text='Not now']` is not found on the screen after wait_for_visibility_of_element ```

    Device sessions

    2. test_restore_multiaccount_with_waku_backup_remove_profile_switch, id: 703133
    ``` Test setup failed: critical/chats/test_public_chat_browsing.py:26: in prepare_devices self.home = self.sign_in.create_user(username=self.username) ../views/sign_in_view.py:245: in create_user self.not_now_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 xpath:`//*[@text='Not now']` is not found on the screen after wait_for_visibility_of_element ```

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745

    Device 2: Wait for element `Button` for max 30s and click when it is available
    Device 1: Wait for element `Button` for max 30s and click when it is available

    ``` Test setup failed: critical/chats/test_1_1_public_chats.py:24: in prepare_devices self.loop.run_until_complete(run_in_parallel(((self.device_1.create_user, {'enable_notifications': True, /usr/lib/python3.10/asyncio/base_events.py:649: in run_until_complete return future.result() __init__.py:52: in run_in_parallel returns.append(await k) /usr/lib/python3.10/concurrent/futures/thread.py:58: in run result = self.fn(*self.args, **self.kwargs) ../views/sign_in_view.py:245: in create_user self.not_now_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 xpath:`//*[@text='Not now']` is not found on the screen after wait_for_visibility_of_element ```

    Device sessions

    Class TestWalletMultipleDevice:

    1. test_wallet_send_asset_from_drawer, id: 727230
    ``` Test setup failed: critical/test_wallet.py:28: in prepare_devices self.loop.run_until_complete( /usr/lib/python3.10/asyncio/base_events.py:649: in run_until_complete return future.result() __init__.py:52: in run_in_parallel returns.append(await k) /usr/lib/python3.10/concurrent/futures/thread.py:58: in run result = self.fn(*self.args, **self.kwargs) ../views/sign_in_view.py:270: in recover_access self.not_now_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 xpath:`//*[@text='Not now']` is not found on the screen after wait_for_visibility_of_element ```

    2. test_wallet_send_eth, id: 727229

    Device 2: Wait for element `Button` for max 30s and click when it is available
    Device 1: Wait for element `Button` for max 30s and click when it is available

    ``` Test setup failed: critical/test_wallet.py:28: in prepare_devices self.loop.run_until_complete( /usr/lib/python3.10/asyncio/base_events.py:649: in run_until_complete return future.result() __init__.py:52: in run_in_parallel returns.append(await k) /usr/lib/python3.10/concurrent/futures/thread.py:58: in run result = self.fn(*self.args, **self.kwargs) ../views/sign_in_view.py:270: in recover_access self.not_now_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 xpath:`//*[@text='Not now']` is not found on the screen after wait_for_visibility_of_element ```

    Class TestWalletOneDevice:

    1. test_wallet_add_remove_regular_account, id: 727231
    ``` Test setup failed: critical/test_wallet.py:210: in prepare_devices self.sign_in_view.recover_access(passphrase=self.sender['passphrase'], username=self.sender_username) ../views/sign_in_view.py:270: in recover_access self.not_now_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 xpath:`//*[@text='Not now']` is not found on the screen after wait_for_visibility_of_element ```

    2. test_wallet_balance_mainnet, id: 740490

    Device 1: Find `Button` by `accessibility id`: `new-to-status-button`
    Device 1: Wait for element `Button` for max 30s and click when it is available

    ``` Test setup failed: critical/test_wallet.py:210: in prepare_devices self.sign_in_view.recover_access(passphrase=self.sender['passphrase'], username=self.sender_username) ../views/sign_in_view.py:270: in recover_access self.not_now_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 xpath:`//*[@text='Not now']` is not found on the screen after wait_for_visibility_of_element ```

    Expected to fail tests (1)

    Click to expand

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_message_edit, id: 702843
    ``` Test is not run, e2e blocker ``` [[reason: [NOTRUN] Skipped due to waku issue on staging fleet]]