diff --git a/tests/ragger/test_eip712.py b/tests/ragger/test_eip712.py index 05f085f53..20eec54e2 100644 --- a/tests/ragger/test_eip712.py +++ b/tests/ragger/test_eip712.py @@ -157,14 +157,14 @@ def eip712_new_common(firmware: Firmware, # need to skip the message hash if not verbose and filters is None: moves += [NavInsID.RIGHT_CLICK] * 2 - if "nano_screens" in json_data: - key = f"{verbose}{filters is not None}" - if isinstance(json_data["nano_screens"], dict) and key in json_data["nano_screens"]: - moves += [NavInsID.RIGHT_CLICK] * json_data["nano_screens"][key] - elif isinstance(json_data["nano_screens"], int): - moves += [NavInsID.RIGHT_CLICK] * json_data["nano_screens"] - else: - raise ValueError("Invalid nano_screens value") + # if "nano_screens" in json_data: + # key = f"{verbose}{filters is not None}" + # if isinstance(json_data["nano_screens"], dict) and key in json_data["nano_screens"]: + # moves += [NavInsID.RIGHT_CLICK] * json_data["nano_screens"][key] + # elif isinstance(json_data["nano_screens"], int): + # moves += [NavInsID.RIGHT_CLICK] * json_data["nano_screens"] + # else: + # raise ValueError("Invalid nano_screens value") moves += [NavInsID.BOTH_CLICK] else: if not skip_flow: