You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Parveshdhull
changed the title
test: fix Home-stack overlaps bottom tabs in Xiaomi devices on first run
fix Home-stack overlaps bottom tabs in Xiaomi devices on first run
May 8, 2023
critical/test_public_chat_browsing.py:461: in test_community_message_send_check_timestamps_sender_username
channel.verify_message_is_under_today_text(message, self.errors)
../views/chat_view.py:927: in verify_message_is_under_today_text
message_element.wait_for_visibility_of_element()
../views/base_element.py:135: in wait_for_visibility_of_element
raise TimeoutException(
Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'hello')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element
Test setup failed: critical/chats/test_group_chat.py:198: in prepare_devices
self.chats[0] = self.homes[0].create_group_chat(user_names_to_add=[self.usernames[1], self.usernames[2]]</b>,
../views/home_view.py:359: in create_group_chat
chat.chat_name_editbox.send_keys(group_chat_name)
../views/base_element.py:348: in send_keys
self.find_element().send_keys(value)
../views/base_element.py:80: in find_element
raise NoSuchElementException(
Device 1: EditBox by accessibility id: `chat-name-input` is not found on the screen
Device 1: Find EditBox by accessibility id: chat-name-input
Test setup failed: critical/chats/test_group_chat.py:198: in prepare_devices
self.chats[0] = self.homes[0].create_group_chat(user_names_to_add=[self.usernames[1], self.usernames[2]]</b>,
../views/home_view.py:359: in create_group_chat
chat.chat_name_editbox.send_keys(group_chat_name)
../views/base_element.py:348: in send_keys
self.find_element().send_keys(value)
../views/base_element.py:80: in find_element
raise NoSuchElementException(
Device 1: EditBox by accessibility id: `chat-name-input` is not found on the screen
Test setup failed: critical/chats/test_group_chat.py:198: in prepare_devices
self.chats[0] = self.homes[0].create_group_chat(user_names_to_add=[self.usernames[1], self.usernames[2]]</b>,
../views/home_view.py:359: in create_group_chat
chat.chat_name_editbox.send_keys(group_chat_name)
../views/base_element.py:348: in send_keys
self.find_element().send_keys(value)
../views/base_element.py:80: in find_element
raise NoSuchElementException(
Device 1: EditBox by accessibility id: `chat-name-input` is not found on the screen
Device 1: Find RepliedMessageText by xpath: //*[starts-with(@text,'test message')]/preceding::android.widget.TextView[@content-desc='quoted-message']
Device 1: RepliedMessageText is 📶
critical/test_public_chat_browsing.py:526: in test_community_emoji_send_copy_paste_reply
self.errors.verify_no_errors()
base_test_case.py:184: in verify_no_errors
pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
Emoji message was not copied
[[flaky test; sometimes can not be copied through appium]]
critical/test_public_chat_browsing.py:461: in test_community_message_send_check_timestamps_sender_username
channel.verify_message_is_under_today_text(message, self.errors)
../views/chat_view.py:927: in verify_message_is_under_today_text
message_element.wait_for_visibility_of_element()
../views/base_element.py:135: in wait_for_visibility_of_element
raise TimeoutException(
Device 2: ChatElementByText by xpath:`//*[starts-with(@text,'hello')]/ancestor::android.view.ViewGroup[@content-desc='chat-item']` is not found on the screen after wait_for_visibility_of_element
@Parveshdhull thanx for the fix! Looks good both for me on emulator and for @churik on her Xiaomi. Failed tests are not PR related. Ready to be merged.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes: #15164
Review Notes:
Leftover from #14639 (comment)
Moving screen height to on-boarding, so home-stack height will be correct even for first run.
Testing
@churik @pavloburykh can you please check if this fixes the home-stack height in xiaomi device and emulator
status: ready