From 3a126c4955f1c7c5826958e39a2ea398a8020ee9 Mon Sep 17 00:00:00 2001 From: M1nd3r Date: Mon, 2 Dec 2024 15:48:45 +0100 Subject: [PATCH] test: update ui tests [no changelog] --- 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)