small fix for e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
00501f44b9
commit
3744dedf52
|
@ -126,8 +126,8 @@ class TestWalletManagement(SingleDeviceTestCase):
|
||||||
wallet.wait_balance_is_changed()
|
wallet.wait_balance_is_changed()
|
||||||
if not wallet.backup_recovery_phrase_warning_text.is_element_present(30):
|
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")
|
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()
|
profile = wallet.get_profile_view()
|
||||||
|
wallet.backup_recovery_phrase_warning_text.click_until_presence_of_element(profile.ok_continue_button)
|
||||||
profile.backup_recovery_phrase()
|
profile.backup_recovery_phrase()
|
||||||
|
|
||||||
@marks.testrail_id(5440)
|
@marks.testrail_id(5440)
|
||||||
|
|
|
@ -492,7 +492,7 @@ class WalletView(BaseView):
|
||||||
self.wallet_account_by_name(account_name).click()
|
self.wallet_account_by_name(account_name).click()
|
||||||
self.receive_transaction_button.click()
|
self.receive_transaction_button.click()
|
||||||
address = self.address_text.text
|
address = self.address_text.text
|
||||||
self.back_button.click()
|
self.close_share_popup()
|
||||||
return address
|
return address
|
||||||
|
|
||||||
def wallet_account_by_name(self, account_name):
|
def wallet_account_by_name(self, account_name):
|
||||||
|
|
Loading…
Reference in New Issue