e2e: fixes 8.04

This commit is contained in:
Yevheniia Berdnyk 2024-04-08 16:30:52 +03:00
parent 5aca098aa2
commit f98e5cf11f
No known key found for this signature in database
GPG Key ID: 0642C73C66214825
3 changed files with 10 additions and 10 deletions

View File

@ -221,15 +221,15 @@ class TestGroupChatMultipleDeviceMergedNewUI(MultipleSharedDeviceTestCase):
self.chats[1].send_images_with_description(description=image_description, indexes=[2])
self.chats[0].just_fyi("Admin checks image message")
self.chats[0].chat_element_by_text(image_description).wait_for_visibility_of_element(60)
if not self.chats[0].chat_element_by_text(
image_description).image_in_message.is_element_image_similar_to_template('saucelabs_sauce_chat.png'):
chat_element = self.chats[0].chat_element_by_text(image_description)
chat_element.wait_for_visibility_of_element(60)
if not chat_element.image_in_message.is_element_image_similar_to_template('saucelabs_sauce_group_chat.png'):
self.errors.append("Not expected image is shown to the admin.")
self.chats[2].just_fyi("Member_2 checks image message")
self.chats[2].chat_element_by_text(image_description).wait_for_visibility_of_element(60)
if not self.chats[2].chat_element_by_text(
image_description).image_in_message.is_element_image_similar_to_template('saucelabs_sauce_chat.png'):
chat_element = self.chats[2].chat_element_by_text(image_description)
chat_element.wait_for_visibility_of_element(60)
if not chat_element.image_in_message.is_element_image_similar_to_template('saucelabs_sauce_group_chat.png'):
self.errors.append("Not expected image is shown to the member_2.")
self.chats[0].just_fyi("Admin opens the image and shares it")

View File

@ -52,8 +52,8 @@ class TestDeepLinksOneDevice(MultipleSharedDeviceTestCase):
"Status mobile QA community max",
"https://status.app/c/G1AAAGR0G-IRb2YJD4lRXwLusAFnGrDHGNl6Wt55MIARwVYvarnO873011-fdVSz1kHSan-qq0G96vOaMqyTRhJnQV74KCUr#zQ3shb9irJR66rhG1E8sQZX8pDU3dpGm4daYSmPVDd2e73ewE":
"Open community for e2e",
"https://status.app/c/G0UAAGS9MeHbo_RoNMnOhOKTCo-fDDbgBCCyNNSN7qrzTqIgLem56TyzYYLf36askV7yGcros8muAdgB#zQ3shVWCcsH94vjf7WrFqBXx5MMAui2EPYMBme8ntACNWWVN3":
"Closed communtiy for e2e"
"https://status.app/c/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shspPKCZ1VPVQ9dLXGufUGvGphjxVwrcZ6rkZc7S39T4b3":
"closed community"
}
for url, text in closed_community_urls.items():
self.channel.just_fyi("Opening community '%s' by the url %s" % (text, url))
@ -97,8 +97,8 @@ class TestDeepLinksOneDevice(MultipleSharedDeviceTestCase):
"Status mobile QA community max",
"status.app://c/G1AAAGR0G-IRb2YJD4lRXwLusAFnGrDHGNl6Wt55MIARwVYvarnO873011-fdVSz1kHSan-qq0G96vOaMqyTRhJnQV74KCUr#zQ3shb9irJR66rhG1E8sQZX8pDU3dpGm4daYSmPVDd2e73ewE":
"Open community for e2e",
"status.app://c/G0UAAGS9MeHbo_RoNMnOhOKTCo-fDDbgBCCyNNSN7qrzTqIgLem56TyzYYLf36askV7yGcros8muAdgB#zQ3shVWCcsH94vjf7WrFqBXx5MMAui2EPYMBme8ntACNWWVN3":
"Closed communtiy for e2e"
"status.app://c/G00AAGS9TbI9mSR-ZNmFrhRjNuEeXAAbcAIUaLLJyjMOG3ACJQ12oIHD78QhzO9s_T5bUeU7rnATWJg3mGgTUemrAg==#zQ3shspPKCZ1VPVQ9dLXGufUGvGphjxVwrcZ6rkZc7S39T4b3":
"closed community"
}
for link, text in community_links.items():
self.channel.just_fyi("Opening community '%s' by the link %s" % (text, link))

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 KiB