skipped some steps in e2e due to deleteing commands

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
Churikova Tetiana 2019-08-06 16:36:20 +02:00
parent df66f9ddbe
commit 68da6159ed
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
4 changed files with 16 additions and 9 deletions

View File

@ -91,7 +91,7 @@ class TestProfileSingleDevice(SingleDeviceTestCase):
wallet = home.wallet_button.click() wallet = home.wallet_button.click()
wallet.set_up_wallet() wallet.set_up_wallet()
wallet.accounts_status_account.click() wallet.accounts_status_account.click()
wallet.receive_transaction_button.click_until_presence_of_element(wallet.send_transaction_request) wallet.receive_transaction_button.click()
address = wallet.address_text.text address = wallet.address_text.text
share_view = home.get_send_transaction_view() share_view = home.get_send_transaction_view()
share_view.share_button.click() share_view.share_button.click()
@ -235,7 +235,7 @@ class TestProfileSingleDevice(SingleDeviceTestCase):
chat_view = home_view.get_chat_view() chat_view = home_view.get_chat_view()
chat_view.chat_options.click_until_presence_of_element(chat_view.view_profile_button) chat_view.chat_options.click_until_presence_of_element(chat_view.view_profile_button)
chat_view.view_profile_button.click() chat_view.view_profile_button.click()
for text in basic_user['username'], 'In contacts', 'Send transaction', 'Send message', 'Contact code': for text in basic_user['username'], 'In contacts', 'Send message', 'Contact code':
if not chat_view.element_by_text(text).scroll_to_element(): if not chat_view.element_by_text(text).scroll_to_element():
self.errors.append('%s is not visible' % text) self.errors.append('%s is not visible' % text)
self.verify_no_errors() self.verify_no_errors()

View File

@ -382,6 +382,8 @@ class TestCommandsSingleDevices(SingleDeviceTestCase):
@marks.testrail_id(5347) @marks.testrail_id(5347)
@marks.high @marks.high
@marks.skip
# temporary skipped due to 8601
def test_send_transaction_details_in_1_1_chat(self): def test_send_transaction_details_in_1_1_chat(self):
recipient = basic_user recipient = basic_user
sender = transaction_senders['G'] sender = transaction_senders['G']

View File

@ -417,6 +417,8 @@ class TestMessagesOneToOneChatMultiple(MultipleDeviceTestCase):
@marks.testrail_id(5405) @marks.testrail_id(5405)
@marks.high @marks.high
@marks.skip
# temporary skipped due to 8601
def test_fiat_value_is_correctly_calculated_on_recipient_side(self): def test_fiat_value_is_correctly_calculated_on_recipient_side(self):
sender = transaction_senders['Y'] sender = transaction_senders['Y']
recipient = transaction_recipients['I'] recipient = transaction_recipients['I']
@ -570,6 +572,8 @@ class TestMessagesOneToOneChatSingle(SingleDeviceTestCase):
@marks.testrail_id(5393) @marks.testrail_id(5393)
@marks.high @marks.high
@marks.skip
# temporary skipped due to 8601
def test_that_fiat_value_is_correct_for_token_transactions(self): def test_that_fiat_value_is_correct_for_token_transactions(self):
sender_passphrase = transaction_senders['X']['passphrase'] sender_passphrase = transaction_senders['X']['passphrase']
recipient_public_key = transaction_recipients['H']['public_key'] recipient_public_key = transaction_recipients['H']['public_key']

View File

@ -245,13 +245,14 @@ class TestTransactionWalletSingleDevice(SingleDeviceTestCase):
self.errors.append('Warning about too precise amount is not shown when sending a transaction') self.errors.append('Warning about too precise amount is not shown when sending a transaction')
send_transaction.back_button.click() send_transaction.back_button.click()
wallet_view.receive_transaction_button.click() wallet_view.receive_transaction_button.click()
wallet_view.send_transaction_request.click() # temporary skipped due to 8601
send_transaction.select_asset_button.click_until_presence_of_element(adi_button) # wallet_view.send_transaction_request.click()
adi_button.click() # send_transaction.select_asset_button.click_until_presence_of_element(adi_button)
send_transaction.amount_edit_box.set_value(amount) # adi_button.click()
error_text = 'Amount is too precise. Max number of decimals is 7.' # send_transaction.amount_edit_box.set_value(amount)
if not send_transaction.element_by_text(error_text).is_element_displayed(): # error_text = 'Amount is too precise. Max number of decimals is 7.'
self.errors.append('Warning about too precise amount is not shown when requesting a transaction') # if not send_transaction.element_by_text(error_text).is_element_displayed():
# self.errors.append('Warning about too precise amount is not shown when requesting a transaction')
self.verify_no_errors() self.verify_no_errors()
@marks.testrail_id(5423) @marks.testrail_id(5423)