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

fix alert banner issues #19773

Merged
merged 1 commit into from Apr 29, 2024
Merged

fix alert banner issues #19773

merged 1 commit into from Apr 29, 2024

Conversation

Parveshdhull
Copy link
Member

@Parveshdhull Parveshdhull commented Apr 24, 2024

fixes #19506

Testing Note:

  • Communities screen, chat screen and create wallet issues should be fixed
  • Legacy screens use a native topbar whose position can't be changed. So we can't fix these screens. But these screens are legacy and will be removed.
  • Please let me know if there any other screen where alert banner is causing problem

status: ready

@status-github-bot status-github-bot bot added this to REVIEW in Pipeline for QA Apr 24, 2024
@Parveshdhull Parveshdhull self-assigned this Apr 24, 2024
@status-im-auto
Copy link
Member

status-im-auto commented Apr 24, 2024

Jenkins Builds

Click to see older builds (56)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 529bcc7 #1 2024-04-24 07:32:18 ~4 min tests 📄log
✔️ 529bcc7 #1 2024-04-24 07:36:21 ~8 min ios 📱ipa 📲
✔️ 529bcc7 #1 2024-04-24 07:38:11 ~10 min android-e2e 🤖apk 📲
✔️ 529bcc7 #1 2024-04-24 07:38:18 ~10 min android 🤖apk 📲
✔️ 052b107 #2 2024-04-24 07:54:19 ~4 min tests 📄log
✔️ 052b107 #2 2024-04-24 07:57:19 ~7 min android-e2e 🤖apk 📲
✔️ 052b107 #2 2024-04-24 07:59:40 ~9 min ios 📱ipa 📲
✔️ 052b107 #2 2024-04-24 08:01:13 ~11 min android 🤖apk 📲
04d017d #3 2024-04-24 08:09:30 ~5 min tests 📄log
✔️ 04d017d #3 2024-04-24 08:09:58 ~6 min android 🤖apk 📲
✔️ 04d017d #3 2024-04-24 08:12:58 ~9 min android-e2e 🤖apk 📲
✔️ 04d017d #3 2024-04-24 08:13:30 ~9 min ios 📱ipa 📲
✔️ 0f8d63b #4 2024-04-24 08:18:34 ~3 min tests 📄log
✔️ 0f8d63b #4 2024-04-24 08:22:47 ~8 min ios 📱ipa 📲
✔️ 0f8d63b #4 2024-04-24 08:24:55 ~10 min android 🤖apk 📲
✔️ 0f8d63b #4 2024-04-24 08:24:58 ~10 min android-e2e 🤖apk 📲
✔️ f38a378 #5 2024-04-24 09:34:09 ~4 min tests 📄log
✔️ f38a378 #5 2024-04-24 09:37:42 ~7 min android-e2e 🤖apk 📲
✔️ f38a378 #5 2024-04-24 09:37:46 ~8 min android 🤖apk 📲
✔️ f38a378 #5 2024-04-24 09:40:51 ~11 min ios 📱ipa 📲
c53ce23 #6 2024-04-24 15:40:09 ~2 min tests 📄log
✔️ c53ce23 #6 2024-04-24 15:45:55 ~8 min ios 📱ipa 📲
✔️ c53ce23 #6 2024-04-24 15:53:18 ~15 min android-e2e 🤖apk 📲
✔️ c53ce23 #6 2024-04-24 15:53:34 ~15 min android 🤖apk 📲
da0c63f #7 2024-04-24 15:57:09 ~3 min tests 📄log
✔️ da0c63f #7 2024-04-24 16:02:31 ~8 min ios 📱ipa 📲
cd73cdb #8 2024-04-24 16:08:46 ~3 min ios 📄log
✔️ cd73cdb #8 2024-04-24 16:09:24 ~4 min tests 📄log
✔️ cd73cdb #8 2024-04-24 16:10:58 ~5 min android-e2e 🤖apk 📲
✔️ cd73cdb #8 2024-04-24 16:16:09 ~10 min android 🤖apk 📲
✔️ cd73cdb #9 2024-04-24 16:18:48 ~8 min ios 📱ipa 📲
✔️ 6678447 #9 2024-04-25 16:02:33 ~6 min tests 📄log
✔️ 6678447 #10 2024-04-25 16:04:02 ~8 min ios 📱ipa 📲
✔️ 6678447 #9 2024-04-25 16:07:53 ~12 min android-e2e 🤖apk 📲
✔️ 6678447 #9 2024-04-25 16:08:03 ~12 min android 🤖apk 📲
f8a4647 #10 2024-04-26 19:05:53 ~4 min tests 📄log
✔️ f8a4647 #11 2024-04-26 19:09:29 ~8 min ios 📱ipa 📲
✔️ f8a4647 #10 2024-04-26 19:13:12 ~12 min android-e2e 🤖apk 📲
✔️ f8a4647 #10 2024-04-26 19:13:12 ~12 min android 🤖apk 📲
a3a16a3 #11 2024-04-26 19:21:53 ~3 min tests 📄log
✔️ a3a16a3 #11 2024-04-26 19:23:59 ~5 min android 🤖apk 📲
✔️ a3a16a3 #12 2024-04-26 19:26:26 ~8 min ios 📱ipa 📲
✔️ a3a16a3 #11 2024-04-26 19:27:11 ~8 min android-e2e 🤖apk 📲
✔️ f7a507a #12 2024-04-28 10:45:25 ~6 min tests 📄log
✔️ f7a507a #13 2024-04-28 10:46:43 ~8 min ios 📱ipa 📲
✔️ f7a507a #12 2024-04-28 10:50:47 ~12 min android 🤖apk 📲
✔️ f7a507a #12 2024-04-28 10:50:48 ~12 min android-e2e 🤖apk 📲
✔️ 4e077b5 #13 2024-04-28 11:38:10 ~6 min tests 📄log
✔️ 4e077b5 #14 2024-04-28 11:39:34 ~8 min ios 📱ipa 📲
✔️ 4e077b5 #13 2024-04-28 11:43:23 ~12 min android-e2e 🤖apk 📲
✔️ 4e077b5 #13 2024-04-28 11:43:29 ~12 min android 🤖apk 📲
fc8b1ae #14 2024-04-29 12:46:13 ~4 min tests 📄log
✔️ fc8b1ae #15 2024-04-29 12:49:50 ~8 min ios 📱ipa 📲
✔️ fc8b1ae #14 2024-04-29 12:54:11 ~12 min android-e2e 🤖apk 📲
✔️ fc8b1ae #14 2024-04-29 12:54:14 ~12 min android 🤖apk 📲
✔️ fc8b1ae #15 2024-04-29 12:57:29 ~4 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 1f0c8e7 #16 2024-04-29 16:06:34 ~6 min tests 📄log
✔️ 1f0c8e7 #16 2024-04-29 16:08:09 ~8 min ios 📱ipa 📲
✔️ 1f0c8e7 #15 2024-04-29 16:12:20 ~12 min android 🤖apk 📲
✔️ 1f0c8e7 #15 2024-04-29 16:12:20 ~12 min android-e2e 🤖apk 📲
✔️ 646ec7a #17 2024-04-29 16:19:53 ~6 min tests 📄log
✔️ 646ec7a #17 2024-04-29 16:21:13 ~8 min ios 📱ipa 📲
✔️ 646ec7a #16 2024-04-29 16:25:02 ~12 min android-e2e 🤖apk 📲
✔️ 646ec7a #16 2024-04-29 16:25:15 ~12 min android 🤖apk 📲

@Parveshdhull Parveshdhull force-pushed the fix/alert-banner-issues branch 3 times, most recently from 04d017d to 0f8d63b Compare April 24, 2024 08:14
@Parveshdhull Parveshdhull moved this from REVIEW to E2E Tests in Pipeline for QA Apr 24, 2024
@@ -133,3 +133,7 @@
(def community-accounts-selection-enabled? true)
(def fetch-messages-enabled? (enabled? (get-config :FETCH_MESSAGES_ENABLED "1")))
(def test-networks-enabled? (enabled? (get-config :TEST_NETWORKS_ENABLED "0")))

;; Alert banners are disabled for debug builds because alert banners overlay
;; interfere with react-native debug tools, such as inspector and Perf monitor
Copy link
Contributor

Choose a reason for hiding this comment

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

+1
Makes total sense to disable it on debug builds

@status-im-auto
Copy link
Member

96% of end-end tests have passed

Total executed tests: 52
Failed tests: 0
Expected to fail tests: 2
Passed tests: 50
IDs of expected to fail tests: 703495,703503 

Expected to fail tests (2)

Click to expand

Class TestCommunityOneDeviceMerged:

1. test_community_discovery, id: 703503
Test is not run, e2e blocker  

[[reason: [NOTRUN] Curated communities not loading, https://github.com//issues/17852]]

Class TestGroupChatMultipleDeviceMergedNewUI:

1. test_group_chat_mute_chat, id: 703495

# STEP: Change device time so chat will be unmuted by timer
Device 2: Long press on ChatElement

critical/chats/test_group_chat.py:464: in test_group_chat_mute_chat
    self.errors.verify_no_errors()
base_test_case.py:190: in verify_no_errors
    pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
 Chat is still muted after timeout 

[[Chat is not unmuted after expected time: https://github.com//issues/19627]]

Device sessions

Passed tests (50)

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_push_emoji, id: 702813
Device sessions

4. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
Device sessions

5. test_1_1_chat_edit_message, id: 702855
Device sessions

6. test_1_1_chat_send_image_save_and_share, id: 703391
Device sessions

7. test_1_1_chat_pin_messages, id: 702731
Device sessions

8. test_1_1_chat_message_reaction, id: 702730
Device sessions

Class TestWalletOneDevice:

1. test_wallet_add_remove_regular_account, id: 727231
Device sessions

2. test_wallet_add_remove_watch_only_account, id: 727232
Device sessions

Class TestWalletMultipleDevice:

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

Class TestGroupChatMultipleDeviceMergedNewUI:

1. test_group_chat_pin_messages, id: 702732
Device sessions

2. test_group_chat_send_image_save_and_share, id: 703297
Device sessions

3. test_group_chat_reactions, id: 703202
Device sessions

4. test_group_chat_join_send_text_messages_push, id: 702807
Device sessions

5. test_group_chat_offline_pn, id: 702808
Device sessions

Class TestActivityMultipleDevicePRTwo:

1. test_activity_center_mentions, id: 702957
Device sessions

2. test_activity_center_admin_notification_accept_swipe, id: 702958
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_undo_delete_message, id: 702869
Device sessions

4. test_community_navigate_to_channel_when_relaunch, id: 702846
Device sessions

5. test_community_mute_community_and_channel, id: 703382
Device sessions

Class TestActivityMultipleDevicePR:

1. test_navigation_jump_to, id: 702936
Device sessions

2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
Device sessions

Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

1. test_1_1_chat_delete_via_long_press_relogin, id: 702784
Device sessions

2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
Device sessions

3. test_1_1_chat_mute_chat, id: 703496
Device sessions

Class TestActivityCenterContactRequestMultipleDevicePR:

1. test_add_contact_field_validation, id: 702777
Device sessions

2. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
Device sessions

3. test_activity_center_contact_request_decline, id: 702850
Device sessions

Class TestDeepLinksOneDevice:

1. test_links_open_universal_links_from_chat, id: 704613
Device sessions

2. test_links_deep_links, id: 702775
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_edit_delete_message_when_offline, id: 704615
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_unread_messages_badge, id: 702841
Device sessions

Class TestCommunityMultipleDeviceMergedTwo:

1. test_community_markdown_support, id: 702809
Device sessions

2. test_community_hashtag_links_to_community_channels, id: 702948
Device sessions

3. test_community_mentions_push_notification, id: 702786
Device sessions

4. test_community_leave, id: 702845
Device sessions

5. test_community_join_when_node_owner_offline, id: 703629
Device sessions

@pavloburykh pavloburykh self-assigned this Apr 24, 2024
@pavloburykh pavloburykh moved this from E2E Tests to IN TESTING in Pipeline for QA Apr 24, 2024
@pavloburykh
Copy link
Contributor

@Parveshdhull thank you for the PR.

Please, take a look at the following issues. All of them are IOS related. Tested on iPhone X, IOS 16.7.7

ISSUE 1 Composer is overlayed by opened keyboard (IOS)

telegram-cloud-document-2-5280547722179398306.mp4

@pavloburykh
Copy link
Contributor

ISSUE 2 Save button is overlayed by opened keyboard on Bio/Name screens

Steps:

  1. Go to Profile - Edit Profile - Name/Bio
  2. Pay attention at Save button

Actual result:

telegram-cloud-document-2-5280547722179398290.mp4

@pavloburykh
Copy link
Contributor

ISSUE 3 Some legacy settings are overlayed by banner

telegram-cloud-document-2-5280547722179398322.mp4

@pavloburykh
Copy link
Contributor

Unfortunately I was not able to test this issue on IOS, because fetching communities is blocked by #19736

@Parveshdhull
Copy link
Member Author

Parveshdhull commented Apr 24, 2024

Thank you @pavloburykh for testing the PR and finding these issues. Sorry I only tested android and missed these issues in IOS (for some reason my iphone takes around an hour to install PR builds)

I will push fix for issue 1 and 2 soon. Issue 3 is expected(please check PR description) and overlapping of legacy screens can't be fixed, but I think we can get rid of black area. (will check that)

@pavloburykh
Copy link
Contributor

ISSUE 4 Open keyboard overlays Confirm button on Edit Account Screen (IOS)

Steps:

  1. Go to Wallet tab - enter existing account - top right menu button - edit account
  2. See open keyboard overlays confirm button
telegram-cloud-document-2-5280547722179398349.mp4

@status-im-auto
Copy link
Member

88% of end-end tests have passed

Total executed tests: 52
Failed tests: 5
Expected to fail tests: 1
Passed tests: 46
IDs of failed tests: 727230,702777,702851,727229,703391 
IDs of expected to fail tests: 703503 

Failed tests (5)

Click to expand
  • Rerun failed tests

  • Class TestWalletMultipleDevice:

    1. test_wallet_send_asset_from_drawer, id: 727230

    Device 1: Long press on `AssetElement`
    Device 1: Find `EditBox` by `accessibility id`: `address-text-input`

    critical/test_wallet.py:123: in test_wallet_send_asset_from_drawer
        self.wallet_1.send_asset_from_drawer(address=self.receiver['address'], asset_name='Ether',
    ../views/wallet_view.py:100: in send_asset_from_drawer
        self.address_text_input.send_keys(address)
    ../views/base_element.py:377: in send_keys
        self.find_element().send_keys(value)
    ../views/base_element.py:79: in find_element
        raise NoSuchElementException(
     Device 1: EditBox by accessibility id: `address-text-input` is not found on the screen; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
    



    2. test_wallet_send_eth, id: 727229

    Device 1: Find Text by xpath: //android.view.ViewGroup[@content-desc='container']/android.widget.TextView[@text='Ether']/../android.widget.TextView[3]
    Device 1: Text is 0.04617 ETH

    critical/test_wallet.py:112: in test_wallet_send_eth
        self._check_balances_after_tx(amount_to_send, sender_balance, receiver_balance, eth_amount_sender,
    critical/test_wallet.py:98: in _check_balances_after_tx
        self.errors.verify_no_errors()
    base_test_case.py:190: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Eth amount in the receivers wallet is 0.0272 but should be 0.0273
    E    Eth amount in the senders wallet is 0.0462 but should be 0.0461
    



    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_add_contact_field_validation, id: 702777

    Device 2: Tap on found: LogInButton
    ## Signed in successfully!

    activity_center/test_activity_center.py:176: in test_add_contact_field_validation
        self.loop.run_until_complete(run_in_parallel(((_device_1_creates_user, {}),
    /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)
    activity_center/test_activity_center.py:166: in _device_1_creates_user
        self.profile_1.driver.reset()
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/appium/webdriver/extensions/applications.py:299: in reset
        self.execute(Command.RESET)
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:345: in execute
        self.error_handler.check_response(response)
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/appium/webdriver/errorhandler.py:122: in check_response
        raise exception_class(msg=message, stacktrace=format_stacktrace(stacktrace))
     A session is either terminated or not started
    E   Stacktrace:
    E   NoSuchDriverError: A session is either terminated or not started
    E       at asyncHandler (/mnt/sauce/appium/appium-v2.0.0/packages/base-driver/lib/protocol/protocol.js:315:15)
    E       at /mnt/sauce/appium/appium-v2.0.0/packages/base-driver/lib/protocol/protocol.js:518:15
    E       at Layer.handle [as handle_request] (/mnt/sauce/appium/appium-v2.0.0/node_modules/express/lib/router/layer.js:95:5)
    E       at next (/mnt/sauce/appium/appium-v2.0.0/node_modules/express/lib/router/route.js:144:13)
    E       at Route.dispatch (/mnt/sauce/appium/appium-v2.0.0/node_modules/express/lib/router/route.js:114:3)
    E       at Layer.handle [as handle_request] (/mnt/sauce/appium/appium-v2.0.0/node_modules/express/lib/router/layer.js:95:5)
    E       at /mnt/sauce/appium/appium-v2.0.0/node_modules/express/lib/router/index.js:284:15
    E       at param (/mnt/sauce/appium/appium-v2.0.0/node_modules/express/lib/router/index.js:365:14)
    E       at param (/mnt/sauce/appium/appium-v2.0.0/node_modules/express/lib/router/index.js:376:14)
    E       at Function.process_params (/mnt/sauce/appium/appium-v2.0.0/node_modules/express/lib/router/index.js:421:3)
    E       at next (/mnt/sauce/appium/appium-v2.0.0/node_modules/express/lib/router/index.js:280:10)
    E       at logger (/mnt/sauce/appium/appium-v2.0.0/node_modules/morgan/index.js:144:5)
    E       at Layer.handle [as handle_request] (/mnt/sauce/appium/appium-v2.0.0/node_modules/express/lib/router/layer.js:95:5)
    E       at trim_prefix (/mnt/sauce/appium/appium-v2.0.0/node_modules/express/lib/router/index.js:328:13)
    E       at /mnt/sauce/appium/appium-v2.0.0/node_modules/express/lib/router/index.js:286:9
    E       at Function.process_params (/mnt/sauce/appium/appium-v2.0.0/node_modules/express/lib/router/index.js:346:12)
    E       at next (/mnt/sauce/appium/appium-v2.0.0/node_modules/express/lib/router/index.js:280:10)
    E       at /mnt/sauce/appium/appium-v2.0.0/node_modules/body-parser/lib/read.js:137:5
    E       at AsyncResource.runInAsyncScope (node:async_hooks:204:9)
    E       at invokeCallback (/mnt/sauce/appium/appium-v2.0.0/node_modules/raw-body/index.js:238:16)
    E       at done (/mnt/sauce/appium/appium-v2.0.0/node_modules/raw-body/index.js:227:7)
    E       at IncomingMessage.onEnd (/mnt/sauce/appium/appium-v2.0.0/node_modules/raw-body/index.js:287:7)
    E       at IncomingMessage.emit (node:events:513:28)
    E       at endReadableNT (node:internal/streams/readable:1359:12)
    E       at processTicksAndRejections (node:internal/process/task_queues:82:21)
    



    Device sessions

    2. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851

    Device 1: Tap on found: Button
    # STEP: Device1 check that contact appeared in contact list mutually

    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/urllib3/connectionpool.py:703: in urlopen
        httplib_response = self._make_request(
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/urllib3/connectionpool.py:449: in _make_request
        six.raise_from(e, None)
    <string>:3: in raise_from
        ???
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/urllib3/connectionpool.py:444: in _make_request
        httplib_response = conn.getresponse()
    /usr/lib/python3.10/http/client.py:1375: in getresponse
        response.begin()
    /usr/lib/python3.10/http/client.py:318: in begin
        version, status, reason = self._read_status()
    /usr/lib/python3.10/http/client.py:287: in _read_status
        raise RemoteDisconnected("Remote end closed connection without"
    E   http.client.RemoteDisconnected: Remote end closed connection without response
    
    During handling of the above exception, another exception occurred:
    activity_center/test_activity_center.py:142: in test_activity_center_contact_request_accept_swipe_mark_all_as_read
        self.home_2.navigate_back_to_home_view()
    ../views/base_view.py:422: in navigate_back_to_home_view
        while not self.chat_floating_screen.is_element_disappeared(1) \
    ../views/base_element.py:231: in is_element_disappeared
        return self.wait_for_invisibility_of_element(sec)
    ../views/base_element.py:154: in wait_for_invisibility_of_element
        .until(expected_conditions.invisibility_of_element_located((self.by, self.locator)))
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py:86: in until
        value = method(self._driver)
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py:319: in _predicate
        target = driver.find_element(*target)
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/appium/webdriver/webdriver.py:409: in find_element
        return self.execute(RemoteCommand.FIND_ELEMENT, {'using': by, 'value': value})['value']
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py:343: in execute
        response = self.command_executor.execute(driver_command, params)
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py:291: in execute
        return self._request(command_info[0], url, body=data)
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py:312: in _request
        response = self._conn.request(method, url, body=body, headers=headers)
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/urllib3/request.py:78: in request
        return self.request_encode_body(
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/urllib3/request.py:170: in request_encode_body
        return self.urlopen(method, url, **extra_kw)
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/urllib3/poolmanager.py:376: in urlopen
        response = conn.urlopen(method, u.request_uri, **kw)
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/urllib3/connectionpool.py:787: in urlopen
        retries = retries.increment(
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/urllib3/util/retry.py:550: in increment
        raise six.reraise(type(error), error, _stacktrace)
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/urllib3/packages/six.py:769: in reraise
        raise value.with_traceback(tb)
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/urllib3/connectionpool.py:703: in urlopen
        httplib_response = self._make_request(
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/urllib3/connectionpool.py:449: in _make_request
        six.raise_from(e, None)
    <string>:3: in raise_from
        ???
    ../../../../status-app-prs@tmp/venv/lib/python3.10/site-packages/urllib3/connectionpool.py:444: in _make_request
        httplib_response = conn.getresponse()
    /usr/lib/python3.10/http/client.py:1375: in getresponse
        response.begin()
    /usr/lib/python3.10/http/client.py:318: in begin
        version, status, reason = self._read_status()
    /usr/lib/python3.10/http/client.py:287: in _read_status
        raise RemoteDisconnected("Remote end closed connection without"
     ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
    



    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_send_image_save_and_share, id: 703391

    Device 2: Find Button by accessibility id: image-0
    Device 2: Click system back button

    critical/chats/test_1_1_public_chats.py:458: in test_1_1_chat_send_image_save_and_share
        self.errors.verify_no_errors()
    base_test_case.py:190: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Not expected image is shown to the receiver.
    



    Device sessions

    Expected to fail tests (1)

    Click to expand

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Curated communities not loading, https://github.com//issues/17852]]

    Passed tests (46)

    Click to expand

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Class TestDeepLinksOneDevice:

    1. test_links_open_universal_links_from_chat, id: 704613
    Device sessions

    2. test_links_deep_links, id: 702775
    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_edit_delete_message_when_offline, id: 704615
    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_unread_messages_badge, id: 702841
    Device sessions

    Class TestWalletOneDevice:

    1. test_wallet_add_remove_regular_account, id: 727231
    Device sessions

    2. test_wallet_add_remove_watch_only_account, id: 727232
    Device sessions

    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_push_emoji, id: 702813
    Device sessions

    4. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    5. test_1_1_chat_edit_message, id: 702855
    Device sessions

    6. test_1_1_chat_pin_messages, id: 702731
    Device sessions

    7. 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_undo_delete_message, id: 702869
    Device sessions

    4. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    5. test_community_mute_community_and_channel, id: 703382
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    3. test_community_mentions_push_notification, id: 702786
    Device sessions

    4. test_community_leave, id: 702845
    Device sessions

    5. test_community_join_when_node_owner_offline, id: 703629
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    3. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732
    Device sessions

    2. test_group_chat_mute_chat, id: 703495
    Device sessions

    3. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    4. test_group_chat_reactions, id: 703202
    Device sessions

    5. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    6. test_group_chat_offline_pn, id: 702808
    Device sessions

    @pavloburykh
    Copy link
    Contributor

    I will push fix for issue 1 and 2 soon.

    Thank you @Parveshdhull!

    Issue 3 is expected(please check PR description)

    Sorry @Parveshdhull I have missed this comment.

    but I think we can get rid of black area. (will check that)

    I think it should be fixed in #19735 I will check after you rebase this PR after fixes to make sure.

    @Parveshdhull
    Copy link
    Member Author

    Parveshdhull commented Apr 24, 2024

    @pavloburykh Thank you for finding these, issue 1, 2 and 4 should be fixed now.
    (upd: oops component-tests failed, pushing fix)
    upd2: fixed

    @pavloburykh
    Copy link
    Contributor

    @pavloburykh Thank you for finding these, issue 1, 2 and 4 should be fixed now. (upd: oops component-tests failed, pushing fix) upd2: fixed

    @Parveshdhull thanks for the fixes.

    ISSUE 2 Save button is overlayed by opened keyboard on Bio/Name screens

    is fixed partially. Edit name screen looks fine but on Bio screen keyboard still overlays Save button on IOS. Please take a look.

    telegram-cloud-document-2-5282805973033961743.mp4

    @pavloburykh
    Copy link
    Contributor

    ISSUE 5 Expanded composer is overlapped by Banner

    Reproducible both on IOS and Android

    Steps:

    1. Expand the composer
    2. See if composer is not overlapped by Banner.

    Actual result: expanded composer is overlapped by Banner. Unable to fold the composer by swipe.

    telegram-cloud-document-2-5282805973033961779.mp4

    @Parveshdhull
    Copy link
    Member Author

    Thank you @pavloburykh for finding these issues, both issues should be fixed now.

    @pavloburykh
    Copy link
    Contributor

    @Parveshdhull thank you for fixing those issue. Please take a look at another one

    ISSUE 6 Expanded composer is hardly foldable on IOS

    Reproducible on IOS only.

    I am hardly able to fold expanded composer. Typically it should work by pulling the edge of the composer.

    Please, take a look how it behaves now:

    telegram-cloud-document-2-5287580984529670079.mp4

    @Parveshdhull
    Copy link
    Member Author

    Issue 7
    IOS native image picker cance/select button gets overlapped by alert banner.

    @Parveshdhull Parveshdhull force-pushed the fix/alert-banner-issues branch 3 times, most recently from f7a507a to 4e077b5 Compare April 28, 2024 11:30
    @Parveshdhull
    Copy link
    Member Author

    Thank you @pavloburykh for finding issue 6, it was an interesting one. Should be fixed now.

    About issue 7, I am not able to change the height of the native image picker for iOS, so for the time being I just hid the alert banner on this screen (only in iOS). We can further improve it later if needed, wdyt?

    @pavloburykh
    Copy link
    Contributor

    Thank you @pavloburykh for finding issue 6, it was an interesting one. Should be fixed now.

    Hey @Parveshdhull! Thanks a lot for fixing the issue. Looks good to me now!

    About issue 7, I am not able to change the height of the native image picker for iOS, so for the time being I just hid the alert banner on this screen (only in iOS). We can further improve it later if needed, wdyt?

    I think hiding banner on this screen is a good a solution and we are fine to go with it, thank you.

    @Parveshdhull I have noticed another issue. Please take a look. I believe I can log it as followup if you prefer to get this PR merged first.

    ISSUE 8 Carousel with image preview is cut in gallery view mode

    Affects both IOS and Android

    Steps:

    1. Send a message with image
    2. Open the sent image
    3. Pay attention at carousel with image preview at the bottom.

    Actual result: image preview is cut.

    telegram-cloud-document-2-5294183719358186096.mp4

    Android:

    photo_2024-04-29 15 00 20

    IOS:

    photo_2024-04-29 15 00 24

    @flexsurfer
    Copy link
    Member

    it doesn't look that it's worth it, should we just simplify the banner? cc @alwx

    @pavloburykh
    Copy link
    Contributor

    it doesn't look that it's worth it, should we just simplify the banner? cc @alwx

    Hey @flexsurfer!
    @Parveshdhull has already done a great amount of job and successfully fixed most of banner related issues.

    @Parveshdhull
    Copy link
    Member Author

    Parveshdhull commented Apr 29, 2024

    thank you @pavloburykh for finding issue 8, should be fixed now.

    UPD: component-tests failed will push a fix.

    @Parveshdhull
    Copy link
    Member Author

    upd2: failed component tests were not related to PR, rerunning worked

    @Parveshdhull
    Copy link
    Member Author

    Thank you very much Pavlo for all your help and patience while testing the PR.
    As discussed merging the PR with fixes. Thank you

    @Parveshdhull Parveshdhull merged commit b65ac2a into develop Apr 29, 2024
    6 checks passed
    Pipeline for QA automation moved this from IN TESTING to DONE Apr 29, 2024
    @Parveshdhull Parveshdhull deleted the fix/alert-banner-issues branch April 29, 2024 16:26
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    Development

    Successfully merging this pull request may close these issues.

    "Testnet mode enabled" banner issues
    5 participants