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 67d78efab7..5a86b9cca4 100644 --- a/test/appium/tests/critical/test_deep_and_universal_links.py +++ b/test/appium/tests/critical/test_deep_and_universal_links.py @@ -78,6 +78,7 @@ class TestDeepLinksOneDevice(MultipleSharedDeviceTestCase): def test_deep_links_communities(self): closed_community_name, snt_community_name = "closed community", "SNT community" self.home.navigate_back_to_home_view() + self.home.communities_tab.click() self.home.create_community(community_type="closed") if not self.community_view.community_options_button.is_element_displayed(): self.home.get_chat(closed_community_name, community=True).click() diff --git a/test/appium/views/sign_in_view.py b/test/appium/views/sign_in_view.py index 0c526c3895..f81e369a42 100644 --- a/test/appium/views/sign_in_view.py +++ b/test/appium/views/sign_in_view.py @@ -260,9 +260,12 @@ class SignInView(BaseView): # self.next_button.click() # self.identifiers_button.wait_and_click(30) if enable_notifications: - self.enable_notifications_button.click_until_presence_of_element(self.start_button) - if self.allow_button.is_element_displayed(10): - self.allow_button.click_until_presence_of_element(self.start_button) + self.enable_notifications_button.wait_and_click() + for _ in range(3): + self.allow_button.click_if_shown(sec=10) + self.enable_notifications_button.click_if_shown() + if self.start_button.is_element_displayed(): + break else: self.maybe_later_button.click_until_presence_of_element(self.start_button) self.cancel_button.click_if_shown() # TODO: remove when issue 20806 is fixed @@ -294,6 +297,7 @@ class SignInView(BaseView): self.enable_notifications_button.click_until_presence_of_element(self.start_button) else: self.maybe_later_button.click_until_presence_of_element(self.start_button) + self.cancel_button.click_if_shown() # TODO: remove when issue 20806 is fixed self.start_button.click() self.chats_tab.wait_for_visibility_of_element(30) self.driver.info("## Multiaccount is recovered successfully!", device=False) diff --git a/test/appium/views/wallet_view.py b/test/appium/views/wallet_view.py index 4c90098d3f..9e8bd23cc5 100644 --- a/test/appium/views/wallet_view.py +++ b/test/appium/views/wallet_view.py @@ -1,3 +1,5 @@ +import time + import pytest from tests import common_password @@ -120,7 +122,12 @@ class WalletView(BaseView): self.login_button.click() def confirm_transaction(self): - self.confirm_button.click_until_presence_of_element(self.slide_button_track) + self.confirm_button.click() + for _ in range(3): + if self.slide_button_track.is_element_displayed(): + break + time.sleep(1) + self.confirm_button.click() self.slide_and_confirm_with_password() def set_amount(self, amount: float):