1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-19 08:39:03 +00:00

fixup! fixup! test: update ui tests

This commit is contained in:
M1nd3r 2025-03-25 10:51:53 +01:00
parent 24a0723010
commit d441288dae

View File

@ -8,7 +8,6 @@ import pytest
from _pytest.nodes import Node
from _pytest.outcomes import Failed
from trezorlib.client import ProtocolVersion
from trezorlib.debuglink import TrezorClientDebugLink as Client
from . import common
@ -60,8 +59,7 @@ def screen_recording(
finally:
if client_callback:
client = client_callback()
if client.protocol_version == ProtocolVersion.V1:
client.sync_responses()
client.sync_responses()
# Wait for response to Initialize, which gives the emulator time to catch up
# and redraw the homescreen. Otherwise there's a race condition between that
# and stopping recording.