From c3e615a0cb5af719408ceacf9de97138e29f0954 Mon Sep 17 00:00:00 2001 From: Yevheniia Berdnyk Date: Tue, 19 Dec 2023 15:13:24 +0200 Subject: [PATCH] e2e: updated universal links test --- test/appium/tests/critical/test_deep_and_universal_links.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/appium/tests/critical/test_deep_and_universal_links.py b/test/appium/tests/critical/test_deep_and_universal_links.py index 6957e9f8c48e..c761c9aad2df 100644 --- a/test/appium/tests/critical/test_deep_and_universal_links.py +++ b/test/appium/tests/critical/test_deep_and_universal_links.py @@ -33,6 +33,7 @@ def test_links_open_universal_links_from_chat(self): "https://status.app/u#zQ3shVVxZMwLVEQvuu1KF6h4D2mzVyCC4F4mHLZm5dz5XU1aa"] for url in profile_urls: + self.channel.chat_message_input.clear() self.channel.send_message(url) self.channel.chat_element_by_text(url).click_on_link_inside_message_body() if not self.channel.profile_add_to_contacts_button.is_element_displayed( @@ -42,10 +43,11 @@ def test_links_open_universal_links_from_chat(self): closed_community_urls = [ "https://status.app/c/G8EAAGTiXKuwNbVVAu0GNLD-XzX4oz_E8oC1-7qSLikaTnCuG9Ag13ZgQKrMd8En9Qcpuaj3Qx3mfZ1atZzH8Zw-x_sFJ_MDv0P_7YfqoV-pNr3V4dsza-jVk41GaCGWasJb92Oer8qggaoNWf0tYCgSH19VonXciKPUz3ITdgke#zQ3shbmfT3hvh4mKa1v6uAjjyztQEroh8Mfn6Ckegjd7LT3XK", - "https://status.app/c/Ow==#zQ3shbmfT3hvh4mKa1v6uAjjyztQEroh8Mfn6Ckegjd7LT3XK" + "https://status.app/c/Ow==#zQ3shbmfT3hvh4mKa1v6uAjjyztQEroh8Mfn6Ckegjd7LT3XK", "https://status.app/c#zQ3shbmfT3hvh4mKa1v6uAjjyztQEroh8Mfn6Ckegjd7LT3XK", ] for url in closed_community_urls: + self.channel.chat_message_input.clear() self.channel.send_message(url) self.channel.chat_element_by_text(url).click_on_link_inside_message_body() if not self.channel.element_by_translation_id(