From b58c37cf953febc37b3727a60827fd77340e8a28 Mon Sep 17 00:00:00 2001 From: M1nd3r Date: Tue, 19 Nov 2024 13:50:29 +0100 Subject: [PATCH] test: try fix screen_recording --- tests/ui_tests/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ui_tests/__init__.py b/tests/ui_tests/__init__.py index c7ab04a45e..8f2ad3dc10 100644 --- a/tests/ui_tests/__init__.py +++ b/tests/ui_tests/__init__.py @@ -68,7 +68,8 @@ def screen_recording( if record_text_layout: client.debug.set_screen_text_file(None) 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() result = testcase.build_result(request)