From d204a1e229342d018a4d714695ddcd65e18d5e86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Palmer?= Date: Fri, 13 Dec 2024 15:58:42 +0100 Subject: [PATCH] try fixing `test_regression_continue_after_reject` --- tests/integration/nano/test_wrong_apdu.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/integration/nano/test_wrong_apdu.py b/tests/integration/nano/test_wrong_apdu.py index 1bc728668..17729a55c 100644 --- a/tests/integration/nano/test_wrong_apdu.py +++ b/tests/integration/nano/test_wrong_apdu.py @@ -34,8 +34,12 @@ def test_regression_continue_after_reject( snapshot_dir: Path): """Check the app still runs after rejects signing""" + backend.wait_for_home_screen() + tezos_navigator.toggle_expert_mode() + backend.wait_for_home_screen() + with StatusCode.REJECT.expected(): tezos_navigator.reject_public_key(account, snap_path=snapshot_dir / "reject_public_key") @@ -61,6 +65,8 @@ def test_regression_continue_after_reject( snap_path=snapshot_dir / "reject_signing" ) + backend.wait_for_home_screen() + backend.get_public_key(account, with_prompt=False)