e2e: fix fetching from offline

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
Churikova Tetiana 2020-12-10 11:37:19 +01:00
parent c33e2be76b
commit efc4f6c750
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
2 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,7 @@ class TestTransactionWalletSingleDevice(SingleDeviceTestCase):
initial_amount_STT = wallet_view.get_asset_amount_by_name('STT') initial_amount_STT = wallet_view.get_asset_amount_by_name('STT')
sign_in_view.toggle_airplane_mode() sign_in_view.toggle_airplane_mode()
wallet_view.wait_balance_is_changed('STT', initial_amount_STT) wallet_view.wait_balance_is_changed('STT', initial_amount_STT)
wallet_view.accounts_status_account.click()
transactions_view = wallet_view.transaction_history_button.click() transactions_view = wallet_view.transaction_history_button.click()
transactions_view.transactions_table.find_transaction(amount=sending_amount, asset='STT') transactions_view.transactions_table.find_transaction(amount=sending_amount, asset='STT')

View File

@ -96,6 +96,7 @@ class TestTransactionWalletSingleDevice(SingleDeviceTestCase):
sign_in_view.just_fyi('Check that transaction is appeared in transaction history') sign_in_view.just_fyi('Check that transaction is appeared in transaction history')
wallet_view.wait_balance_is_changed('STT', initial_amount_STT) wallet_view.wait_balance_is_changed('STT', initial_amount_STT)
wallet_view.accounts_status_account.click()
transactions_view = wallet_view.transaction_history_button.click() transactions_view = wallet_view.transaction_history_button.click()
transactions_view.transactions_table.find_transaction(amount=sending_amount, asset='STT') transactions_view.transactions_table.find_transaction(amount=sending_amount, asset='STT')