small fix for e2e

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
Churikova Tetiana 2020-05-01 12:33:52 +02:00
parent 00501f44b9
commit 3744dedf52
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
2 changed files with 2 additions and 2 deletions

View File

@ -126,8 +126,8 @@ class TestWalletManagement(SingleDeviceTestCase):
wallet.wait_balance_is_changed()
if not wallet.backup_recovery_phrase_warning_text.is_element_present(30):
self.driver.fail("'Back up your seed phrase' warning is not shown on Wallet with funds")
wallet.backup_recovery_phrase_warning_text.click()
profile = wallet.get_profile_view()
wallet.backup_recovery_phrase_warning_text.click_until_presence_of_element(profile.ok_continue_button)
profile.backup_recovery_phrase()
@marks.testrail_id(5440)

View File

@ -492,7 +492,7 @@ class WalletView(BaseView):
self.wallet_account_by_name(account_name).click()
self.receive_transaction_button.click()
address = self.address_text.text
self.back_button.click()
self.close_share_popup()
return address
def wallet_account_by_name(self, account_name):