Skip to content

Commit

Permalink
Merge pull request #129 from LedgerHQ/fix-tests
Browse files Browse the repository at this point in the history
Tests: fix waiting for processing call
  • Loading branch information
sgliner-ledger authored Apr 23, 2024
2 parents 55ff724 + 0f1b148 commit 759d80f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/monero_client/monero_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ def validate_prehash_update(self,
NavIns(NavInsID.USE_CASE_REVIEW_CONFIRM)
]

backend.wait_for_text_on_screen("Processing")
with self.device.send_async(cla=PROTOCOL_VERSION,
ins=ins,
p1=2,
Expand All @@ -471,11 +472,9 @@ def validate_prehash_update(self,
0x02 if is_short else 0),
payload=payload):

backend.wait_for_text_on_screen("Processing")
backend.wait_for_text_not_on_screen("Processing")
navigator.navigate_and_compare(TESTS_ROOT_DIR,
test_name + "_prehash_update",
instructions, screen_change_before_first_instruction=False)
instructions)

sw, response = self.device.async_response() # type: int, bytes

Expand Down
Binary file modified tests/snapshots/stax/test_validate_prehash_update/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 759d80f

Please sign in to comment.