From fea0a4623e262f1e4236aaa10fa2de6961f9397d Mon Sep 17 00:00:00 2001 From: Omkar Khatavkar Date: Wed, 29 Nov 2023 18:59:12 +0530 Subject: [PATCH] added the missing direcotry path for ui_session (#13212) (cherry picked from commit 2fa446e66da71884a8e7cfc2dfa21e7e567a3666) --- tests/foreman/conftest.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/foreman/conftest.py b/tests/foreman/conftest.py index 1e11a276863..59616f233b7 100644 --- a/tests/foreman/conftest.py +++ b/tests/foreman/conftest.py @@ -57,7 +57,12 @@ def ui_session_record_property(request, record_property): request: The pytest request object. record_property: The value to set for the record_property attribute. """ - test_directories = ['tests/foreman/destructive', 'tests/foreman/ui'] + test_directories = [ + 'tests/foreman/destructive', + 'tests/foreman/ui', + 'tests/foreman/sanity', + 'tests/foreman/virtwho', + ] test_file_path = request.node.fspath.strpath if any(directory in test_file_path for directory in test_directories): for fixture in request.node.fixturenames: