diff --git a/test/appium/views/profile_view.py b/test/appium/views/profile_view.py index c1329b4880cc..956a2bd5a8c1 100644 --- a/test/appium/views/profile_view.py +++ b/test/appium/views/profile_view.py @@ -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']") @@ -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)