diff --git a/tests/ragger_bitcoin/ragger_instructions.py b/tests/ragger_bitcoin/ragger_instructions.py index 545902e6..72d86604 100644 --- a/tests/ragger_bitcoin/ragger_instructions.py +++ b/tests/ragger_bitcoin/ragger_instructions.py @@ -43,17 +43,17 @@ def navigate_end_of_flow(self, save_screenshot=True): save_screenshot=save_screenshot) def review_start(self, output_count: int = 1, save_screenshot=True): - self.new_request("Review", NavInsID.USE_CASE_REVIEW_TAP, NavInsID.USE_CASE_REVIEW_TAP, + self.new_request("Review", NavInsID.SWIPE_CENTER_TO_LEFT, NavInsID.SWIPE_CENTER_TO_LEFT, save_screenshot=save_screenshot) for _ in range(0, output_count): - self.same_request("Amount", NavInsID.USE_CASE_REVIEW_TAP, NavInsID.USE_CASE_REVIEW_TAP, + self.same_request("Amount", NavInsID.SWIPE_CENTER_TO_LEFT, NavInsID.SWIPE_CENTER_TO_LEFT, save_screenshot=save_screenshot) def review_fees(self, fees_on_same_request: bool = True, save_screenshot=True): if fees_on_same_request: - self.same_request("Fees", NavInsID.USE_CASE_REVIEW_TAP, NavInsID.USE_CASE_REVIEW_TAP, + self.same_request("Fees", NavInsID.SWIPE_CENTER_TO_LEFT, NavInsID.SWIPE_CENTER_TO_LEFT, save_screenshot=save_screenshot) else: - self.new_request("Fees", NavInsID.USE_CASE_REVIEW_TAP, NavInsID.USE_CASE_REVIEW_TAP, + self.new_request("Fees", NavInsID.SWIPE_CENTER_TO_LEFT, NavInsID.SWIPE_CENTER_TO_LEFT, save_screenshot=save_screenshot) def confirm_transaction(self, save_screenshot=True): @@ -64,9 +64,9 @@ def confirm_transaction(self, save_screenshot=True): save_screenshot=save_screenshot) def confirm_message(self, save_screenshot=True): - self.new_request("Sign", NavInsID.USE_CASE_REVIEW_TAP, + self.new_request("Sign", NavInsID.SWIPE_CENTER_TO_LEFT, NavInsID.USE_CASE_REVIEW_CONFIRM, save_screenshot=save_screenshot) - self.new_request("Message", NavInsID.USE_CASE_REVIEW_TAP, + self.new_request("Message", NavInsID.SWIPE_CENTER_TO_LEFT, NavInsID.USE_CASE_STATUS_DISMISS, save_screenshot=save_screenshot) def confirm_wallet(self, save_screenshot=True): @@ -88,7 +88,7 @@ def warning_accept(self, save_screenshot=True): save_screenshot=save_screenshot) def address_confirm(self, save_screenshot=True): - self.new_request("Confirm", NavInsID.USE_CASE_REVIEW_TAP, + self.new_request("Confirm", NavInsID.SWIPE_CENTER_TO_LEFT, NavInsID.USE_CASE_ADDRESS_CONFIRMATION_CONFIRM, save_screenshot=save_screenshot) diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_0/00000.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_0/00000.png index 538f3218..baaaf83a 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_0/00000.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_0/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_1/00000.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_1/00000.png index 55a58f0d..a68f765a 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_1/00000.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_1/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_1/00001.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_1/00001.png index 24a03524..9d42b78d 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_1/00001.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_1/00001.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_1/00002.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_1/00002.png index dac62118..7e8a7e6f 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_1/00002.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_1/00002.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_2/00000.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_2/00000.png index 3f906b2b..7a494786 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_2/00000.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/0'_0_2/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_0/00000.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_0/00000.png index 538f3218..baaaf83a 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_0/00000.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_0/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_1/00000.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_1/00000.png index 55a58f0d..a68f765a 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_1/00000.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_1/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_1/00001.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_1/00001.png index c6220afd..3bfe4525 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_1/00001.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_1/00001.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_1/00002.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_1/00002.png index 7c57c16e..ac327395 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_1/00002.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_1/00002.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_2/00000.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_2/00000.png index 3f906b2b..7a494786 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_2/00000.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/10'_0_2/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_0/00000.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_0/00000.png index 538f3218..baaaf83a 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_0/00000.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_0/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_1/00000.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_1/00000.png index 55a58f0d..a68f765a 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_1/00000.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_1/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_1/00001.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_1/00001.png index e84bf60f..70cea9bc 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_1/00001.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_1/00001.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_1/00002.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_1/00002.png index 878411cf..f1240725 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_1/00002.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_1/00002.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_2/00000.png b/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_2/00000.png index 3f906b2b..7a494786 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_2/00000.png and b/tests/snapshots/stax/test_get_public_key_m/44'/1'/2'/1/42_0_2/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_0/00000.png b/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_0/00000.png index 538f3218..baaaf83a 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_0/00000.png and b/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_0/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_1/00000.png b/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_1/00000.png index 55a58f0d..a68f765a 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_1/00000.png and b/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_1/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_1/00001.png b/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_1/00001.png index aa4adfea..7b7235eb 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_1/00001.png and b/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_1/00001.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_1/00002.png b/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_1/00002.png index e06d6335..ddaa1fe5 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_1/00002.png and b/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_1/00002.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_2/00000.png b/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_2/00000.png index 3f906b2b..7a494786 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_2/00000.png and b/tests/snapshots/stax/test_get_public_key_m/48'/1'/4'/1'/0/7_0_2/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_0/00000.png b/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_0/00000.png index 538f3218..baaaf83a 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_0/00000.png and b/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_0/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_1/00000.png b/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_1/00000.png index 55a58f0d..a68f765a 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_1/00000.png and b/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_1/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_1/00001.png b/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_1/00001.png index 11533ffc..445a5460 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_1/00001.png and b/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_1/00001.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_1/00002.png b/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_1/00002.png index 5b557219..6eb052b8 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_1/00002.png and b/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_1/00002.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_2/00000.png b/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_2/00000.png index 3f906b2b..7a494786 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_2/00000.png and b/tests/snapshots/stax/test_get_public_key_m/49'/1'/1'/1/3_0_2/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/84'/1'/2'/0/10_0_0/00000.png b/tests/snapshots/stax/test_get_public_key_m/84'/1'/2'/0/10_0_0/00000.png index 0d6d65ba..41ec8f3e 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/84'/1'/2'/0/10_0_0/00000.png and b/tests/snapshots/stax/test_get_public_key_m/84'/1'/2'/0/10_0_0/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/84'/1'/2'/0/10_0_0/00001.png b/tests/snapshots/stax/test_get_public_key_m/84'/1'/2'/0/10_0_0/00001.png index ed29648d..816799b9 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/84'/1'/2'/0/10_0_0/00001.png and b/tests/snapshots/stax/test_get_public_key_m/84'/1'/2'/0/10_0_0/00001.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/84'/1'/2'/0/10_0_1/00000.png b/tests/snapshots/stax/test_get_public_key_m/84'/1'/2'/0/10_0_1/00000.png index 3f906b2b..7a494786 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/84'/1'/2'/0/10_0_1/00000.png and b/tests/snapshots/stax/test_get_public_key_m/84'/1'/2'/0/10_0_1/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_0/00000.png b/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_0/00000.png index 538f3218..baaaf83a 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_0/00000.png and b/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_0/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_1/00000.png b/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_1/00000.png index 55a58f0d..a68f765a 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_1/00000.png and b/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_1/00000.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_1/00001.png b/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_1/00001.png index 4786788f..a68b81fb 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_1/00001.png and b/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_1/00001.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_1/00002.png b/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_1/00002.png index 5d9f15f7..413d044f 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_1/00002.png and b/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_1/00002.png differ diff --git a/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_2/00000.png b/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_2/00000.png index 3f906b2b..7a494786 100644 Binary files a/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_2/00000.png and b/tests/snapshots/stax/test_get_public_key_m/86'/1'/4'/1/12_0_2/00000.png differ diff --git a/tests/snapshots/stax/test_sign_message_0_0/00000.png b/tests/snapshots/stax/test_sign_message_0_0/00000.png index 0d6d65ba..41ec8f3e 100644 Binary files a/tests/snapshots/stax/test_sign_message_0_0/00000.png and b/tests/snapshots/stax/test_sign_message_0_0/00000.png differ diff --git a/tests/snapshots/stax/test_sign_message_0_0/00001.png b/tests/snapshots/stax/test_sign_message_0_0/00001.png index 475185ed..c1702167 100644 Binary files a/tests/snapshots/stax/test_sign_message_0_0/00001.png and b/tests/snapshots/stax/test_sign_message_0_0/00001.png differ diff --git a/tests/snapshots/stax/test_sign_message_0_1/00000.png b/tests/snapshots/stax/test_sign_message_0_1/00000.png index 3f906b2b..7a494786 100644 Binary files a/tests/snapshots/stax/test_sign_message_0_1/00000.png and b/tests/snapshots/stax/test_sign_message_0_1/00000.png differ diff --git a/tests/snapshots/stax/test_sign_message_1_0/00000.png b/tests/snapshots/stax/test_sign_message_1_0/00000.png index a78662e3..98be115c 100644 Binary files a/tests/snapshots/stax/test_sign_message_1_0/00000.png and b/tests/snapshots/stax/test_sign_message_1_0/00000.png differ diff --git a/tests/snapshots/stax/test_sign_message_1_0/00001.png b/tests/snapshots/stax/test_sign_message_1_0/00001.png index a08f0e8b..ecb9e652 100644 Binary files a/tests/snapshots/stax/test_sign_message_1_0/00001.png and b/tests/snapshots/stax/test_sign_message_1_0/00001.png differ diff --git a/tests/snapshots/stax/test_sign_message_1_0/00002.png b/tests/snapshots/stax/test_sign_message_1_0/00002.png index 97ecbfea..8c8ccd52 100644 Binary files a/tests/snapshots/stax/test_sign_message_1_0/00002.png and b/tests/snapshots/stax/test_sign_message_1_0/00002.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_0/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_0/00000.png index 495e4e67..8d48cef7 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_0/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_0/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_1/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_1/00000.png index 1bcae3c7..473fad87 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_1/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_1/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_2/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_2/00000.png index 3516b6f0..93c2e8f1 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_2/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_2/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_3/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_3/00000.png index 945e95e9..4a531d56 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_3/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_pkh_1to1_0_3/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_0_0/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_0_0/00000.png index 495e4e67..8d48cef7 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_0_0/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_0_0/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_0_1/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_0_1/00000.png index bfdf581d..6d4f95f4 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_0_1/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_0_1/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_1_0/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_1_0/00000.png index 400d3352..e09830ce 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_1_0/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_1_0/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_1_1/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_1_1/00000.png index 945e95e9..4a531d56 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_1_1/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_sh_wpkh_1to2_1_1/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_0_0/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_0_0/00000.png index 495e4e67..8d48cef7 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_0_0/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_0_0/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_0_1/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_0_1/00000.png index 74918453..b10eedbf 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_0_1/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_0_1/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_1_0/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_1_0/00000.png index ed9bb0bd..d3019514 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_1_0/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_1_0/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_1_1/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_1_1/00000.png index 945e95e9..4a531d56 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_1_1/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_1_1/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_0_0/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_0_0/00000.png index 495e4e67..8d48cef7 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_0_0/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_0_0/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_0_1/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_0_1/00000.png index 74918453..b10eedbf 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_0_1/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_0_1/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_1_0/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_1_0/00000.png index ed9bb0bd..d3019514 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_1_0/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_1_0/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_1_1/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_1_1/00000.png index 945e95e9..4a531d56 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_1_1/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_1to2_2_1_1/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_0/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_0/00000.png index 495e4e67..8d48cef7 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_0/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_0/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_1/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_1/00000.png index 1ee94503..7a3cd24b 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_1/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_1/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_2/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_2/00000.png index 8aadd0e2..a62c49de 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_2/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_2/00000.png differ diff --git a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_3/00000.png b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_3/00000.png index 945e95e9..4a531d56 100644 Binary files a/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_3/00000.png and b/tests/snapshots/stax/test_sign_psbt_singlesig_wpkh_2to2_0_3/00000.png differ diff --git a/tests/test_get_pubkey.py b/tests/test_get_pubkey.py index 6a868cc7..9241a9ac 100644 --- a/tests/test_get_pubkey.py +++ b/tests/test_get_pubkey.py @@ -26,8 +26,8 @@ def pubkey_instruction_warning_approve(model: Firmware) -> Instructions: else: instructions.new_request("Unusual", NavInsID.USE_CASE_CHOICE_CONFIRM, NavInsID.USE_CASE_CHOICE_CONFIRM) - instructions.same_request("Confirm", NavInsID.USE_CASE_ADDRESS_CONFIRMATION_TAP if model.name == "stax" - else NavInsID.SWIPE_CENTER_TO_LEFT, + instructions.same_request("Confirm", + NavInsID.SWIPE_CENTER_TO_LEFT, NavInsID.USE_CASE_ADDRESS_CONFIRMATION_CONFIRM) instructions.same_request("Address", NavInsID.USE_CASE_REVIEW_TAP, NavInsID.USE_CASE_STATUS_DISMISS) diff --git a/tests/test_sign_message.py b/tests/test_sign_message.py index aceb59f6..0b413ae6 100644 --- a/tests/test_sign_message.py +++ b/tests/test_sign_message.py @@ -14,7 +14,7 @@ def message_instruction_approve(model: Firmware) -> Instructions: instructions.same_request("Sign") else: instructions.address_confirm() - instructions.same_request("Address", NavInsID.USE_CASE_REVIEW_TAP, + instructions.same_request("Address", NavInsID.SWIPE_CENTER_TO_LEFT, NavInsID.USE_CASE_STATUS_DISMISS) instructions.confirm_message() return instructions