Skip to content

Commit d9c3f6d

Browse files
fix: replace emoji short codes with images
Improve readability in console by adding emoji images directly instead of their short code versions
1 parent cf8fc5a commit d9c3f6d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ runs:
194194
fi
195195
else
196196
echo "::warning title=${projectName} contains no test cases set as publishable.:: Project contains no test cases set as publishable. Testing skipped."
197-
testResults+=$'\n- :warning: **'"${projectName}"$' contains no test cases set as publishable. Testing skipped.**\n'
197+
testResults+=$'\n- ⚠️ **'"${projectName}"$' contains no test cases set as publishable. Testing skipped.**\n'
198198
fi
199199
else
200200
echo "::warning title=${projectName} contains no test cases.:: Testing skipped."
201-
testResults+=$'\n- :warning: **'"${projectName}"$' contains no test cases. Testing skipped.**\n'
201+
testResults+=$'\n- ⚠️ **'"${projectName}"$' contains no test cases. Testing skipped.**\n'
202202
fi
203203
echo "::endgroup::"
204204
done <<< "$projectJsonFiles"
@@ -241,7 +241,7 @@ runs:
241241
while IFS= read -r testCase; do
242242
testName=$(echo "$testCase" | jq -r '.Name')
243243
testStatus=$(echo "$testCase" | jq -r '.Status')
244-
testResultsTable+=$'\n| '"$testName"$' | '"$(if [ "$testStatus" == "Passed" ]; then echo ":white_check_mark: Passed"; else echo ":x: Failed"; fi)"$' |'
244+
testResultsTable+=$'\n| '"$testName"$' | '"$(if [ "$testStatus" == "Passed" ]; then echo " Passed"; else echo " Failed"; fi)"$' |'
245245
done <<< $(echo "$testCaseExecutions" | jq -c '.[]')
246246
247247
testResults+=$'\n### [Test results for '"$(echo "$testResultData" | jq -r '.TestSetExecutions[0].Name')"$']('"$testSetExecutionLink"$')\n'"$testResultsTable"
@@ -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 ":white_check_mark: Passed"; else echo ":x: 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)