e2e: update for Syncing view
This commit is contained in:
parent
ac4ffd83db
commit
e8e05e58e0
|
@ -265,6 +265,7 @@ class BaseView(object):
|
|||
self.password_input = EditBox(self.driver, accessibility_id="password-input")
|
||||
from views.sign_in_view import LogInButton
|
||||
self.login_button = LogInButton(self.driver)
|
||||
self.continue_button = Button(self.driver, accessibility_id='continue-button')
|
||||
|
||||
# Old UI Tabs
|
||||
self.home_button = HomeButton(self.driver)
|
||||
|
|
|
@ -545,6 +545,11 @@ class ProfileView(BaseView):
|
|||
def get_sync_code(self):
|
||||
self.syncing_button.scroll_and_click()
|
||||
self.sync_plus_button.click()
|
||||
for checkbox in Button(
|
||||
self.driver,
|
||||
xpath="//*[@content-desc='checkbox-off'][@resource-id='checkbox-component']").find_elements():
|
||||
checkbox.click()
|
||||
self.continue_button.click()
|
||||
self.slide_button_track.swipe_right_on_element(width_percentage=1.3)
|
||||
password_input = self.password_input.find_element()
|
||||
password_input.send_keys(common_password)
|
||||
|
|
|
@ -91,7 +91,6 @@ class WalletView(BaseView):
|
|||
|
||||
# Sending transaction
|
||||
self.address_text_input = EditBox(self.driver, accessibility_id='address-text-input')
|
||||
self.continue_button = Button(self.driver, accessibility_id='continue-button')
|
||||
self.amount_input = EditBox(self.driver, xpath="//android.widget.EditText")
|
||||
self.confirm_button = Button(self.driver, accessibility_id='button-one')
|
||||
self.done_button = Button(self.driver, accessibility_id='done')
|
||||
|
|
Loading…
Reference in New Issue