Updated captions in tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
This commit is contained in:
parent
75d612cb98
commit
a249ca25ac
|
@ -67,7 +67,7 @@ class TestCreateAccount(SingleDeviceTestCase):
|
||||||
sign_in.create_account_button.click()
|
sign_in.create_account_button.click()
|
||||||
sign_in.password_input.set_value('12345')
|
sign_in.password_input.set_value('12345')
|
||||||
|
|
||||||
mismatch_error = "Password confirmation doesn't match password"
|
mismatch_error = "Passwords don't match"
|
||||||
|
|
||||||
sign_in.next_button.click()
|
sign_in.next_button.click()
|
||||||
if sign_in.confirm_password_input.is_element_displayed():
|
if sign_in.confirm_password_input.is_element_displayed():
|
||||||
|
|
|
@ -54,7 +54,6 @@ class TestTransactionDApp(SingleDeviceTestCase):
|
||||||
status_test_dapp.transactions_button.click()
|
status_test_dapp.transactions_button.click()
|
||||||
send_transaction_view = status_test_dapp.deploy_contract_button.click()
|
send_transaction_view = status_test_dapp.deploy_contract_button.click()
|
||||||
send_transaction_view.sign_transaction(sender['password'])
|
send_transaction_view.sign_transaction(sender['password'])
|
||||||
status_test_dapp.element_starts_with_text('Mining new contract in tx:').wait_for_visibility_of_element()
|
|
||||||
for text in 'Contract deployed at: ', 'Call contract get function', \
|
for text in 'Contract deployed at: ', 'Call contract get function', \
|
||||||
'Call contract set function', 'Call function 2 times in a row':
|
'Call contract set function', 'Call function 2 times in a row':
|
||||||
if not status_test_dapp.element_by_text(text).is_element_displayed(120):
|
if not status_test_dapp.element_by_text(text).is_element_displayed(120):
|
||||||
|
|
|
@ -169,7 +169,7 @@ class BackupRecoveryPhraseButton(BaseButton):
|
||||||
|
|
||||||
def __init__(self, driver):
|
def __init__(self, driver):
|
||||||
super(BackupRecoveryPhraseButton, self).__init__(driver)
|
super(BackupRecoveryPhraseButton, self).__init__(driver)
|
||||||
self.locator = self.Locator.text_selector('Backup your Recovery phrase')
|
self.locator = self.Locator.text_selector('Backup your recovery phrase')
|
||||||
|
|
||||||
|
|
||||||
class OkContinueButton(BaseButton):
|
class OkContinueButton(BaseButton):
|
||||||
|
|
|
@ -15,7 +15,7 @@ class OptionsButton(BaseButton):
|
||||||
class CopyTransactionHashButton(BaseButton):
|
class CopyTransactionHashButton(BaseButton):
|
||||||
def __init__(self, driver):
|
def __init__(self, driver):
|
||||||
super(OptionsButton.CopyTransactionHashButton, self).__init__(driver)
|
super(OptionsButton.CopyTransactionHashButton, self).__init__(driver)
|
||||||
self.locator = self.Locator.text_selector('Copy transaction hash')
|
self.locator = self.Locator.text_selector('Copy transaction ID')
|
||||||
|
|
||||||
class OpenOnEtherscanButton(BaseButton):
|
class OpenOnEtherscanButton(BaseButton):
|
||||||
def __init__(self, driver):
|
def __init__(self, driver):
|
||||||
|
|
|
@ -172,7 +172,7 @@ class CurrencyText(BaseText):
|
||||||
class BackupRecoveryPhrase(BaseButton):
|
class BackupRecoveryPhrase(BaseButton):
|
||||||
def __init__(self, driver):
|
def __init__(self, driver):
|
||||||
super(BackupRecoveryPhrase, self).__init__(driver)
|
super(BackupRecoveryPhrase, self).__init__(driver)
|
||||||
self.locator = self.Locator.text_selector('Backup your Recovery phrase')
|
self.locator = self.Locator.text_selector('Backup your recovery phrase')
|
||||||
|
|
||||||
def navigate(self):
|
def navigate(self):
|
||||||
from views.profile_view import ProfileView
|
from views.profile_view import ProfileView
|
||||||
|
|
Loading…
Reference in New Issue