From 94e20fc07b5c63c6cd0746bc34846aae1b0b0370 Mon Sep 17 00:00:00 2001 From: Yang Chiu Date: Tue, 20 Aug 2024 12:30:02 +0800 Subject: [PATCH] test Signed-off-by: Yang Chiu --- .github/workflows/qase-sync.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/qase-sync.yaml b/.github/workflows/qase-sync.yaml index 96bf5a4b85..aca76669c3 100644 --- a/.github/workflows/qase-sync.yaml +++ b/.github/workflows/qase-sync.yaml @@ -122,7 +122,7 @@ jobs: if [[ "${parent_suite_name}" == "manual" ]]; then parent_suite_id="" else - res=$(curl -s --request GET --url "https://api.qase.io/v1/suite/LH" --get --data-urlencode "search=${str}" --header "Token: ${token}" --header "accept: application/json") + res=$(curl -s --request GET --url "https://api.qase.io/v1/suite/LH" --get --data-urlencode "search=${title}" --header "Token: ${token}" --header "accept: application/json") parent_suite_id=$(echo "$res" | jq .result.entities[0].id) fi echo "creating new test case ${title} under test suite ${parent_suite_name}(${parent_suite_id})"