Do not enable asset if its balance more than 0

Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
Serhy 2018-08-21 16:40:51 +03:00
parent 42abd16e9a
commit 68e4be9197
No known key found for this signature in database
GPG Key ID: 5D7C4B9E2B6F500B
1 changed files with 0 additions and 8 deletions

View File

@ -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)