This commit is contained in:
Churikova Tetiana 2020-07-01 14:46:08 +02:00 committed by andrey
parent 9619a0a204
commit b008d215e6
No known key found for this signature in database
GPG Key ID: 89B67245FD2F0272
1 changed files with 2 additions and 1 deletions

View File

@ -132,7 +132,7 @@ class IHaveMultiaccountButton(RecoverAccessButton):
class AccessKeyButton(RecoverAccessButton):
def __init__(self, driver):
super(AccessKeyButton, self).__init__(driver)
self.locator = self.Locator.xpath_selector("//*[@text='Access key']")
self.locator = self.Locator.xpath_selector("//*[@text='Access existing keys']")
class MaybeLaterButton(BaseButton):
@ -242,6 +242,7 @@ class SignInView(BaseView):
return self.get_home_view()
def recover_access(self, passphrase: str, password: str = common_password, keycard=False):
self.get_started_button.click_until_presence_of_element(self.access_key_button)
recover_access_view = self.access_key_button.click()
recover_access_view.enter_seed_phrase_button.click()
recover_access_view.seedphrase_input.click()