Skip to content

API test fix#44

Merged
tim-yao merged 4 commits intomainfrom
api-test-fix
Mar 20, 2024
Merged

API test fix#44
tim-yao merged 4 commits intomainfrom
api-test-fix

Conversation

@tim-yao
Copy link
Contributor

@tim-yao tim-yao commented Mar 19, 2024

To make API test Slack notification back to work. See below the comments I made.

@tim-yao tim-yao self-assigned this Mar 19, 2024
if [ -e tests/newman/tide.collection.json ]
then
if [[ ${TEST_NEWMAN_DISABLE_CORE} == true ]]
if [[ "${TEST_NEWMAN_DISABLE_CORE}" == "true" ]]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixed the sh: true: unknown operand error in GHA API job step

Comment on lines +66 to +69
- name: prepare-report-api
if: ${{ inputs.test_type == ':postman:' }}
run: |
echo "REPORT_TEXT=API test report is stored in the CI job summary artifacts" >> $GITHUB_ENV
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API test doesn't have a report stored in the cloud so no report URL can be sent to Slack, added a specific message for it.

@tim-yao tim-yao merged commit afd92fe into main Mar 20, 2024
@tim-yao tim-yao deleted the api-test-fix branch March 20, 2024 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants