Skip to content

Commit

Permalink
fix: changed stax touch to swipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Z4karia committed Jul 24, 2024
1 parent a1d0c73 commit 5f48303
Show file tree
Hide file tree
Showing 24 changed files with 5 additions and 5 deletions.
Binary file modified tests/python/snapshots/stax/test_celo_derive_address/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_celo_derive_address/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_celo_derive_address/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_celo_derive_address/00005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_sign_data/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_sign_data/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_sign_data/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_sign_data/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_sign_data/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_sign_transaction_cip64/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_sign_transaction_cip64/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_sign_transaction_cip64/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_sign_transaction_cip64/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_sign_transaction_eip1559/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_sign_transaction_eip1559/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_sign_transaction_eip1559/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/python/snapshots/stax/test_sign_transaction_eip1559/00005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/python/test_celo.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def test_celo_derive_address(test_name, backend, firmware, show, chaincode, navi
instructions = get_nano_review_instructions(2)
else:
instructions = [
NavIns(NavInsID.USE_CASE_CHOICE_CONFIRM),
NavIns(NavInsID.TOUCH, (200, 335)),
NavIns(NavInsID.SWIPE_CENTER_TO_LEFT),
NavIns(NavInsID.TOUCH, (64, 521)),
NavIns(NavInsID.USE_CASE_ADDRESS_CONFIRMATION_EXIT_QR),
NavIns(NavInsID.USE_CASE_ADDRESS_CONFIRMATION_CONFIRM),
NavIns(NavInsID.USE_CASE_STATUS_DISMISS)
Expand Down
6 changes: 3 additions & 3 deletions tests/python/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def get_nano_review_instructions(num_screen_skip):


def get_stax_review_instructions(num_screen_skip):
instructions = [NavIns(NavInsID.USE_CASE_CHOICE_CONFIRM)]
instructions = [NavIns(NavInsID.SWIPE_CENTER_TO_LEFT)]

for i in range(num_screen_skip):
instructions.append(NavIns(NavInsID.USE_CASE_REVIEW_TAP))
Expand All @@ -23,8 +23,8 @@ def get_stax_review_instructions(num_screen_skip):


def get_stax_review_instructions_with_warning(num_screen_skip):
instructions = [NavIns(NavInsID.USE_CASE_CHOICE_CONFIRM)]
instructions.append(NavIns(NavInsID.USE_CASE_CHOICE_CONFIRM))
instructions = [NavIns(NavInsID.SWIPE_CENTER_TO_LEFT)]
instructions.append(NavIns(NavInsID.SWIPE_CENTER_TO_LEFT))

for i in range(num_screen_skip):
instructions.append(NavIns(NavInsID.USE_CASE_REVIEW_TAP))
Expand Down

0 comments on commit 5f48303

Please sign in to comment.