Skip to content

Commit 2e0643f

Browse files
committed
e2e: fixes 15.11
1 parent ec4046e commit 2e0643f

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

test/appium/tests/critical/chats/test_1_1_public_chats.py

+15-15
Original file line numberDiff line numberDiff line change
@@ -158,20 +158,20 @@ def test_1_1_chat_emoji_send_reply_and_open_link(self):
158158
except Failed:
159159
self.errors.append("Link message reaction is not shown for the sender")
160160

161-
self.home_2.just_fyi("Check 'Open in Status' option")
162-
# url_to_open = 'http://status.im' # ToDo: enable when a bug with Status link is fixed
163-
url_to_open = 'https://coinmarketcap.com/'
164-
self.chat_1.send_message(url_to_open)
165-
chat_element = self.chat_2.chat_element_by_text(url_to_open)
166-
if chat_element.is_element_displayed(120):
167-
chat_element.click_on_link_inside_message_body()
168-
web_view = self.chat_2.open_in_status_button.click()
169-
# if not web_view.element_by_text('Private, Secure Communication').is_element_displayed(60):
170-
if not web_view.element_by_text_part(
171-
"Today's Cryptocurrency Prices by Market Cap").is_element_displayed(30):
172-
self.errors.append('URL was not opened from 1-1 chat')
173-
else:
174-
self.errors.append("Message with URL was not received")
161+
# self.home_2.just_fyi("Check 'Open in Status' option")
162+
# # url_to_open = 'http://status.im' # ToDo: enable when a bug with Status link is fixed
163+
# url_to_open = 'https://coinmarketcap.com/'
164+
# self.chat_1.send_message(url_to_open)
165+
# chat_element = self.chat_2.chat_element_by_text(url_to_open)
166+
# if chat_element.is_element_displayed(120):
167+
# chat_element.click_on_link_inside_message_body()
168+
# web_view = self.chat_2.open_in_status_button.click()
169+
# # if not web_view.element_by_text('Private, Secure Communication').is_element_displayed(60):
170+
# if not web_view.element_by_text_part(
171+
# "Today's Cryptocurrency Prices by Market Cap").is_element_displayed(30):
172+
# self.errors.append('URL was not opened from 1-1 chat')
173+
# else:
174+
# self.errors.append("Message with URL was not received") # ToDo: temp
175175

176176
self.errors.verify_no_errors()
177177

@@ -293,7 +293,7 @@ def test_1_1_chat_non_latin_messages_stack_update_profile_photo(self):
293293
sent_time_variants = self.chat_2.convert_device_time_to_chat_timestamp()
294294
if timestamp not in sent_time_variants:
295295
self.errors.append(
296-
'Timestamp on message %s does not correspond expected [%s]' % (timestamp, *sent_time_variants))
296+
'Timestamp on message %s does not correspond expected %s' % (timestamp, sent_time_variants))
297297
except NoSuchElementException:
298298
self.errors.append("No timestamp on message %s" % messages[0])
299299
for message in [messages[1], messages[2]]:

test/appium/tests/critical/chats/test_public_chat_browsing.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def test_restore_multiaccount_with_waku_backup_remove_switch(self):
248248

249249
self.home.just_fyi("Check that can login with different user")
250250
self.home.reopen_app(sign_in=False)
251-
self.sign_in.show_profiles_button.click()
251+
self.sign_in.show_profiles_button.wait_and_click()
252252
self.sign_in.element_by_text(self.username).click()
253253
self.sign_in.sign_in()
254254
self.home.communities_tab.click()
@@ -257,7 +257,7 @@ def test_restore_multiaccount_with_waku_backup_remove_switch(self):
257257

258258
self.home.just_fyi("Check that can remove user from logged out state")
259259
self.home.reopen_app(sign_in=False)
260-
self.sign_in.show_profiles_button.click()
260+
self.sign_in.show_profiles_button.wait_and_click()
261261
user_card = self.sign_in.get_user(username=self.username)
262262
user_card.open_user_options()
263263
self.sign_in.remove_profile_button.click()
@@ -267,7 +267,7 @@ def test_restore_multiaccount_with_waku_backup_remove_switch(self):
267267

268268
self.home.just_fyi("Check that removed user is not shown in the list anymore")
269269
self.home.reopen_app(sign_in=False)
270-
self.sign_in.show_profiles_button.click()
270+
self.sign_in.show_profiles_button.wait_and_click()
271271
if self.sign_in.element_by_text(self.username).is_element_displayed():
272272
self.errors.append("Removed user is re-appeared after relogin!")
273273

0 commit comments

Comments
 (0)