From 2523902de147f3d9553643d177b24825b4997a2a Mon Sep 17 00:00:00 2001 From: Yang Chiu Date: Tue, 17 Dec 2024 09:21:43 +0800 Subject: [PATCH] ci: enable syncing robot test cases with qase Signed-off-by: Yang Chiu --- pipelines/utilities/junit_to_qase.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pipelines/utilities/junit_to_qase.py b/pipelines/utilities/junit_to_qase.py index e1ee362d57..55abed79dc 100755 --- a/pipelines/utilities/junit_to_qase.py +++ b/pipelines/utilities/junit_to_qase.py @@ -246,11 +246,9 @@ def complete_test_run(test_run_id): parent_suite_id = 58 # e2e-pytest else: test_type = "robot" - # TODO - # the folder structure of robot test hasn't been - # well-defined in qase - parent_suite_id = None - raise Exception(f"Unsupported test_type = {test_type}") + # if it's a robot report, missing suites will be added under + # parent suite e2e-robot (id=89) + parent_suite_id = 89 # e2e-robot print(f"test_type = {test_type}") # collect test results dict from test cases xml