From b50ac601afb69d0e181d3e1621b92baaf14de55b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Palmer?= Date: Wed, 5 Feb 2025 15:35:03 +0100 Subject: [PATCH] [tests] remove excess screens --- .../loading_operation.png | Bin 3967 -> 0 bytes .../integration/touch/test_blindsign_too_deep.py | 2 +- .../touch/test_blindsign_too_deep_rejections.py | 9 ++++----- 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 tests/integration/touch/snapshots/stax/test_blindsign_too_deep_rejections/loading_operation.png diff --git a/tests/integration/touch/snapshots/stax/test_blindsign_too_deep_rejections/loading_operation.png b/tests/integration/touch/snapshots/stax/test_blindsign_too_deep_rejections/loading_operation.png deleted file mode 100644 index 07f9d75ed99d62d2909f7359d6887f0952732cf1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3967 zcmeHKZBSEZ7EVwH5g`gwDTrjH1;!~&C1N0R$U zA${oXHy>_gDraZ&^75oGm(D3I=E6o!)^01@zUSKh?8Ei>@W9Q*CI*{v@cYUIBUhRW z$I6gQ&?sX%>~{N=QjaXmm`C(h@5%D?NrDz^+MfEGCTku&bIX2|8TVTi=CtI zzT5SGwFswDC_Fx2p|89%9O^C@RH)v`H_e2&wkPidpVP&R5;>N(mR={$3g}LI1z*Lm zd=0Ynl@7B`?#xe4N+JwG3ivMxSd!QUk86_{Wfv(pl@MFA&6?Krykt-zSu}~y8(-@D z23`_49L|j=3jhGPfciHwuNSz-G^}uV*tybgoroT~liAC-4=GdVQ7DwwWMfZN@>P}m z+tS5=fPl_o%!!0HN#>9U5inzE;khTv2KTzC)u$)CgPI~Ux#}yjHX%-QKoJ|1Il;jE zDB1y8CO%J!T0nS$;}6}&wGdFVl+kh9mQw!O<#K(849xu$kH=?)GpN*u0)ZO&YT=Si zJF8Z!Lxys>Ty9=&Zc`_X!N^6m0EMEnPMJ(bh&vm($MLPCsIQ@+p)Pe#gV=aRrB(|b z-mNQvDnN6L?STYY#LG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_GwUGSpy{siS)_JqvDHl%KZ`PIVrYu zgtgR({(Rm*UXv+V=DiuzdxpGou6ypfJ56V~@`*vVZ@_@`+y-%mlLspG-EdqL3F{B4 zXz7!)5M@Dpb7}3Syr?e_8`e${CW6?eUaP`vHm}u0J8BL#uZ)R+L#Wt&$?tFIxgR1)B}yX2bZK-Ph(=_4^tvLG+ZuAxOU- SUIGo)u;a%vQ#eQRYySt-yHale diff --git a/tests/integration/touch/test_blindsign_too_deep.py b/tests/integration/touch/test_blindsign_too_deep.py index e4a004847..c5c51c107 100755 --- a/tests/integration/touch/test_blindsign_too_deep.py +++ b/tests/integration/touch/test_blindsign_too_deep.py @@ -30,7 +30,7 @@ app.assert_screen("tbtd_review_0") app.review.next() - app.process_blindsign_warnings("800f82001211020000000c02000000070200000002002a") + app.process_blindsign_warnings("800f82001211020000000c02000000070200000002002a", loading_operation=False) app.assert_screen("tbtd_start_review_blindsign") app.review.next() diff --git a/tests/integration/touch/test_blindsign_too_deep_rejections.py b/tests/integration/touch/test_blindsign_too_deep_rejections.py index 6d2b5f46a..ef31aa43b 100755 --- a/tests/integration/touch/test_blindsign_too_deep_rejections.py +++ b/tests/integration/touch/test_blindsign_too_deep_rejections.py @@ -46,8 +46,7 @@ app.assert_screen("tbtdr_review_0") app.review.next() app.assert_screen("unsafe_operation_warning_1") - with app.fading_screen("loading_operation"): - app.review.reject() + app.review.reject() app.send_apdu("800f82001211020000000c02000000070200000002002a") app.assert_screen("unsafe_operation_warning_2") with app.fading_screen("rejected"): @@ -61,7 +60,7 @@ app.review.next() app.assert_screen("tbtdr_review_0") app.review.next() - app.process_blindsign_warnings( "800f82001211020000000c02000000070200000002002a") + app.process_blindsign_warnings("800f82001211020000000c02000000070200000002002a", loading_operation=False) verify_err_reject_response(app, "tbtdr_start_review_blindsign") # Rejecting at blindsign review screen @@ -70,7 +69,7 @@ app.review.next() app.assert_screen("tbtdr_review_0") app.review.next() - app.process_blindsign_warnings( "800f82001211020000000c02000000070200000002002a") + app.process_blindsign_warnings("800f82001211020000000c02000000070200000002002a", loading_operation=False) app.assert_screen("tbtdr_start_review_blindsign") app.review.next() verify_err_reject_response(app,"tbtd_review_1") @@ -82,7 +81,7 @@ app.review.next() app.assert_screen("tbtdr_review_0") app.review.next() - app.process_blindsign_warnings( "800f82001211020000000c02000000070200000002002a") + app.process_blindsign_warnings("800f82001211020000000c02000000070200000002002a", loading_operation=False) app.assert_screen("tbtdr_start_review_blindsign") app.review.next() app.assert_screen("tbtd_review_1")