e2e: false failures fixes for wallet and image

This commit is contained in:
Yevheniia Berdnyk 2024-04-05 12:20:38 +03:00
parent 59513eae65
commit 5fc23816a6
No known key found for this signature in database
GPG Key ID: 0642C73C66214825
2 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class TestWalletMultipleDevice(MultipleSharedDeviceTestCase):
# for _ in range(12): # ToDo: 120 sec wait time, enable when autoupdate feature is ready # for _ in range(12): # ToDo: 120 sec wait time, enable when autoupdate feature is ready
wallet_view.wallet_tab.click() wallet_view.wallet_tab.click()
new_eth_amount = round(wallet_view.get_asset(asset_name='Ether').get_amount(), 4) new_eth_amount = round(wallet_view.get_asset(asset_name='Ether').get_amount(), 4)
if user_name == 'sender' and new_eth_amount < exp_amount: if user_name == 'sender' and new_eth_amount <= exp_amount:
return return
if user_name == 'receiver' and new_eth_amount >= exp_amount: if user_name == 'receiver' and new_eth_amount >= exp_amount:
return return

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 KiB

After

Width:  |  Height:  |  Size: 250 KiB