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

Tests/go wait #17477

Merged
merged 1 commit into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions test/appium/tests/critical/test_public_chat_browsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def prepare_devices(self):

@marks.testrail_id(703503)
@marks.xfail(
reason="Request to Join Community button color issue: https://github.com/status-im/status-mobile/issues/17295")
reason="Request to Join Community button color issue:17295")
def test_community_discovery(self):
self.home.navigate_back_to_home_view()
self.home.communities_tab.click()
Expand Down Expand Up @@ -797,8 +797,9 @@ def test_community_emoji_send_copy_paste_reply(self):
self.channel_2.chat_message_input.send_keys(message_text)
self.channel_2.send_message_button.click()
chat_element_1 = self.channel_1.chat_element_by_text(message_text)
if not chat_element_1.is_element_displayed(sec=10) or chat_element_1.replied_message_text != emoji_unicode:
self.errors.append('Reply message was not received by the sender')
chat_element_1.wait_for_element(60)
if chat_element_1.replied_message_text != emoji_unicode:
self.errors.append('Reply message is not reply to original message!')
self.errors.verify_no_errors()

@marks.testrail_id(702844)
Expand Down Expand Up @@ -1089,7 +1090,7 @@ def prepare_devices(self):
self.channel_2 = self.community_2.get_channel(self.channel_name).click()

@marks.testrail_id(702786)
@marks.xfail(reason="Issue with username in PN, https://github.com/status-im/status-mobile/issues/17396")
@marks.xfail(reason="Issue with username in PN 17396")
def test_community_mentions_push_notification(self):
self.home_1.navigate_back_to_home_view()
self.device_1.open_notification_bar()
Expand Down
3 changes: 3 additions & 0 deletions test/appium/views/sign_in_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ def create_user(self, password=common_password, keycard=False, enable_notificati
username="test user"):
self.driver.info("## Creating new multiaccount (password:'%s', keycard:'%s', enable_notification: '%s')" %
(password, str(keycard), str(enable_notifications)), device=False)
if self.element_by_text('CONTINUE').is_element_displayed(5):
self.element_by_text('CONTINUE').click()
if second_user:
self.show_profiles_button.wait_and_click(20)
self.plus_profiles_button.click()
Expand Down Expand Up @@ -293,6 +295,7 @@ def sign_in(self, password=common_password, keycard=False, position=1):
if keycard_view.connect_selected_card_button.is_element_displayed():
keycard_view.connect_selected_card_button.click()
else:
self.password_input.wait_for_visibility_of_element(10)
self.password_input.send_keys(password)
self.login_button.click()
self.driver.info("## Signed in successfully!", device=False)
Expand Down