Skip to content

Commit

Permalink
skipped some steps in e2e due to deleteing commands
Browse files Browse the repository at this point in the history
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
  • Loading branch information
churik committed Aug 7, 2019
1 parent df66f9d commit 68da615
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
4 changes: 2 additions & 2 deletions test/appium/tests/atomic/account_management/test_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_copy_contact_code_and_wallet_address(self):
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()
Expand Down Expand Up @@ -235,7 +235,7 @@ def test_contact_profile_view(self):
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()
Expand Down
2 changes: 2 additions & 0 deletions test/appium/tests/atomic/chats/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ def test_logcat_send_transaction_in_1_1_chat(self):

@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']
Expand Down
4 changes: 4 additions & 0 deletions test/appium/tests/atomic/chats/test_one_to_one.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ def test_timestamp_in_chats(self):

@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']
Expand Down Expand Up @@ -570,6 +572,8 @@ def test_send_emoji(self):

@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']
Expand Down
15 changes: 8 additions & 7 deletions test/appium/tests/atomic/transactions/test_wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,14 @@ def test_token_with_more_than_allowed_decimals(self):
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)
Expand Down

0 comments on commit 68da615

Please sign in to comment.