@@ -158,20 +158,20 @@ def test_1_1_chat_emoji_send_reply_and_open_link(self):
158
158
except Failed :
159
159
self .errors .append ("Link message reaction is not shown for the sender" )
160
160
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
175
175
176
176
self .errors .verify_no_errors ()
177
177
@@ -293,7 +293,7 @@ def test_1_1_chat_non_latin_messages_stack_update_profile_photo(self):
293
293
sent_time_variants = self .chat_2 .convert_device_time_to_chat_timestamp ()
294
294
if timestamp not in sent_time_variants :
295
295
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 ))
297
297
except NoSuchElementException :
298
298
self .errors .append ("No timestamp on message %s" % messages [0 ])
299
299
for message in [messages [1 ], messages [2 ]]:
0 commit comments