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

multiaccounts refactoring S3, refactor keychain and touchid, move and refactor create/recover/login profile #16448

Merged
merged 5 commits into from
Jul 6, 2023

Conversation

flexsurfer
Copy link
Member

@flexsurfer flexsurfer commented Jun 30, 2023

new namespaces

react-native.touch-id
react-native.keychain
status-im2.common.keychain.events
status-im2.common.biometric.events

moved profiles views from onboarding to profile namespace
moved and refactored create/recover/login from multiaccounts to profile
image

removed a lot of outdated stale code

@status-im-auto
Copy link
Member

status-im-auto commented Jun 30, 2023

Jenkins Builds

Click to see older builds (23)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 2e1a488 #2 2023-06-30 07:08:29 ~6 min ios 📱ipa 📲
✔️ 2e1a488 #2 2023-06-30 07:08:53 ~7 min android 🤖apk 📲
✔️ 2e1a488 #2 2023-06-30 07:08:54 ~7 min android-e2e 🤖apk 📲
✔️ 39131eb #3 2023-06-30 07:15:17 ~5 min android-e2e 🤖apk 📲
✔️ 39131eb #3 2023-06-30 07:15:18 ~5 min ios 📱ipa 📲
✔️ 39131eb #3 2023-06-30 07:15:40 ~6 min android 🤖apk 📲
39131eb #3 2023-06-30 07:25:06 ~15 min tests 📄log
✔️ c5174ef #4 2023-07-03 15:08:15 ~5 min ios 📱ipa 📲
✔️ c5174ef #4 2023-07-03 15:08:51 ~6 min android 🤖apk 📲
✔️ c5174ef #4 2023-07-03 15:10:26 ~7 min android-e2e 🤖apk 📲
✔️ c5174ef #4 2023-07-03 15:11:04 ~8 min tests 📄log
✔️ fe80fbe #5 2023-07-04 07:28:25 ~5 min ios 📱ipa 📲
✔️ fe80fbe #5 2023-07-04 07:31:02 ~8 min tests 📄log
✔️ fe80fbe #5 2023-07-04 07:39:33 ~17 min android-e2e 🤖apk 📲
✔️ fe80fbe #5 2023-07-04 07:39:34 ~17 min android 🤖apk 📲
✔️ f0f3710 #6 2023-07-04 16:40:56 ~5 min ios 📱ipa 📲
✔️ f0f3710 #6 2023-07-04 16:41:00 ~5 min android 🤖apk 📲
✔️ f0f3710 #6 2023-07-04 16:42:34 ~7 min android-e2e 🤖apk 📲
✔️ f0f3710 #6 2023-07-04 16:43:47 ~8 min tests 📄log
✔️ 73e3216 #7 2023-07-05 14:23:26 ~6 min ios 📱ipa 📲
✔️ 73e3216 #7 2023-07-05 14:24:29 ~7 min android-e2e 🤖apk 📲
✔️ 73e3216 #7 2023-07-05 14:24:33 ~7 min android 🤖apk 📲
✔️ 73e3216 #7 2023-07-05 14:25:26 ~8 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
2cb1613 #8 2023-07-06 07:00:01 ~2 min tests 📄log
✔️ 2cb1613 #8 2023-07-06 07:02:38 ~5 min ios 📱ipa 📲
✔️ 2cb1613 #8 2023-07-06 07:03:00 ~5 min android 🤖apk 📲
✔️ 2cb1613 #8 2023-07-06 07:03:11 ~6 min android-e2e 🤖apk 📲
✔️ 0ce8e26 #9 2023-07-06 07:29:55 ~6 min ios 📱ipa 📲
✔️ 0ce8e26 #9 2023-07-06 07:30:26 ~6 min android-e2e 🤖apk 📲
✔️ 0ce8e26 #9 2023-07-06 07:30:27 ~7 min android 🤖apk 📲
✔️ 0ce8e26 #9 2023-07-06 07:30:52 ~7 min tests 📄log

@flexsurfer flexsurfer self-assigned this Jun 30, 2023
@flexsurfer flexsurfer changed the title [WIP ]multiaccounts refactoring S3 E1, refactor keychain and touchid,simpli… [WIP ]multiaccounts refactoring S3, refactor keychain and touchid,simpli… Jun 30, 2023
@flexsurfer flexsurfer force-pushed the feature/multiaccounts-refactoring-part3 branch from 39131eb to c5174ef Compare July 3, 2023 15:02
@status-im-auto
Copy link
Member

0% of end-end tests have passed

Total executed tests: 33
Failed tests: 33
Passed tests: 0
Not executed tests: 1
IDs of not executed tests: 703202 
IDs of failed tests: 702782,702733,702784,703194,702859,702732,702813,703133,702957,702851,702840,703086,702894,702745,702783,702850,702742,702936,702855,702786,702839,702947,702838,702844,702846,702843,702807,702731,702808,702730,702845,702958,702841 

Not executed tests (1)

Click to expand
  • Rerun not executed tests
  • Failed tests (33)

    Click to expand
  • Rerun failed tests

  • Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194
    Test setup failed: critical/test_public_chat_browsing.py:442: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    2. test_community_one_image_send_reply, id: 702859

    Test setup failed: critical/test_public_chat_browsing.py:442: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    3. test_community_emoji_send_copy_paste_reply, id: 702840

    Test setup failed: critical/test_public_chat_browsing.py:442: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    4. test_community_mark_all_messages_as_read, id: 703086

    Test setup failed: critical/test_public_chat_browsing.py:442: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    5. test_community_contact_block_unblock_offline, id: 702894

    Test setup failed: critical/test_public_chat_browsing.py:442: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    6. test_community_mentions_push_notification, id: 702786

    Test setup failed: critical/test_public_chat_browsing.py:442: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    7. test_community_message_delete, id: 702839

    Test setup failed: critical/test_public_chat_browsing.py:442: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    8. test_community_message_send_check_timestamps_sender_username, id: 702838

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

    Test setup failed: critical/test_public_chat_browsing.py:442: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    9. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844

    Test setup failed: critical/test_public_chat_browsing.py:442: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    10. test_community_message_edit, id: 702843

    Test setup failed: critical/test_public_chat_browsing.py:442: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    11. test_community_leave, id: 702845

    Test setup failed: critical/test_public_chat_browsing.py:442: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    12. test_community_unread_messages_badge, id: 702841

    Test setup failed: critical/test_public_chat_browsing.py:442: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133

    Test setup failed: critical/test_public_chat_browsing.py:311: in prepare_devices
        self.home = self.sign_in.create_user(username=self.username)
    ../views/sign_in_view.py:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    2. test_community_copy_and_paste_message_in_chat_input, id: 702742

    Test setup failed: critical/test_public_chat_browsing.py:311: in prepare_devices
        self.home = self.sign_in.create_user(username=self.username)
    ../views/sign_in_view.py:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    3. test_community_navigate_to_channel_when_relaunch, id: 702846

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

    Test setup failed: critical/test_public_chat_browsing.py:311: in prepare_devices
        self.home = self.sign_in.create_user(username=self.username)
    ../views/sign_in_view.py:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782

    Test setup failed: critical/chats/test_1_1_public_chats.py:837: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733

    Test setup failed: critical/chats/test_1_1_public_chats.py:837: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    3. test_1_1_chat_delete_via_long_press_relogin, id: 702784

    Test setup failed: critical/chats/test_1_1_public_chats.py:837: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    4. test_1_1_chat_push_emoji, id: 702813

    Test setup failed: critical/chats/test_1_1_public_chats.py:837: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    5. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745

    Test setup failed: critical/chats/test_1_1_public_chats.py:837: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    6. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

    Test setup failed: critical/chats/test_1_1_public_chats.py:837: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    7. test_1_1_chat_edit_message, id: 702855

    Test setup failed: critical/chats/test_1_1_public_chats.py:837: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    8. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    9. test_1_1_chat_message_reaction, id: 702730

    Device 1: Tap on found: Button
    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:837: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851

    Test setup failed: medium/test_activity_center.py:17: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    2. test_activity_center_contact_request_decline, id: 702850

    Device 2: Tap on found: Button
    Device 2: Wait for element Button for max 30s and click when it is available

    Test setup failed: medium/test_activity_center.py:17: 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:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    2. test_group_chat_join_send_text_messages_push, id: 702807

    Device 3: Tap on found: Button
    Device 3: Wait for element Button for max 30s and click when it is available

    Test setup failed: critical/chats/test_group_chat.py:154: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    3. test_group_chat_offline_pn, id: 702808

    Test setup failed: critical/chats/test_group_chat.py:154: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    Class TestActivityMultipleDevicePR:

    1. test_activity_center_mentions, id: 702957

    Test setup failed: medium/test_activity_center.py:127: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    2. test_navigation_jump_to, id: 702936

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

    Test setup failed: medium/test_activity_center.py:127: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    Device sessions

    3. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947

    Test setup failed: medium/test_activity_center.py:127: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    4. test_activity_center_admin_notification_accept_swipe, id: 702958

    Test setup failed: medium/test_activity_center.py:127: in prepare_devices
        self.loop.run_until_complete(
    /usr/lib/python3.10/asyncio/base_events.py:646: in run_until_complete
        return future.result()
    __init__.py:44: 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:239: in create_user
        self.identifiers_button.wait_and_click(30)
    ../views/base_element.py:403: in wait_and_click
        self.wait_for_visibility_of_element(sec)
    ../views/base_element.py:135: in wait_for_visibility_of_element
        raise TimeoutException(
     Device 1: Button by accessibility id:`skip-identifiers` is not found on the screen after wait_for_visibility_of_element
    



    @flexsurfer flexsurfer force-pushed the feature/multiaccounts-refactoring-part3 branch from c5174ef to fe80fbe Compare July 4, 2023 07:22
    @flexsurfer flexsurfer changed the title [WIP ]multiaccounts refactoring S3, refactor keychain and touchid,simpli… multiaccounts refactoring S3, refactor keychain and touchid, move and refactor create/recover/login profile Jul 4, 2023
    @@ -0,0 +1,79 @@
    (ns react-native.keychain
    Copy link
    Member Author

    @flexsurfer flexsurfer Jul 4, 2023

    Choose a reason for hiding this comment

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

    just moved and cleaned, not many changes here

    @@ -0,0 +1,19 @@
    (ns react-native.touch-id
    Copy link
    Member Author

    @flexsurfer flexsurfer Jul 4, 2023

    Choose a reason for hiding this comment

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

    just moved and cleaned, not many changes here

    Copy link
    Member Author

    Choose a reason for hiding this comment

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

    all test data is outdated and was removed with the outdated code

    Copy link
    Member Author

    Choose a reason for hiding this comment

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

    same here for tests

    @@ -0,0 +1,76 @@
    (ns status-im2.common.biometric.events
    Copy link
    Member Author

    @flexsurfer flexsurfer Jul 4, 2023

    Choose a reason for hiding this comment

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

    just moved and cleaned, not many changes here

    @@ -0,0 +1,110 @@
    (ns status-im2.common.keychain.events
    Copy link
    Member Author

    Choose a reason for hiding this comment

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

    just moved and cleaned, not many changes here

    @@ -0,0 +1,42 @@
    (ns status-im2.contexts.profile.config
    Copy link
    Member Author

    Choose a reason for hiding this comment

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

    just moved, not many changes here

    @flexsurfer flexsurfer requested a review from ibrkhalil July 4, 2023 08:37
    (:require ["react-native-keychain" :as react-native-keychain]
    [clojure.string :as string]
    [taoensso.timbre :as log]))

    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    extra newline?

    @@ -589,7 +588,8 @@
    (when (and (= card-state :profile/profile)
    (= flow :import))
    (if (common/find-multiaccount-by-key-uid db key-uid)
    (multiaccounts.recover/show-existing-multiaccount-alert key-uid)
    ;; reimplement
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    please consider creating an issue and TODO etc 👍

    Copy link
    Member Author

    Choose a reason for hiding this comment

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

    no need in issues and TODO, keycard will be implemented

    [status-im2.db :as db]))

    (re-frame/reg-fx
    ::logout
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    hmm, do we not want to avoid fx's with :: syntax?

    Copy link
    Member Author

    Choose a reason for hiding this comment

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

    idk, i also have this question, sometimes fx name is the same as event , which is confusing a little bit, we could user -fx suffix, but idk, i feel like :: is kinda ok for private usages, better to discuss with the team

    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    sure, I have no preference here as I'm still very fresh to cljs. 👍

    :on-value-change #(re-frame/dispatch [:multiaccounts/save-password %])}]
    {:checked? save-password?
    :style {:margin-right 10}}]
    ;; should be reimplemented
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    same here, can we have proper issues to track instead?

    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    / just delete the commented code

    Copy link
    Member Author

    Choose a reason for hiding this comment

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

    same here no issue, keycard functionality will be reimplemented with new designs

    Copy link
    Member Author

    Choose a reason for hiding this comment

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

    i want to keep useful comments for developer who will be reimplementing keycard, just to save their time


    ;; These helpers check if the device is okay to use for password storage
    ;; They resolve callback with `true` if the check is passed, with `false` otherwise.
    ;; Android only
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    nit, why not just change function name and remove comment

    (defn- android-device-not-rooted?
    

    Copy link
    Member Author

    Choose a reason for hiding this comment

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

    good question :) we should ask author of this code :)

    Copy link
    Contributor

    @J-Son89 J-Son89 left a comment

    Choose a reason for hiding this comment

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

    If possible that we can have these pr's split up, would make it much easier to review.
    Nevertheless, great work @flexsurfer and very happy to see so much old code get nuked! 💥 💪

    @flexsurfer
    Copy link
    Member Author

    thank @VladimrLitvinenko fixed

    @VolodLytvynenko
    Copy link
    Contributor

    VolodLytvynenko commented Jul 5, 2023

    thank @VladimrLitvinenko fixed

    Hi @flexsurfer

    ISSUE 2 is still reproduced

    Steps:

    User_A Generate valid sync QR code
    User_B Go to the Sign in -> scan QR

    ###Actual result:

    • "Invalid cyphertext length" error is shown during scanning a valid QR code for IOS device
    invalid_cyp_len.mp4
    • App is frozen on "Syncing devices.." screen during scanning a valid QR code for Android device

    image

    Expected result:

    The devices should be able to sync successfully without any errors if QR code is valid (not expired, have not been used before)

    Note:

    The behavior described in the actual result is expected only in cases if the user scans a n invalid sync QR code (QR has already been used. )

    Logs:

    geth.log
    Status.log

    Devices:

    • iPhone 11 Pro max, IOS 16
    • Pixel 7a, Android 13

    @flexsurfer
    Copy link
    Member Author

    hm INFO [status-im2.contexts.syncing.events:70] - Initiated local pairing {:response "{\"error\":\"invalid cyphertext length\"}", :event :syncing/input-connection-string-for-bootstrapping} @VladimrLitvinenko are you sure qrcode is correct ? cc @smohamedjavid

    @VolodLytvynenko
    Copy link
    Contributor

    hm INFO [status-im2.contexts.syncing.events:70] - Initiated local pairing {:response "{\"error\":\"invalid cyphertext length\"}", :event :syncing/input-connection-string-for-bootstrapping} @VladimrLitvinenko are you sure qrcode is correct ? cc @smohamedjavid

    @flexsurfer Could you please check the logs from Android? The previous logs I provided were from iOS.
    On iOS, there might be an issue where it scans the QR code twice if the camera is held over the QR code for a long time or if I accidentally press the "try again" button.

    In the case of Android, the "try again" button is not visible during QR code scanning, which eliminates the possibility of accidentally scanning the QR code twice.

    Status.log
    geth.log

    @flexsurfer
    Copy link
    Member Author

    flexsurfer commented Jul 5, 2023

    hm also strange error [signals] status-node-started error failed to set 'journal_mode' pragma

    @flexsurfer
    Copy link
    Member Author

    flexsurfer commented Jul 5, 2023

    oh i remember its new error for wrong password, so password is wrong for some reason, so login failed, but we don't show anything to user in that case

    [{:keys [db]}]
    (let [{:keys [key-uid name password]} (get-in db [:syncing :profile])]
    {::login [key-uid
    (transforms/clj->json {:name name
    Copy link
    Member

    Choose a reason for hiding this comment

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

    @flexsurfer - You should remove the (transforms/clj->json {:name name :key-uid key-uid}) as the ::login accepts only key-uid and hashed-password.

    This is probably why the pairing is struck on the Syncing devices... screen as we are not passing the password to the login method correctly.

    @status-im-auto
    Copy link
    Member

    91% of end-end tests have passed

    Total executed tests: 34
    Failed tests: 3
    Passed tests: 31
    
    IDs of failed tests: 702732,702844,702731 
    

    Failed tests (3)

    Click to expand
  • Rerun failed tests

  • Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_pin_messages, id: 702731
    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844

    Device 2: Wait for text element EmojisNumber to be equal to 1
    Device 2: Find EmojisNumber by xpath: //*[starts-with(@text,'https://m.youtube.com/watch?v=Je7yErjEVt4')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']/../..//*[@content-desc='emoji-reaction-4']/android.widget.TextView

    critical/test_public_chat_browsing.py:735: in test_community_links_with_previews_github_youtube_twitter_gif_send_enable
        self.errors.verify_no_errors()
    base_test_case.py:182: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Link message reaction is not shown for the sender
    



    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    Passed tests (31)

    Click to expand

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    3. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    4. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    5. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    6. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    7. test_1_1_chat_edit_message, id: 702855
    Device sessions

    8. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    2. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    3. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194
    Device sessions

    2. test_community_one_image_send_reply, id: 702859
    Device sessions

    3. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    4. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    5. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    6. test_community_mentions_push_notification, id: 702786
    Device sessions

    7. test_community_message_delete, id: 702839
    Device sessions

    8. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    9. test_community_message_edit, id: 702843
    Device sessions

    10. test_community_leave, id: 702845
    Device sessions

    11. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_navigation_jump_to, id: 702936
    Device sessions

    3. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    4. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_reactions, id: 703202
    Device sessions

    2. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    3. test_group_chat_offline_pn, id: 702808
    Device sessions

    @smohamedjavid
    Copy link
    Member

    @flexsurfer one more issue is found:

    ISSUE 2: Unable to sync devices with Sign in flow until the app is reopened

    Steps to reproduce:

    1. User_A Generate valid sync QR code
    2. User_B Go to the Sign in -> scan QR

    Actual result:

    The devices are unable to sync successfully. "Syncing device.. " page is shown as Frozen

    Expected result:

    The devices should be able to sync successfully

    Note:

    After reopening the application by User_B, he is directed to the login page where the account of User_A is displayed.

    Logs:

    https://www.dropbox.com/s/hlt862peoreoa9o/geth.log?dl=0 https://www.dropbox.com/scl/fi/q5q04ap4asdcaxcsdndif/Status.log?rlkey=i7f19dp4gmge9cdun1fqcdgmy&dl=0

    Based on the logs, we are receiving the account data as expected.

    INFO [status-im.signals.core:60] - local pairing signal received {:event {:type "received-account", :action 2, :data {:account {:keycard-pairing "", :key-uid "0x85cbc1ccf38a83179296b7f5fe410428361ceaae057db385c303f95059a646e3", :identicon "", :images [{:keyUid "0x85cbc1ccf38a83179296b7f5fe410428361ceaae057db385c303f95059a646e3", :type "large", :uri "data:image/jpeg;base64,/9j/2wCEAAYEBQYFBAYGBQ...JPqcj2pKKK9g8k//9k=", :width 240, :height 240, :fileSize 10205, :resizeTarget 240, :clock 0} {:keyUid "0x85cbc1ccf38a83179296b7f5fe410428361ceaae057db385c303f95059a646e3", :type "thumbnail", :uri "data:image/jpeg;base64,/9j/2wCEAAYEBQYFBAYGB...8X6tdKQVknYjHQdsD2rfBSbm+xxYvWKbP/2Q==", :width 80, :height 80, :fileSize 2107, :resizeTarget 80, :clock 0}], :name "New android guy", :kdfIterations 3200, :customizationColor "army", :timestamp 1688560031, :colorId 5, :colorHash [[2 17] [3 28] [3 20] [3 25] [1 11] [5 10] [2 14] [3 20] [3 16] [5 9] [5 10]]}, :password "0x41e4e0669847db0d819376b72216a02094b5be63e9643da202d34fb46911a4e0"}}}
    

    We need to update the :profile.login/local-paired-user event to send only key-uid and password. Ref: #16448 (comment)

    This will resolve the issue.

    @flexsurfer
    Copy link
    Member Author

    thanks @smohamedjavid , @VladimrLitvinenko should be fixed now

    @status-im-auto
    Copy link
    Member

    85% of end-end tests have passed

    Total executed tests: 34
    Failed tests: 5
    Passed tests: 29
    
    IDs of failed tests: 702732,703133,702745,702783,702731 
    

    Failed tests (5)

    Click to expand
  • Rerun failed tests

  • Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745

    Device 2: Find `MemberPhoto` by `xpath`: `//*[starts-with(@text,'profile_photo')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='user-avatar']`
    Device 2: Image differs from template to 6.136618221507352 percents

    critical/chats/test_1_1_public_chats.py:1128: in test_1_1_chat_non_latin_messages_stack_update_profile_photo
        self.errors.verify_no_errors()
    base_test_case.py:182: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Image of user in 1-1 chat is too different from template!
    



    Device sessions

    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783

    Device 2: Find Text by xpath: //*[starts-with(@text,'test message')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']//*[@content-desc='message-status']/android.widget.TextView
    Device 2: Text is Sent

    critical/chats/test_1_1_public_chats.py:1310: in test_1_1_chat_is_shown_message_sent_delivered_from_offline
        self.errors.verify_no_errors()
    base_test_case.py:182: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Message status was not changed to Delivered, it's Sent after back up online!
    



    Device sessions

    3. test_1_1_chat_pin_messages, id: 702731

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Pin feature is in development]]

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133

    Device 1: Find Button by accessibility id: show-profiles
    Device 1: Tap on found: Button

    critical/test_public_chat_browsing.py:432: in test_restore_multiaccount_with_waku_backup_remove_switch
        self.errors.verify_no_errors()
    base_test_case.py:182: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Contact(s) was (were) not restored from backup: MyCustomNickname!
    



    Device sessions

    Passed tests (29)

    Click to expand

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782
    Device sessions

    2. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    3. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    4. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    5. test_1_1_chat_edit_message, id: 702855
    Device sessions

    6. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    2. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_navigation_jump_to, id: 702936
    Device sessions

    3. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    4. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_reactions, id: 703202
    Device sessions

    2. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    3. test_group_chat_offline_pn, id: 702808
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194
    Device sessions

    2. test_community_one_image_send_reply, id: 702859
    Device sessions

    3. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    4. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    5. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    6. test_community_mentions_push_notification, id: 702786
    Device sessions

    7. test_community_message_delete, id: 702839
    Device sessions

    8. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    9. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    10. test_community_message_edit, id: 702843
    Device sessions

    11. test_community_leave, id: 702845
    Device sessions

    12. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    2. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    @VolodLytvynenko
    Copy link
    Contributor

    Hi @flexsurfer. thank you for the fixes. PR is ready to be merged

    @flexsurfer flexsurfer merged commit 4decba8 into develop Jul 6, 2023
    @flexsurfer flexsurfer deleted the feature/multiaccounts-refactoring-part3 branch July 6, 2023 09:25
    codemaster115 pushed a commit that referenced this pull request Jul 7, 2023
    … refactor create/recover/login profile (#16448)
    
    * multiaccounts refactoring S3 E1, refactor keychain and touchid,simplify app init flow, refactor biometric flow
    * S3 E2 move and refactor create/recover/login methods
    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.

    6 participants