From 23a38252378e43e5ac93d58229f0294a8bd07fda Mon Sep 17 00:00:00 2001 From: Churikova Tetiana Date: Thu, 5 May 2022 12:32:14 +0200 Subject: [PATCH] e2e: fix for ... --- .../critical/wallet_and_tx/test_send_tx_dapp_keycard.py | 7 ------- test/appium/views/wallet_view.py | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/test/appium/tests/critical/wallet_and_tx/test_send_tx_dapp_keycard.py b/test/appium/tests/critical/wallet_and_tx/test_send_tx_dapp_keycard.py index 94f6a61acf..a106c2cb5f 100644 --- a/test/appium/tests/critical/wallet_and_tx/test_send_tx_dapp_keycard.py +++ b/test/appium/tests/critical/wallet_and_tx/test_send_tx_dapp_keycard.py @@ -425,13 +425,6 @@ class TestKeycardTxOneDeviceMerged(MultipleSharedDeviceTestCase): self.sign_in.maybe_later_button.click_until_presence_of_element(self.sign_in.lets_go_button) self.sign_in.lets_go_button.click_until_absense_of_element(self.sign_in.lets_go_button) self.sign_in.profile_button.wait_for_visibility_of_element(30) - - self.sign_in.just_fyi('Check that after creating keycard account balance is 0, not ...') - wallet_1 = self.sign_in.wallet_button.click() - wallet_address = wallet_1.get_wallet_address() - wallet_1.wallet_button.double_click() - if wallet_1.status_account_total_usd_value.text != '0': - self.errors.append("Account USD value is not 0, it is %s" % wallet_1.status_account_total_usd_value.text) public_key, default_username = self.sign_in.get_public_key_and_username(return_username=True) profile_1 = self.sign_in.get_profile_view() profile_1.logout() diff --git a/test/appium/views/wallet_view.py b/test/appium/views/wallet_view.py index d58bca82e5..e5239f4f6a 100644 --- a/test/appium/views/wallet_view.py +++ b/test/appium/views/wallet_view.py @@ -38,7 +38,7 @@ class AccountElementButton(SilentButton): def color_matches(self, expected_color_image_name: str): amount_text = Text(self.driver, xpath="%s//*[@content-desc='account-total-value']" % self.locator) - amount_text.wait_for_element_text('0', 60) + amount_text.wait_for_element_text('...', 60) return not amount_text.is_element_differs_from_template(expected_color_image_name)