From a249ca25acfd3a38e6575847b9f3a0ec635fa7f3 Mon Sep 17 00:00:00 2001 From: yevh-berdnyk Date: Wed, 8 Aug 2018 18:30:48 +0300 Subject: [PATCH] Updated captions in tests Signed-off-by: yevh-berdnyk --- .../tests/atomic/account_management/test_create_account.py | 2 +- .../appium/tests/atomic/transactions/test_daaps_transactions.py | 1 - test/appium/views/profile_view.py | 2 +- test/appium/views/transactions_view.py | 2 +- test/appium/views/wallet_view.py | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/test/appium/tests/atomic/account_management/test_create_account.py b/test/appium/tests/atomic/account_management/test_create_account.py index ddf5633b4c..3c1031412f 100644 --- a/test/appium/tests/atomic/account_management/test_create_account.py +++ b/test/appium/tests/atomic/account_management/test_create_account.py @@ -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(): diff --git a/test/appium/tests/atomic/transactions/test_daaps_transactions.py b/test/appium/tests/atomic/transactions/test_daaps_transactions.py index 3de83c2c94..147db720f1 100644 --- a/test/appium/tests/atomic/transactions/test_daaps_transactions.py +++ b/test/appium/tests/atomic/transactions/test_daaps_transactions.py @@ -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): diff --git a/test/appium/views/profile_view.py b/test/appium/views/profile_view.py index d113dd9c47..26111f7b54 100644 --- a/test/appium/views/profile_view.py +++ b/test/appium/views/profile_view.py @@ -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): diff --git a/test/appium/views/transactions_view.py b/test/appium/views/transactions_view.py index a1d60ce88d..8e3318bb45 100644 --- a/test/appium/views/transactions_view.py +++ b/test/appium/views/transactions_view.py @@ -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): diff --git a/test/appium/views/wallet_view.py b/test/appium/views/wallet_view.py index bef6b02cb0..43f91abbee 100644 --- a/test/appium/views/wallet_view.py +++ b/test/appium/views/wallet_view.py @@ -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