Merge branch 'tests/nightly28-09-2021' into develop

This commit is contained in:
Churikova Tetiana 2021-09-28 18:06:39 +02:00
commit 8b0ddec8f9
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
4 changed files with 6 additions and 4 deletions

View File

@ -7,6 +7,7 @@ markers =
high: TCs by priority high: TCs by priority
medium: TCs by priority medium: TCs by priority
low: TCs by priority low: TCs by priority
upgrade: upgrade TCs with migrating DB
testrail_case_id: case ID in testrail testrail_case_id: case ID in testrail
flaky: flaky tests for re-run if necessary flaky: flaky tests for re-run if necessary

View File

@ -76,6 +76,8 @@ class TestCommunitiesMultipleDevices(MultipleDeviceTestCase):
@marks.testrail_id(695845) @marks.testrail_id(695845)
@marks.medium @marks.medium
@marks.skip
# TODO: blocked due to 12649
def test_notification_in_activity_center_for_mention_in_community_and_group_chat(self): def test_notification_in_activity_center_for_mention_in_community_and_group_chat(self):
self.create_drivers(2) self.create_drivers(2)
home_1, home_2 = SignInView(self.drivers[0]).create_user(), SignInView(self.drivers[1]).create_user() home_1, home_2 = SignInView(self.drivers[0]).create_user(), SignInView(self.drivers[1]).create_user()

View File

@ -449,7 +449,7 @@ class TestMessagesOneToOneChatMultiple(MultipleDeviceTestCase):
@marks.testrail_id(695847) @marks.testrail_id(695847)
@marks.medium @marks.medium
def test_can_pin_messages_in_ono_to_one_and_group_chats(self): def test_can_pin_messages_in_one_to_one_and_group_chats(self):
self.create_drivers(2) self.create_drivers(2)
device_1, device_2 = SignInView(self.drivers[0]), SignInView(self.drivers[1]) device_1, device_2 = SignInView(self.drivers[0]), SignInView(self.drivers[1])
@ -531,8 +531,8 @@ class TestMessagesOneToOneChatMultiple(MultipleDeviceTestCase):
group_chat_2.join_chat_button.click() group_chat_2.join_chat_button.click()
group_chat_1.send_message(message_1) group_chat_1.send_message(message_1)
group_chat_1.pin_message(message_1) group_chat_1.pin_message(message_1)
if not (group_chat_1.chat_element_by_text(message_1).pinned_by_label.is_element_present() and if not (group_chat_1.chat_element_by_text(message_1).pinned_by_label.is_element_present(30) and
group_chat_2.chat_element_by_text(message_1).pinned_by_label.is_element_present()): group_chat_2.chat_element_by_text(message_1).pinned_by_label.is_element_present(30)):
self.errors.append("Message is not pinned in group chat!") self.errors.append("Message is not pinned in group chat!")
home_1.just_fyi("Check that non admin user can not unpin messages") home_1.just_fyi("Check that non admin user can not unpin messages")

View File

@ -223,7 +223,6 @@ class HomeView(BaseView):
one_to_one_chat.chat_options.click() one_to_one_chat.chat_options.click()
one_to_one_chat.view_profile_button.click() one_to_one_chat.view_profile_button.click()
one_to_one_chat.set_nickname(nickname) one_to_one_chat.set_nickname(nickname)
one_to_one_chat.close_button.click()
self.driver.info("**1-1 chat is created successfully!**") self.driver.info("**1-1 chat is created successfully!**")
return one_to_one_chat return one_to_one_chat