e2e: fix fetching from offline
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
c33e2be76b
commit
efc4f6c750
|
@ -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')
|
||||||
|
|
||||||
|
|
|
@ -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')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue