Updated captions in tests

Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
This commit is contained in:
yevh-berdnyk 2018-08-08 18:30:48 +03:00
parent 75d612cb98
commit a249ca25ac
No known key found for this signature in database
GPG Key ID: E9B425FDFC4DEA9C
5 changed files with 4 additions and 5 deletions

View File

@ -67,7 +67,7 @@ class TestCreateAccount(SingleDeviceTestCase):
sign_in.create_account_button.click()
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()
if sign_in.confirm_password_input.is_element_displayed():

View File

@ -54,7 +54,6 @@ class TestTransactionDApp(SingleDeviceTestCase):
status_test_dapp.transactions_button.click()
send_transaction_view = status_test_dapp.deploy_contract_button.click()
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', \
'Call contract set function', 'Call function 2 times in a row':
if not status_test_dapp.element_by_text(text).is_element_displayed(120):

View File

@ -169,7 +169,7 @@ class BackupRecoveryPhraseButton(BaseButton):
def __init__(self, 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):

View File

@ -15,7 +15,7 @@ class OptionsButton(BaseButton):
class CopyTransactionHashButton(BaseButton):
def __init__(self, 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):
def __init__(self, driver):

View File

@ -172,7 +172,7 @@ class CurrencyText(BaseText):
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 recovery phrase')
def navigate(self):
from views.profile_view import ProfileView