Skip to content

Commit

Permalink
e2e: fix for fallback tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yevh-berdnyk committed Nov 27, 2024
1 parent 7a44db3 commit 1652601
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/appium/views/sign_in_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def __init__(self, driver):
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")
Expand Down Expand Up @@ -288,11 +288,11 @@ def recover_access(self, passphrase: str, password: str = common_password, enabl
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()
Expand Down

0 comments on commit 1652601

Please sign in to comment.