From 2caa9798111c5d2812aa89149578fc8a24045ec3 Mon Sep 17 00:00:00 2001 From: Saw-jan Date: Fri, 10 Jan 2025 17:08:16 +0545 Subject: [PATCH] check keyring before starting client --- test/gui/shared/scripts/bdd_hooks.py | 3 +-- test/gui/shared/scripts/helpers/SetupClientHelper.py | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/gui/shared/scripts/bdd_hooks.py b/test/gui/shared/scripts/bdd_hooks.py index eed20f49887..bacf7f1e6b9 100644 --- a/test/gui/shared/scripts/bdd_hooks.py +++ b/test/gui/shared/scripts/bdd_hooks.py @@ -23,7 +23,7 @@ from helpers.SyncHelper import close_socket_connection, clear_waited_after_sync from helpers.SpaceHelper import delete_project_spaces from helpers.api.provisioning import delete_created_groups, delete_created_users -from helpers.SetupClientHelper import wait_until_app_killed, check_keyring +from helpers.SetupClientHelper import wait_until_app_killed from helpers.ConfigHelper import ( init_config, get_config, @@ -62,7 +62,6 @@ def hook(context): # Order: 1 @OnScenarioStart def hook(context): - check_keyring() clear_scenario_config() diff --git a/test/gui/shared/scripts/helpers/SetupClientHelper.py b/test/gui/shared/scripts/helpers/SetupClientHelper.py index 661f439c518..94360b8276c 100644 --- a/test/gui/shared/scripts/helpers/SetupClientHelper.py +++ b/test/gui/shared/scripts/helpers/SetupClientHelper.py @@ -109,6 +109,8 @@ def get_current_user_sync_path(): def start_client(): + check_keyring() + squish.startApplication( 'owncloud -s' + f' --logfile {get_config("clientLogFile")}'