Skip to content

Commit 7676a91

Browse files
fix: provide functional links individual test cases (#30)
Using correct formatting for markdown test case execution links
1 parent d9c3f6d commit 7676a91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ runs:
291291
testCaseId=$(echo "$testCase" | jq -r '.TestCaseId')
292292
testStatus=$(echo "$testCase" | jq -r '.Status')
293293
testCaseLink="${{ inputs.orchestratorUrl }}${{ inputs.orchestratorLogicalName }}/${{ inputs.orchestratorTenant }}/testmanager_/${{ inputs.projectKey }}/testexecution-results/$testSetRunId/$testCaseId"
294-
testResultsTable+=$'\n| ['"$testName"$']("'"$testCaseLink"$'") | '"$(if [ "$testStatus" == "Passed" ]; then echo "✅ Passed"; else echo "❌ Failed"; fi)"$' |'
294+
testResultsTable+=$'\n'"| [$testName]($testCaseLink) | $(if [ "$testStatus" == "Passed" ]; then echo "✅ Passed"; else echo "❌ Failed"; fi) |"
295295
done <<< $(echo "$testSetRun" | jq -c '.TestCaseExecutions[]')
296296
297297
testResults+=$'\n### [Test results for '"$testSetRunName"$']('"$testSetExecutionLink"$')\n'"$testResultsTable"

0 commit comments

Comments
 (0)