From 68da6159ed99e16c976f76ac41f1635f31db44f1 Mon Sep 17 00:00:00 2001 From: Churikova Tetiana Date: Tue, 6 Aug 2019 16:36:20 +0200 Subject: [PATCH] skipped some steps in e2e due to deleteing commands Signed-off-by: Churikova Tetiana --- .../atomic/account_management/test_profile.py | 4 ++-- test/appium/tests/atomic/chats/test_commands.py | 2 ++ test/appium/tests/atomic/chats/test_one_to_one.py | 4 ++++ .../tests/atomic/transactions/test_wallet.py | 15 ++++++++------- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/test/appium/tests/atomic/account_management/test_profile.py b/test/appium/tests/atomic/account_management/test_profile.py index 7955f0751f..acddfc4d2f 100644 --- a/test/appium/tests/atomic/account_management/test_profile.py +++ b/test/appium/tests/atomic/account_management/test_profile.py @@ -91,7 +91,7 @@ class TestProfileSingleDevice(SingleDeviceTestCase): wallet = home.wallet_button.click() wallet.set_up_wallet() 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 share_view = home.get_send_transaction_view() share_view.share_button.click() @@ -235,7 +235,7 @@ class TestProfileSingleDevice(SingleDeviceTestCase): chat_view = home_view.get_chat_view() chat_view.chat_options.click_until_presence_of_element(chat_view.view_profile_button) 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(): self.errors.append('%s is not visible' % text) self.verify_no_errors() diff --git a/test/appium/tests/atomic/chats/test_commands.py b/test/appium/tests/atomic/chats/test_commands.py index 48efb68aee..94a891f97b 100644 --- a/test/appium/tests/atomic/chats/test_commands.py +++ b/test/appium/tests/atomic/chats/test_commands.py @@ -382,6 +382,8 @@ class TestCommandsSingleDevices(SingleDeviceTestCase): @marks.testrail_id(5347) @marks.high + @marks.skip + # temporary skipped due to 8601 def test_send_transaction_details_in_1_1_chat(self): recipient = basic_user sender = transaction_senders['G'] diff --git a/test/appium/tests/atomic/chats/test_one_to_one.py b/test/appium/tests/atomic/chats/test_one_to_one.py index 36491816a5..2022d88fc9 100644 --- a/test/appium/tests/atomic/chats/test_one_to_one.py +++ b/test/appium/tests/atomic/chats/test_one_to_one.py @@ -417,6 +417,8 @@ class TestMessagesOneToOneChatMultiple(MultipleDeviceTestCase): @marks.testrail_id(5405) @marks.high + @marks.skip + # temporary skipped due to 8601 def test_fiat_value_is_correctly_calculated_on_recipient_side(self): sender = transaction_senders['Y'] recipient = transaction_recipients['I'] @@ -570,6 +572,8 @@ class TestMessagesOneToOneChatSingle(SingleDeviceTestCase): @marks.testrail_id(5393) @marks.high + @marks.skip + # temporary skipped due to 8601 def test_that_fiat_value_is_correct_for_token_transactions(self): sender_passphrase = transaction_senders['X']['passphrase'] recipient_public_key = transaction_recipients['H']['public_key'] diff --git a/test/appium/tests/atomic/transactions/test_wallet.py b/test/appium/tests/atomic/transactions/test_wallet.py index 0185832b3d..faec2cb3b0 100644 --- a/test/appium/tests/atomic/transactions/test_wallet.py +++ b/test/appium/tests/atomic/transactions/test_wallet.py @@ -245,13 +245,14 @@ class TestTransactionWalletSingleDevice(SingleDeviceTestCase): self.errors.append('Warning about too precise amount is not shown when sending a transaction') send_transaction.back_button.click() wallet_view.receive_transaction_button.click() - wallet_view.send_transaction_request.click() - send_transaction.select_asset_button.click_until_presence_of_element(adi_button) - adi_button.click() - send_transaction.amount_edit_box.set_value(amount) - error_text = 'Amount is too precise. Max number of decimals is 7.' - 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') + # temporary skipped due to 8601 + # wallet_view.send_transaction_request.click() + # send_transaction.select_asset_button.click_until_presence_of_element(adi_button) + # adi_button.click() + # send_transaction.amount_edit_box.set_value(amount) + # error_text = 'Amount is too precise. Max number of decimals is 7.' + # 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() @marks.testrail_id(5423)