More e2e fixes

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Serhy 2019-06-12 15:59:56 +03:00 committed by Andrey Shovkoplyas
parent d1b991f656
commit f3aa376d16
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ class TestTransactionDApp(SingleDeviceTestCase):
send_transaction_view.sign_transaction()
# Check that second 'Send transaction' screen appears
if not send_transaction_view.element_by_text('Sign transaction').is_element_displayed(10):
if not send_transaction_view.element_by_text('Sign with password').is_element_displayed(10):
pytest.fail('Second send transaction screen did not appear!')
send_transaction_view.sign_transaction()
@ -109,7 +109,7 @@ class TestTransactionDApp(SingleDeviceTestCase):
send_transaction_view.sign_transaction()
# Check that second 'Send transaction' screen appears
if not send_transaction_view.element_by_text('Sign transaction').is_element_displayed(20):
if not send_transaction_view.element_by_text('Sign with password').is_element_displayed(20):
pytest.fail('Second send transaction screen did not appear!')
send_transaction_view.sign_transaction()