e2e: temp fix for jump to
This commit is contained in:
parent
c003db42ae
commit
ebc12c36e4
|
@ -265,7 +265,7 @@ def pytest_configure(config):
|
||||||
test_suite_data.apk_name = ([i for i in [i for i in config.getoption('apk').split('/')
|
test_suite_data.apk_name = ([i for i in [i for i in config.getoption('apk').split('/')
|
||||||
if '.apk' in i]])[0]
|
if '.apk' in i]])[0]
|
||||||
global run_name
|
global run_name
|
||||||
if is_master(config):
|
if is_master(config) and config.getoption('testrail_report'):
|
||||||
run_name = get_run_name(config, new_one=True)
|
run_name = get_run_name(config, new_one=True)
|
||||||
testrail_report.add_run(run_name)
|
testrail_report.add_run(run_name)
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -268,12 +268,15 @@ class TestOneToOneChatMultipleSharedDevicesNewUi(MultipleSharedDeviceTestCase):
|
||||||
|
|
||||||
@marks.testrail_id(702745)
|
@marks.testrail_id(702745)
|
||||||
def test_1_1_chat_non_latin_messages_stack_update_profile_photo(self):
|
def test_1_1_chat_non_latin_messages_stack_update_profile_photo(self):
|
||||||
self.home_1.jump_to_messages_home()
|
self.home_1.navigate_back_to_home_view()
|
||||||
self.home_1.profile_button.click()
|
self.home_1.profile_button.click()
|
||||||
self.profile_1.edit_profile_picture(image_index=2)
|
self.profile_1.edit_profile_picture(image_index=2)
|
||||||
|
|
||||||
self.chat_2.just_fyi("Send messages with non-latin symbols")
|
self.chat_2.just_fyi("Send messages with non-latin symbols")
|
||||||
self.home_1.jump_to_card_by_text(self.username_2)
|
# self.home_1.jump_to_card_by_text(self.username_2)
|
||||||
|
self.home_1.click_system_back_button()
|
||||||
|
self.home_1.chats_tab.click()
|
||||||
|
self.home_1.get_chat(self.username_2).click()
|
||||||
self.chat_1.send_message("just a text") # Sending a message here so the next ones will be in a separate line
|
self.chat_1.send_message("just a text") # Sending a message here so the next ones will be in a separate line
|
||||||
|
|
||||||
self.home_2.navigate_back_to_home_view()
|
self.home_2.navigate_back_to_home_view()
|
||||||
|
|
|
@ -656,13 +656,13 @@ class TestCommunityMultipleDeviceMerged(MultipleSharedDeviceTestCase):
|
||||||
self.channel_1.block_contact()
|
self.channel_1.block_contact()
|
||||||
|
|
||||||
self.chat_1.just_fyi('Check that messages from blocked user are hidden in public chat and close app')
|
self.chat_1.just_fyi('Check that messages from blocked user are hidden in public chat and close app')
|
||||||
app_package = self.device_1.driver.current_package
|
|
||||||
if not self.chat_1.chat_element_by_text(message_to_disappear).is_element_disappeared(30):
|
if not self.chat_1.chat_element_by_text(message_to_disappear).is_element_disappeared(30):
|
||||||
self.errors.append("Messages from blocked user is not cleared in public chat ")
|
self.errors.append("Messages from blocked user is not cleared in public chat ")
|
||||||
self.chat_1.navigate_back_to_home_view()
|
self.chat_1.navigate_back_to_home_view()
|
||||||
self.home_1.chats_tab.click()
|
# ToDo: enable when https://github.com/status-im/status-mobile/issues/19334 is fixed
|
||||||
if not self.home_1.element_by_translation_id("no-messages").is_element_displayed():
|
# self.home_1.chats_tab.click()
|
||||||
self.errors.append("1-1 chat from blocked user is not removed and messages home is not empty!")
|
# if not self.home_1.element_by_translation_id("no-messages").is_element_displayed():
|
||||||
|
# self.errors.append("1-1 chat from blocked user is not removed and messages home is not empty!")
|
||||||
self.chat_1.driver.set_network_connection(ConnectionType.AIRPLANE_MODE)
|
self.chat_1.driver.set_network_connection(ConnectionType.AIRPLANE_MODE)
|
||||||
|
|
||||||
self.home_2.just_fyi('Send message to public chat while device 1 is offline')
|
self.home_2.just_fyi('Send message to public chat while device 1 is offline')
|
||||||
|
|
Loading…
Reference in New Issue