1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-12 01:18:14 +00:00

test: try fix screen_recording

This commit is contained in:
M1nd3r 2024-11-19 13:50:29 +01:00
parent a446f515fc
commit b58c37cf95

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)