Skip to content

Commit

Permalink
[tests] remove excess screens
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmer25 committed Feb 5, 2025
1 parent 0e242d5 commit b50ac60
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/integration/touch/test_blindsign_too_deep.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
9 changes: 4 additions & 5 deletions tests/integration/touch/test_blindsign_too_deep_rejections.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand All @@ -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
Expand All @@ -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")
Expand All @@ -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")
Expand Down

0 comments on commit b50ac60

Please sign in to comment.