2018-06-28 18:46:51 +00:00
|
|
|
from _pytest.outcomes import Failed
|
2020-03-24 15:45:15 +00:00
|
|
|
import time
|
2018-06-21 23:57:54 +00:00
|
|
|
|
2020-04-02 10:30:20 +00:00
|
|
|
from tests import marks
|
2020-05-15 14:51:59 +00:00
|
|
|
from tests.users import transaction_senders, transaction_recipients, ens_user_ropsten
|
2018-07-03 18:50:18 +00:00
|
|
|
from tests.base_test_case import MultipleDeviceTestCase, SingleDeviceTestCase
|
2018-06-21 16:40:27 +00:00
|
|
|
from views.sign_in_view import SignInView
|
|
|
|
|
|
|
|
|
|
|
|
@marks.transaction
|
2018-07-03 18:50:18 +00:00
|
|
|
class TestCommandsMultipleDevices(MultipleDeviceTestCase):
|
2018-06-21 16:40:27 +00:00
|
|
|
|
2020-04-02 10:30:20 +00:00
|
|
|
@marks.testrail_id(6257)
|
|
|
|
@marks.medium
|
|
|
|
def test_network_mismatch_for_send_request_in_1_1_chat(self):
|
2018-09-17 08:50:01 +00:00
|
|
|
sender = transaction_senders['D']
|
2018-06-21 16:40:27 +00:00
|
|
|
self.create_drivers(2)
|
|
|
|
device_1_sign_in, device_2_sign_in = SignInView(self.drivers[0]), SignInView(self.drivers[1])
|
2018-09-17 08:50:01 +00:00
|
|
|
device_1_sign_in.recover_access(passphrase=sender['passphrase'])
|
2018-06-21 23:57:54 +00:00
|
|
|
device_2_sign_in.create_user()
|
2020-04-02 10:30:20 +00:00
|
|
|
home_1, home_2 = device_1_sign_in.get_home_view(), device_2_sign_in.get_home_view()
|
|
|
|
profile_2 = home_2.profile_button.click()
|
|
|
|
device_2_username = profile_2.default_username_text.text
|
|
|
|
profile_2.switch_network('Mainnet with upstream RPC')
|
|
|
|
|
|
|
|
chat_2 = home_2.add_contact(sender['public_key'])
|
|
|
|
chat_2.send_message("Hey there!")
|
|
|
|
amount = chat_2.get_unique_amount()
|
|
|
|
|
|
|
|
chat_2.commands_button.click()
|
|
|
|
request_transaction = chat_2.request_command.click()
|
|
|
|
request_transaction.amount_edit_box.set_value(amount)
|
|
|
|
request_transaction.confirm()
|
|
|
|
request_transaction.request_transaction_button.click()
|
|
|
|
chat_2_request_message = chat_2.chat_element_by_text('↓ Incoming transaction')
|
|
|
|
|
2020-04-23 15:42:20 +00:00
|
|
|
chat_2_request_message.long_press_element()
|
|
|
|
if chat_2.reply_message_button.is_element_displayed():
|
|
|
|
self.errors.append('Reply is available on long-tap on Incoming transaction message!')
|
|
|
|
|
2020-04-02 10:30:20 +00:00
|
|
|
chat_1 = home_1.get_chat(device_2_username).click()
|
|
|
|
chat_1_sender_message = chat_1.chat_element_by_text('↑ Outgoing transaction')
|
2020-04-23 15:42:20 +00:00
|
|
|
chat_1_sender_message.long_press_element()
|
|
|
|
if chat_1.reply_message_button.is_element_displayed():
|
|
|
|
self.errors.append('Reply is available on long-tap on Outgoing transaction message!')
|
2020-04-02 10:30:20 +00:00
|
|
|
send_message = chat_1_sender_message.sign_and_send.click()
|
|
|
|
send_message.next_button.click()
|
|
|
|
send_message.sign_transaction()
|
|
|
|
self.network_api.wait_for_confirmation_of_transaction(sender['address'], amount, confirmations=15)
|
|
|
|
if chat_1_sender_message.transaction_status.text != 'Confirmed':
|
|
|
|
self.errors.append('Wrong state is shown for outgoing from Ropsten transaction: "Confirmed" is expected, '
|
|
|
|
'in fact %s ' % chat_1_sender_message.transaction_status.text)
|
|
|
|
|
|
|
|
if chat_2_request_message.transaction_status.text == 'Confirmed':
|
|
|
|
self.errors.append('Sent from Ropsten transaction is shown as confirmed!')
|
|
|
|
|
2019-10-29 08:25:57 +00:00
|
|
|
self.errors.verify_no_errors()
|
2018-06-28 18:46:51 +00:00
|
|
|
|
2020-03-24 15:45:15 +00:00
|
|
|
@marks.testrail_id(6253)
|
2018-09-28 15:30:06 +00:00
|
|
|
@marks.critical
|
2018-06-28 18:46:51 +00:00
|
|
|
def test_send_eth_in_1_1_chat(self):
|
2018-09-17 08:50:01 +00:00
|
|
|
sender = transaction_senders['A']
|
2018-06-28 18:46:51 +00:00
|
|
|
self.create_drivers(2)
|
|
|
|
device_1, device_2 = SignInView(self.drivers[0]), SignInView(self.drivers[1])
|
2018-09-17 08:50:01 +00:00
|
|
|
home_1 = device_1.recover_access(passphrase=sender['passphrase'])
|
2020-07-02 12:00:35 +00:00
|
|
|
home_2 = device_2.create_user()
|
|
|
|
recipient_public_key, recipient_username = home_2.get_public_key_and_username(return_username=True)
|
2018-06-28 18:46:51 +00:00
|
|
|
wallet_1, wallet_2 = home_1.wallet_button.click(), home_2.wallet_button.click()
|
2020-04-02 10:30:20 +00:00
|
|
|
for wallet in (wallet_1, wallet_2):
|
|
|
|
wallet.set_up_wallet()
|
|
|
|
wallet.home_button.click()
|
2018-06-28 18:46:51 +00:00
|
|
|
|
2020-07-02 12:00:35 +00:00
|
|
|
chat_1 = home_1.add_contact(recipient_public_key)
|
2018-06-28 18:46:51 +00:00
|
|
|
amount = chat_1.get_unique_amount()
|
2020-03-24 15:45:15 +00:00
|
|
|
|
|
|
|
home_1.just_fyi('Send %s ETH in 1-1 chat and check it for sender and receiver: Address requested' % amount)
|
2018-06-28 18:46:51 +00:00
|
|
|
chat_1.commands_button.click()
|
2020-03-24 15:45:15 +00:00
|
|
|
send_transaction = chat_1.send_command.click()
|
2020-07-02 12:00:35 +00:00
|
|
|
if not send_transaction.get_username_in_transaction_bottom_sheet_button(recipient_username).is_element_displayed():
|
|
|
|
self.driver.fail('%s is not shown in "Send Transaction" bottom sheet' % recipient_username)
|
|
|
|
send_transaction.get_username_in_transaction_bottom_sheet_button(recipient_username).click()
|
2020-03-24 15:45:15 +00:00
|
|
|
if send_transaction.scan_qr_code_button.is_element_displayed():
|
2020-07-02 12:00:35 +00:00
|
|
|
self.driver.fail('Recipient is editable in bottom sheet when send ETH from 1-1 chat')
|
2020-03-24 15:45:15 +00:00
|
|
|
send_transaction.amount_edit_box.set_value(amount)
|
|
|
|
send_transaction.confirm()
|
|
|
|
send_transaction.sign_transaction_button.click()
|
|
|
|
chat_1_sender_message = chat_1.chat_element_by_text('↑ Outgoing transaction')
|
|
|
|
if not chat_1_sender_message.is_element_displayed():
|
|
|
|
self.driver.fail('No message is shown after sending ETH in 1-1 chat for sender')
|
|
|
|
if chat_1_sender_message.transaction_status.text != 'Address requested':
|
|
|
|
self.errors.append('Wrong state is shown for outgoing transaction: "Address requested" is expected, in fact'
|
|
|
|
' %s ' % chat_1_sender_message.transaction_status.text)
|
|
|
|
|
2020-03-17 17:27:10 +00:00
|
|
|
chat_2 = home_2.get_chat(sender['username']).click()
|
2020-03-24 15:45:15 +00:00
|
|
|
chat_2_receiver_message = chat_2.chat_element_by_text('↓ Incoming transaction')
|
|
|
|
timestamp_sender = chat_1_sender_message.timestamp_message.text
|
|
|
|
if not chat_2_receiver_message.is_element_displayed():
|
|
|
|
self.driver.fail('No message about incoming transaction in 1-1 chat is shown for receiver')
|
|
|
|
if chat_2_receiver_message.transaction_status.text != 'Address requested':
|
|
|
|
self.errors.append('Wrong state is shown for incoming transaction: "Address requested" is expected, in fact'
|
|
|
|
' %s' % chat_2_receiver_message.transaction_status.text)
|
|
|
|
|
|
|
|
home_2.just_fyi('Accept and share address for sender and receiver')
|
|
|
|
for text in ('Accept and share address', 'Decline'):
|
|
|
|
if not chat_2_receiver_message.contains_text(text):
|
|
|
|
self.driver.fail("Transaction message doesn't contain required option %s" % text)
|
|
|
|
select_account_bottom_sheet = chat_2_receiver_message.accept_and_share_address.click()
|
|
|
|
if not select_account_bottom_sheet.get_account_in_select_account_bottom_sheet_button('Status').is_element_displayed():
|
|
|
|
self.errors.append('Not expected value in "From" in "Select account": "Status" is expected')
|
|
|
|
select_account_bottom_sheet.select_button.click()
|
|
|
|
if chat_2_receiver_message.transaction_status.text != "Shared 'Status account'":
|
|
|
|
self.errors.append('Wrong state is shown for incoming transaction: "Shared \'Status account\' is expected, '
|
|
|
|
'in fact %s ' % chat_2_receiver_message.transaction_status.text)
|
|
|
|
if chat_1_sender_message.transaction_status.text != 'Address request accepted':
|
|
|
|
self.errors.append('Wrong state is shown for outgoing transaction: "Address request accepted" is expected, '
|
|
|
|
'in fact %s ' % chat_1_sender_message.transaction_status.text)
|
|
|
|
|
|
|
|
home_1.just_fyi("Sign and send transaction and check that timestamp on message is updated")
|
|
|
|
time.sleep(40)
|
|
|
|
send_message = chat_1_sender_message.sign_and_send.click()
|
|
|
|
send_message.next_button.click()
|
2020-07-22 13:30:07 +00:00
|
|
|
send_message.sign_transaction(default_gas_price=False)
|
2020-03-24 15:45:15 +00:00
|
|
|
updated_timestamp_sender = chat_1_sender_message.timestamp_message.text
|
|
|
|
if updated_timestamp_sender == timestamp_sender:
|
|
|
|
self.errors.append("Timestamp of message is not updated after signing transaction")
|
|
|
|
|
|
|
|
chat_1.wallet_button.click()
|
|
|
|
wallet_1.accounts_status_account.click()
|
|
|
|
transactions_view = wallet_1.transaction_history_button.click()
|
|
|
|
transactions_view.transactions_table.find_transaction(amount=amount)
|
|
|
|
self.network_api.wait_for_confirmation_of_transaction(sender['address'], amount)
|
|
|
|
wallet_1.home_button.click()
|
2018-06-28 18:46:51 +00:00
|
|
|
|
2020-03-24 15:45:15 +00:00
|
|
|
home_1.just_fyi("Check 'Confirmed' state for sender")
|
|
|
|
if chat_1_sender_message.transaction_status.text != 'Confirmed':
|
|
|
|
self.errors.append('Wrong state is shown for outgoing transaction: "Confirmed" is expected, in fact'
|
|
|
|
' %s ' % chat_1_sender_message.transaction_status.text)
|
2019-10-29 08:25:57 +00:00
|
|
|
self.errors.verify_no_errors()
|
2018-06-28 18:46:51 +00:00
|
|
|
|
2020-04-02 10:30:20 +00:00
|
|
|
@marks.testrail_id(6263)
|
2018-09-28 15:30:06 +00:00
|
|
|
@marks.critical
|
2020-04-02 10:30:20 +00:00
|
|
|
def test_request_and_receive_stt_in_1_1_chat_offline(self):
|
2018-09-17 08:50:01 +00:00
|
|
|
sender = transaction_senders['C']
|
2018-07-03 18:50:18 +00:00
|
|
|
self.create_drivers(2)
|
|
|
|
device_1, device_2 = SignInView(self.drivers[0]), SignInView(self.drivers[1])
|
2020-04-10 10:25:46 +00:00
|
|
|
|
|
|
|
device_1.just_fyi('Grab user data for transactions and public chat, set up wallets')
|
|
|
|
home_1 = device_1.create_user()
|
|
|
|
recipient_public_key, recipient_username = home_1.get_public_key_and_username(return_username=True)
|
|
|
|
wallet_1 = home_1.wallet_button.click()
|
2019-07-12 07:16:02 +00:00
|
|
|
wallet_1.set_up_wallet()
|
2020-04-10 10:25:46 +00:00
|
|
|
recipient_address = wallet_1.get_wallet_address()
|
|
|
|
wallet_1.back_button.click()
|
|
|
|
wallet_1.select_asset('STT')
|
2018-07-03 18:50:18 +00:00
|
|
|
wallet_1.home_button.click()
|
2020-04-10 10:25:46 +00:00
|
|
|
|
|
|
|
home_2 = device_2.recover_access(passphrase=sender['passphrase'])
|
|
|
|
wallet_2 = home_2.wallet_button.click()
|
2020-04-02 10:30:20 +00:00
|
|
|
wallet_2.set_up_wallet()
|
2020-04-10 10:25:46 +00:00
|
|
|
wallet_2.home_button.click()
|
2018-07-03 18:50:18 +00:00
|
|
|
|
2020-04-10 10:25:46 +00:00
|
|
|
device_2.just_fyi('Add recipient to contact and send 1 message')
|
|
|
|
chat_2 = home_2.add_contact(recipient_public_key)
|
|
|
|
chat_2.send_message("Hey there!")
|
|
|
|
amount = chat_2.get_unique_amount()
|
2020-04-02 10:30:20 +00:00
|
|
|
asset_name = 'STT'
|
|
|
|
profile_2 = wallet_2.profile_button.click()
|
|
|
|
profile_2.logout()
|
2020-04-10 10:25:46 +00:00
|
|
|
chat_element = home_1.get_chat(sender['username'])
|
|
|
|
chat_element.wait_for_visibility_of_element(30)
|
|
|
|
chat_1 = chat_element.click()
|
2020-04-02 10:30:20 +00:00
|
|
|
|
|
|
|
home_1.just_fyi('Request %s STT in 1-1 chat and check it is visible for sender and receiver' % amount)
|
|
|
|
chat_1.commands_button.click()
|
|
|
|
request_transaction = chat_1.request_command.click()
|
|
|
|
request_transaction.amount_edit_box.set_value(amount)
|
|
|
|
request_transaction.confirm()
|
|
|
|
asset_button = request_transaction.asset_by_name(asset_name)
|
|
|
|
request_transaction.select_asset_button.click_until_presence_of_element(asset_button)
|
|
|
|
asset_button.click()
|
|
|
|
request_transaction.request_transaction_button.click()
|
|
|
|
chat_1_request_message = chat_1.chat_element_by_text('↓ Incoming transaction')
|
|
|
|
if not chat_1_request_message.is_element_displayed():
|
2020-04-10 10:25:46 +00:00
|
|
|
self.driver.fail('No incoming transaction in 1-1 chat is shown for recipient after requesting STT')
|
2020-04-02 10:30:20 +00:00
|
|
|
|
|
|
|
home_2.just_fyi('Check that transaction message is fetched from offline and sign transaction')
|
|
|
|
device_2.sign_in()
|
|
|
|
home_2.connection_status.wait_for_invisibility_of_element(30)
|
2020-04-10 10:25:46 +00:00
|
|
|
home_2.get_chat(recipient_username).click()
|
2020-04-02 10:30:20 +00:00
|
|
|
chat_2_sender_message = chat_2.chat_element_by_text('↑ Outgoing transaction')
|
|
|
|
if not chat_2_sender_message.is_element_displayed():
|
2020-04-10 10:25:46 +00:00
|
|
|
self.driver.fail('No outgoing transaction in 1-1 chat is shown for sender after requesting STT')
|
2020-04-02 10:30:20 +00:00
|
|
|
if chat_2_sender_message.transaction_status.text != 'Address received':
|
|
|
|
self.errors.append('Wrong state is shown for outgoing transaction: "Address request accepted" is expected, '
|
|
|
|
'in fact %s ' % chat_2_sender_message.transaction_status.text)
|
|
|
|
send_message = chat_2_sender_message.sign_and_send.click()
|
|
|
|
send_message.next_button.click()
|
2020-05-15 11:51:05 +00:00
|
|
|
send_message.sign_transaction(default_gas_price=False)
|
2018-07-03 18:50:18 +00:00
|
|
|
|
2020-04-02 10:30:20 +00:00
|
|
|
home_2.just_fyi('Check that transaction message is updated with new status after offline')
|
|
|
|
chat_2.toggle_airplane_mode()
|
|
|
|
self.network_api.wait_for_confirmation_of_transaction(sender['address'], amount, confirmations=15, token=True)
|
|
|
|
chat_2.toggle_airplane_mode()
|
2020-04-10 10:25:46 +00:00
|
|
|
chat_2.connection_status.wait_for_invisibility_of_element(30)
|
2020-04-02 10:30:20 +00:00
|
|
|
if chat_2_sender_message.transaction_status.text != 'Confirmed':
|
|
|
|
self.errors.append('Wrong state is shown for outgoing transaction: "Confirmed" is expected, in fact'
|
|
|
|
' %s ' % chat_2_sender_message.transaction_status.text)
|
2018-07-03 18:50:18 +00:00
|
|
|
try:
|
2020-04-10 10:25:46 +00:00
|
|
|
self.network_api.find_transaction_by_unique_amount(recipient_address[2:], amount, token=True)
|
2018-07-03 18:50:18 +00:00
|
|
|
except Failed as e:
|
|
|
|
self.errors.append(e.msg)
|
2019-10-29 08:25:57 +00:00
|
|
|
self.errors.verify_no_errors()
|
2018-07-03 18:50:18 +00:00
|
|
|
|
2020-04-02 10:30:20 +00:00
|
|
|
@marks.testrail_id(6265)
|
2018-09-28 15:30:06 +00:00
|
|
|
@marks.critical
|
2020-09-04 15:34:58 +00:00
|
|
|
def test_decline_transactions_in_1_1_chat_push_notification_changing_state(self):
|
2020-04-02 10:30:20 +00:00
|
|
|
recipient = transaction_recipients['B']
|
2018-09-17 08:50:01 +00:00
|
|
|
sender = transaction_senders['B']
|
2018-07-03 18:50:18 +00:00
|
|
|
self.create_drivers(2)
|
|
|
|
device_1, device_2 = SignInView(self.drivers[0]), SignInView(self.drivers[1])
|
2020-09-04 15:34:58 +00:00
|
|
|
home_1 = device_1.recover_access(passphrase=sender['passphrase'], enable_notifications=True)
|
2018-09-17 08:50:01 +00:00
|
|
|
home_2 = device_2.recover_access(passphrase=recipient['passphrase'])
|
2018-07-03 18:50:18 +00:00
|
|
|
wallet_1, wallet_2 = home_1.wallet_button.click(), home_2.wallet_button.click()
|
2020-04-02 10:30:20 +00:00
|
|
|
for wallet in wallet_1, wallet_2:
|
|
|
|
wallet.set_up_wallet()
|
|
|
|
wallet.home_button.click()
|
2018-07-03 18:50:18 +00:00
|
|
|
|
2020-04-02 10:30:20 +00:00
|
|
|
chat_1 = home_1.add_contact(recipient['public_key'])
|
|
|
|
amount = chat_1.get_unique_amount()
|
2018-07-03 18:50:18 +00:00
|
|
|
|
2020-04-02 10:30:20 +00:00
|
|
|
home_1.just_fyi('Decline transaction before sharing address and check that state is changed')
|
|
|
|
chat_1.commands_button.click()
|
|
|
|
send_transaction = chat_1.send_command.click()
|
|
|
|
send_transaction.amount_edit_box.set_value(amount)
|
|
|
|
send_transaction.confirm()
|
|
|
|
send_transaction.sign_transaction_button.click()
|
|
|
|
chat_1_sender_message = chat_1.chat_element_by_text('↑ Outgoing transaction')
|
2020-09-04 15:34:58 +00:00
|
|
|
home_1.click_system_home_button()
|
|
|
|
|
2020-09-17 13:14:55 +00:00
|
|
|
from views.chat_view import ChatView
|
|
|
|
chat = ChatView(self.drivers[1])
|
|
|
|
chat_2 = home_2.get_chat(sender['username']).click_until_presence_of_element(chat.chat_message_input)
|
2020-04-02 10:30:20 +00:00
|
|
|
chat_2_receiver_message = chat_2.chat_element_by_text('↓ Incoming transaction')
|
|
|
|
chat_2_receiver_message.decline_transaction.click()
|
2020-09-04 15:34:58 +00:00
|
|
|
home_1.open_notification_bar()
|
|
|
|
home_1.element_by_text_part('Request address for transaction declined').wait_and_click()
|
2020-06-16 14:24:51 +00:00
|
|
|
for message in chat_1_sender_message, chat_2_receiver_message:
|
2020-06-25 08:14:17 +00:00
|
|
|
if not message.contains_text('Transaction declined', 20):
|
|
|
|
self.errors.append('Message status is not updated to "Transaction declined" for transaction before '
|
|
|
|
'sharing address')
|
|
|
|
|
2020-04-02 10:30:20 +00:00
|
|
|
home_1.just_fyi('Decline transaction request and check that state is changed')
|
|
|
|
request_amount = chat_1.get_unique_amount()
|
|
|
|
request_transaction = chat_1.request_command.click()
|
|
|
|
request_transaction.amount_edit_box.set_value(request_amount)
|
|
|
|
request_transaction.confirm()
|
|
|
|
request_transaction.request_transaction_button.click()
|
|
|
|
chat_1_request_message = chat_1.chat_element_by_text('↓ Incoming transaction')
|
|
|
|
chat_2_sender_message = chat_2.chat_element_by_text('↑ Outgoing transaction')
|
|
|
|
chat_2_sender_message.decline_transaction.click()
|
2020-06-25 08:14:17 +00:00
|
|
|
for message in chat_2_sender_message, chat_1_request_message:
|
|
|
|
if not message.contains_text('Transaction declined', 20):
|
|
|
|
self.errors.append('Message status is not updated to "Transaction declined" for transaction request')
|
2018-07-03 18:50:18 +00:00
|
|
|
|
2019-10-29 08:25:57 +00:00
|
|
|
self.errors.verify_no_errors()
|
2018-07-03 18:50:18 +00:00
|
|
|
|
2018-07-13 10:56:36 +00:00
|
|
|
|
2018-07-03 18:50:18 +00:00
|
|
|
@marks.transaction
|
|
|
|
class TestCommandsSingleDevices(SingleDeviceTestCase):
|
|
|
|
|
2020-04-02 10:30:20 +00:00
|
|
|
@marks.testrail_id(6279)
|
2019-03-05 16:43:30 +00:00
|
|
|
@marks.high
|
2020-05-15 14:51:59 +00:00
|
|
|
def test_send_eth_to_ens_in_chat(self):
|
2018-07-03 18:50:18 +00:00
|
|
|
sign_in = SignInView(self.driver)
|
2020-04-02 10:30:20 +00:00
|
|
|
sender = transaction_senders['E']
|
|
|
|
home = sign_in.recover_access(sender['passphrase'])
|
2020-05-15 14:51:59 +00:00
|
|
|
chat = home.add_contact(ens_user_ropsten['ens'])
|
2018-07-03 18:50:18 +00:00
|
|
|
chat.commands_button.click()
|
2018-07-09 19:47:50 +00:00
|
|
|
amount = chat.get_unique_amount()
|
2018-07-13 10:56:36 +00:00
|
|
|
|
2020-04-02 10:30:20 +00:00
|
|
|
send_message = chat.send_command.click()
|
|
|
|
send_message.amount_edit_box.set_value(amount)
|
|
|
|
send_message.confirm()
|
|
|
|
send_message.next_button.click()
|
2018-07-20 08:27:33 +00:00
|
|
|
|
2020-04-02 10:30:20 +00:00
|
|
|
from views.send_transaction_view import SendTransactionView
|
|
|
|
send_transaction = SendTransactionView(self.driver)
|
2020-05-15 11:51:05 +00:00
|
|
|
send_transaction.ok_got_it_button.click()
|
|
|
|
send_transaction.sign_transaction(default_gas_price=False)
|
2020-04-02 10:30:20 +00:00
|
|
|
chat_sender_message = chat.chat_element_by_text('↑ Outgoing transaction')
|
|
|
|
self.network_api.wait_for_confirmation_of_transaction(sender['address'], amount, confirmations=15)
|
|
|
|
if chat_sender_message.transaction_status.text != 'Confirmed':
|
|
|
|
self.errors.append('Wrong state is shown for outgoing transaction to ENS: "Confirmed" is expected, '
|
|
|
|
'in fact %s ' % chat_sender_message.transaction_status.text)
|
2018-07-20 08:27:33 +00:00
|
|
|
|
2019-10-29 08:25:57 +00:00
|
|
|
self.errors.verify_no_errors()
|