1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

test: try fix screen_recording

This commit is contained in:
M1nd3r 2024-11-19 13:50:29 +01:00
parent 0d9bc2db35
commit 1689849980

View File

@ -68,7 +68,8 @@ def screen_recording(
if record_text_layout: if record_text_layout:
client.debug.set_screen_text_file(None) client.debug.set_screen_text_file(None)
client.debug.watch_layout(False) client.debug.watch_layout(False)
client.init_device() # Instead of client.init_device() we create a new management session
client.get_management_session()
client.debug.stop_recording() client.debug.stop_recording()
result = testcase.build_result(request) result = testcase.build_result(request)