From 03693ff8c342ea3e1e9dfc07d58e9a49ce51e1ac Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Wed, 28 Jun 2023 18:07:42 +0200 Subject: [PATCH] fix(core): update homescreen after CancelAuthorization [no changelog] --- core/src/apps/base.py | 1 + tests/ui_tests/fixtures.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/apps/base.py b/core/src/apps/base.py index 53a1b88ed5..2ee037bda4 100644 --- a/core/src/apps/base.py +++ b/core/src/apps/base.py @@ -293,6 +293,7 @@ async def handle_CancelAuthorization( from apps.common import authorization authorization.clear() + workflow.close_others() return Success(message="Authorization cancelled") diff --git a/tests/ui_tests/fixtures.json b/tests/ui_tests/fixtures.json index 772f9b1da3..1b1805e0b2 100644 --- a/tests/ui_tests/fixtures.json +++ b/tests/ui_tests/fixtures.json @@ -744,7 +744,7 @@ "TR_binance-test_sign_tx.py::test_binance_sign_message[message0-expected_response0]": "22c489a5726a3036f91f1b399ffd4257fc9cf8db1ec840051a7d75049ab3e270", "TR_binance-test_sign_tx.py::test_binance_sign_message[message1-expected_response1]": "2ad316f8658f2f1e65dfdd1589f70c00cb110218c8d34fcaacdfe38fa3724f7d", "TR_binance-test_sign_tx.py::test_binance_sign_message[message2-expected_response2]": "321aaa80d69f586aa99d9ca10b86cb52cbfd898a403526f7d9c7729f2a9b4a15", -"TR_bitcoin-test_authorize_coinjoin.py::test_cancel_authorization": "67ea1b5804dba7e805c3fec151c1e75713c073bd6a7203484bab2da55a66cd8b", +"TR_bitcoin-test_authorize_coinjoin.py::test_cancel_authorization": "1ef61103554e61e7221c911c2014df38999983e8db048937d5cf60d3fd709207", "TR_bitcoin-test_authorize_coinjoin.py::test_get_address": "8b5cb1f3e016f313f50e471189f657e3005baf7bb29e3f61eda56a6633ebda00", "TR_bitcoin-test_authorize_coinjoin.py::test_get_public_key": "67bed79e17ddf2af43e3591a5261271815507ea5072a6e115a9683ab6fe10577", "TR_bitcoin-test_authorize_coinjoin.py::test_multisession_authorization": "048d4e07cfe79b9f898195ad85404f897bb0dda453a1f5cd4aedff76d5aebb8c", @@ -1938,7 +1938,7 @@ "TT_binance-test_sign_tx.py::test_binance_sign_message[message0-expected_response0]": "5ab9cc73f5dd30f092faa1fbd835537ac64cf3df42177fec00426e7fd9b505a3", "TT_binance-test_sign_tx.py::test_binance_sign_message[message1-expected_response1]": "e7e88a34752d6a64a5caddd396b5f5c6face2f600ce2144c6bbd61e19245dc80", "TT_binance-test_sign_tx.py::test_binance_sign_message[message2-expected_response2]": "498ef9bebc2f9cd5c151393b5cb694c08012b27b6a76a21fd2bae1b167f9a604", -"TT_bitcoin-test_authorize_coinjoin.py::test_cancel_authorization": "197c2b92570e85ad560e3bec5ac1bd3d0ed4c66ffc055c7b7f40ce36f5d6468c", +"TT_bitcoin-test_authorize_coinjoin.py::test_cancel_authorization": "722c888565dc01abbd5fc3bb3b6c37a032ee45ea411c9c7a0619f714acbdfbd7", "TT_bitcoin-test_authorize_coinjoin.py::test_get_address": "c441a6b8ebec4a4a043f7ba8c5420ce5649910f115312aa348af50461101ce32", "TT_bitcoin-test_authorize_coinjoin.py::test_get_public_key": "6db63e1a638766584c237fa53307e029c5c4e9c97f3948f83f36292a57bef778", "TT_bitcoin-test_authorize_coinjoin.py::test_multisession_authorization": "eae73c583d41d62bcd926f7f99866e6bd2f8d52f7935713fff7564a1be662b56",