From 1652601a821419efd64aa604f4138636daf7e207 Mon Sep 17 00:00:00 2001 From: Yevheniia Berdnyk Date: Wed, 27 Nov 2024 15:47:12 +0200 Subject: [PATCH] e2e: fix for fallback tests --- test/appium/views/sign_in_view.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/appium/views/sign_in_view.py b/test/appium/views/sign_in_view.py index 799b783fd2..2802284c94 100644 --- a/test/appium/views/sign_in_view.py +++ b/test/appium/views/sign_in_view.py @@ -156,7 +156,7 @@ class SignInView(BaseView): self.log_in_button = Button(self.driver, accessibility_id='log-in') self.maybe_later_button = Button(self.driver, accessibility_id="maybe-later-button") self.sync_or_recover_profile_button = Button(self.driver, accessibility_id='already-use-status-button') - self.scan_sync_code_button = Button(self.driver, accessibility_id="scan-sync-code-option-card") + self.log_in_by_syncing_button = Button(self.driver, accessibility_id="log-in-by-syncing-icon-card") self.enter_sync_code_button = Button(self.driver, accessibility_id="Enter sync code") self.enter_sync_code_input = EditBox(self.driver, accessibility_id="enter-sync-code-input") self.progress_screen_title = Text(self.driver, accessibility_id="progress-screen-title") @@ -288,11 +288,11 @@ class SignInView(BaseView): def sync_profile(self, sync_code: str, first_user: bool = True): if first_user: self.log_in_button.click() - self.not_now_button.click() + self.maybe_later_button.click() else: self.plus_profiles_button.click() self.sync_or_recover_new_profile_button.click() - self.scan_sync_code_button.click() + self.log_in_by_syncing_button.click() for checkbox in self.checkbox_button.find_elements(): checkbox.click() self.continue_button.click()