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)