Fix some selectors
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
82576cd050
commit
b186676c67
|
@ -124,7 +124,7 @@ class TestWalletManagement(SingleDeviceTestCase):
|
|||
# self.network_api.get_donate(address)
|
||||
# home.wallet_button.click()
|
||||
if not wallet.backup_recovery_phrase_warning_text.is_element_present():
|
||||
pytest.fail("'Back up your recovery phrase' warning is not shown on Wallet")
|
||||
pytest.fail("'Back up your seed phrase' warning is not shown on Wallet")
|
||||
wallet.multiaccount_more_options.click_until_presence_of_element(wallet.backup_recovery_phrase)
|
||||
wallet.backup_recovery_phrase.click()
|
||||
profile = wallet.get_profile_view()
|
||||
|
|
|
@ -186,7 +186,7 @@ class RecoveryPhraseTable(BaseText):
|
|||
def __init__(self, driver):
|
||||
super(RecoveryPhraseTable, self).__init__(driver)
|
||||
self.locator = self.Locator.xpath_selector(
|
||||
"//*[@text='Your recovery phrase']/following-sibling::android.view.ViewGroup[1]/android.widget.TextView")
|
||||
"//*[@text='Your seed phrase']/following-sibling::android.view.ViewGroup[1]/android.widget.TextView")
|
||||
|
||||
|
||||
class RecoveryPhraseWordNumberText(BaseText):
|
||||
|
|
|
@ -174,7 +174,7 @@ class CollectiblesButton(BaseButton):
|
|||
class BackupRecoveryPhrase(BaseButton):
|
||||
def __init__(self, driver):
|
||||
super(BackupRecoveryPhrase, self).__init__(driver)
|
||||
self.locator = self.Locator.text_selector('Backup your recovery phrase')
|
||||
self.locator = self.Locator.text_selector('Backup your seed phrase')
|
||||
|
||||
def navigate(self):
|
||||
from views.profile_view import ProfileView
|
||||
|
@ -252,7 +252,7 @@ class AddAnAccountButton(BaseButton):
|
|||
class GenerateNewAccountButton(BaseButton):
|
||||
def __init__(self, driver):
|
||||
super(GenerateNewAccountButton, self).__init__(driver)
|
||||
self.locator = self.Locator.text_selector('Generate a new account')
|
||||
self.locator = self.Locator.text_selector('Generate a new key')
|
||||
|
||||
|
||||
class EnterYourPasswordInput(BaseEditBox):
|
||||
|
@ -265,7 +265,7 @@ class EnterYourPasswordInput(BaseEditBox):
|
|||
class GenerateAccountButton(BaseButton):
|
||||
def __init__(self, driver):
|
||||
super(GenerateAccountButton, self).__init__(driver)
|
||||
self.locator = self.Locator.text_selector('Generate account')
|
||||
self.locator = self.Locator.text_selector('Generate key')
|
||||
|
||||
|
||||
class AccountNameInput(BaseEditBox):
|
||||
|
|
Loading…
Reference in New Issue