diff --git a/test/appium/tests/atomic/transactions/test_wallet.py b/test/appium/tests/atomic/transactions/test_wallet.py index 5de1b651c4..d81ad245f0 100644 --- a/test/appium/tests/atomic/transactions/test_wallet.py +++ b/test/appium/tests/atomic/transactions/test_wallet.py @@ -299,7 +299,7 @@ class TestTransactionWalletSingleDevice(SingleDeviceTestCase): wallet_view.get_account_by_name(account_name).click() wallet_view.send_transaction_button.click() wallet_view.back_button.click() - balance_after_receiving_tx = float(wallet_view.get_asset_amount_by_name('ETHro')) + balance_after_receiving_tx = float(wallet_view.get_asset_amount_by_name('ETH')) expected_balance = self.network_api.get_rounded_balance(balance_after_receiving_tx, transaction_amount) if balance_after_receiving_tx != expected_balance: self.driver.fail('New account balance %s does not match expected %s after receiving a transaction' % ( @@ -334,7 +334,7 @@ class TestTransactionWalletSingleDevice(SingleDeviceTestCase): send_transaction.back_button.click() balance_of_sub_account = float(self.network_api.get_balance(sub_account_address)) / 1000000000000000000 balance_of_status_account = float(self.network_api.get_balance(status_account_address)) / 1000000000000000000 - total_eth_from_two_accounts = float(wallet_view.get_asset_amount_by_name('ETHro')) + total_eth_from_two_accounts = float(wallet_view.get_asset_amount_by_name('ETH')) expected_balance = self.network_api.get_rounded_balance(total_eth_from_two_accounts, (balance_of_status_account + balance_of_sub_account)) diff --git a/test/appium/views/base_view.py b/test/appium/views/base_view.py index 225c960e7d..a5413b21c8 100644 --- a/test/appium/views/base_view.py +++ b/test/appium/views/base_view.py @@ -449,7 +449,7 @@ class BaseView(object): def logcat(self): logcat = self.driver.get_log("logcat") if len(logcat) > 1000: - return str([i for i in logcat if 'appium' or ':1.000000.' not in str(i).lower()]) + return str([i for i in logcat if not ('appium' in str(i).lower() or ':1.000000.' in str(i).lower())]) raise TimeoutError('Logcat is empty') def confirm(self): diff --git a/test/appium/views/elements_templates/url_1.png b/test/appium/views/elements_templates/url_1.png index d958d52a94..f3b28ef97f 100644 Binary files a/test/appium/views/elements_templates/url_1.png and b/test/appium/views/elements_templates/url_1.png differ diff --git a/test/appium/views/elements_templates/url_2.png b/test/appium/views/elements_templates/url_2.png index e94784c142..6d183517ef 100644 Binary files a/test/appium/views/elements_templates/url_2.png and b/test/appium/views/elements_templates/url_2.png differ diff --git a/test/appium/views/elements_templates/url_3.png b/test/appium/views/elements_templates/url_3.png index 8bc6e18cb6..92d7495d06 100644 Binary files a/test/appium/views/elements_templates/url_3.png and b/test/appium/views/elements_templates/url_3.png differ diff --git a/test/appium/views/wallet_view.py b/test/appium/views/wallet_view.py index b71fa4c9ea..c3494b94f4 100644 --- a/test/appium/views/wallet_view.py +++ b/test/appium/views/wallet_view.py @@ -56,7 +56,7 @@ class AssetFullNameInAssets(BaseText): class AssetSymbolInAssets(BaseText): def __init__(self, driver): super(AssetSymbolInAssets, self).__init__(driver) - self.locator = self.Locator.xpath_selector('//*[@content-desc="checkbox"]/../android.widget.TextView[2]') + self.locator = self.Locator.xpath_selector('//*[@content-desc="checkbox"]/../../android.widget.TextView[2]') class CurrencyItemText(BaseText): def __init__(self, driver):