Do not enable asset if its balance more than 0
Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
parent
42abd16e9a
commit
68e4be9197
|
@ -189,10 +189,6 @@ class TestTransactionWalletSingleDevice(SingleDeviceTestCase):
|
||||||
home_view.get_back_to_home_view()
|
home_view.get_back_to_home_view()
|
||||||
wallet_view = home_view.wallet_button.click()
|
wallet_view = home_view.wallet_button.click()
|
||||||
wallet_view.set_up_wallet()
|
wallet_view.set_up_wallet()
|
||||||
wallet_view.options_button.click()
|
|
||||||
wallet_view.manage_assets_button.click()
|
|
||||||
wallet_view.asset_checkbox_by_name('ADI').click()
|
|
||||||
wallet_view.done_button.click()
|
|
||||||
send_transaction = wallet_view.send_transaction_button.click()
|
send_transaction = wallet_view.send_transaction_button.click()
|
||||||
adi_button = send_transaction.asset_by_name('ADI')
|
adi_button = send_transaction.asset_by_name('ADI')
|
||||||
send_transaction.select_asset_button.click_until_presence_of_element(adi_button)
|
send_transaction.select_asset_button.click_until_presence_of_element(adi_button)
|
||||||
|
@ -216,10 +212,6 @@ class TestTransactionWalletSingleDevice(SingleDeviceTestCase):
|
||||||
sign_in_view.recover_access(sender['passphrase'], sender['password'])
|
sign_in_view.recover_access(sender['passphrase'], sender['password'])
|
||||||
wallet_view = sign_in_view.wallet_button.click()
|
wallet_view = sign_in_view.wallet_button.click()
|
||||||
wallet_view.set_up_wallet()
|
wallet_view.set_up_wallet()
|
||||||
wallet_view.options_button.click()
|
|
||||||
wallet_view.manage_assets_button.click()
|
|
||||||
wallet_view.asset_checkbox_by_name('ADI').click()
|
|
||||||
wallet_view.done_button.click()
|
|
||||||
send_transaction = wallet_view.send_transaction_button.click()
|
send_transaction = wallet_view.send_transaction_button.click()
|
||||||
adi_button = send_transaction.asset_by_name('ADI')
|
adi_button = send_transaction.asset_by_name('ADI')
|
||||||
send_transaction.select_asset_button.click_until_presence_of_element(adi_button)
|
send_transaction.select_asset_button.click_until_presence_of_element(adi_button)
|
||||||
|
|
Loading…
Reference in New Issue