From bf6c89e2639a98516250588615f7bb41b2c64377 Mon Sep 17 00:00:00 2001 From: Yevheniia Berdnyk Date: Wed, 11 Sep 2024 17:07:04 +0300 Subject: [PATCH] e2e: fix for getting profile link --- test/appium/views/home_view.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/appium/views/home_view.py b/test/appium/views/home_view.py index 307d029e59..13559c8fcf 100644 --- a/test/appium/views/home_view.py +++ b/test/appium/views/home_view.py @@ -345,6 +345,7 @@ class HomeView(BaseView): self.link_to_profile_text = Text(self.driver, accessibility_id="share-qr-code-info-text") self.close_share_tab_button = Button(self.driver, accessibility_id="close-shell-share-tab") self.qr_code_image_element = BaseElement(self.driver, accessibility_id='share-qr-code') + self.share_profile_tab_button = Button(self.driver, accessibility_id="Profile") self.share_wallet_tab_button = Button(self.driver, accessibility_id="Wallet") self.account_avatar = BaseElement(self.driver, accessibility_id="account-avatar") self.account_name_text = Text( @@ -578,6 +579,7 @@ class HomeView(BaseView): def get_link_to_profile(self): self.show_qr_code_button.click() + self.share_profile_tab_button.click() self.link_to_profile_button.click() link_to_profile = self.sharing_text_native.text self.click_system_back_button()