Skip to content

Commit

Permalink
e2e: more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
churik committed Dec 18, 2023
1 parent 76864c3 commit 3888b0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/appium/views/profile_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def __init__(self, driver):
uppercase=True)
self.advertise_device_button = Button(self.driver, accessibility_id="advertise-device")
self.sync_all_button = Button(self.driver, translation_id="sync-all-devices")
self.syncing_button = Button(self.driver, accessibility_id="syncing")
self.syncing_button = Button(self.driver, accessibility_id="icon, Syncing, label-component, icon")
self.sync_plus_button = Button(self.driver,
xpath="//*[@text='Syncing']/following-sibling::android.view.ViewGroup[1]")
self.slide_button_track = Button(self.driver, xpath="//*[@resource-id='slide-button-track']")
Expand Down Expand Up @@ -537,6 +537,7 @@ def current_active_network(self):
return self.active_network_name.text

def get_sync_code(self):
# Pointing to legacy profile until feature is
self.syncing_button.scroll_and_click()
self.sync_plus_button.click()
self.slide_button_track.swipe_right_on_element(width_percentage=1.3)
Expand Down

0 comments on commit 3888b0e

Please sign in to comment.