ci: Fix cypress dashboard link in pr comment (#24904)

## Description
- Fix cypress dashboard link in pr comment

#### Type of change
- Workflow file changes
## Testing
>
#### How Has This Been Tested?
- Workflow run
This commit is contained in:
Saroj 2023-06-28 15:56:32 +05:30 committed by GitHub
parent 14073f62b1
commit 9edd00050d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -484,9 +484,9 @@ jobs:
if: always()
run: |
if [[ "${{steps.run_result.outputs.run_result }}" != "success" && "${{steps.run_result.outputs.run_result }}" != "failedtest" ]]; then
echo "cypress_url=${{ steps.cypress_test.outputs.resultsUrl }}" >> ~/cypress_url
echo ${{ steps.cypress_test.outputs.resultsUrl }} >> ~/cypress_url
elif [[ "${{steps.run_result.outputs.run_result }}" == "failedtest" ]]; then
echo "cypress_url=${{ steps.cypress_test_failedtest.outputs.resultsUrl }}" >> ~/cypress_url
echo ${{ steps.cypress_test_failedtest.outputs.resultsUrl }} >> ~/cypress_url
fi
# Force store previous run result to cache

View File

@ -207,7 +207,7 @@ jobs:
body: |
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
Cypress dashboard: `<a href="${{ steps.dashboard_url.outputs.dashboard_url }}" target="_blank"> Click here! </a>`
Cypress dashboard: <a href="${{ steps.dashboard_url.outputs.dashboard_url }}" target="_blank"> Click here!</a>
The following are new failures, please fix them before merging the PR: ${{env.new_failed_spec_env}}
To know the list of identified flaky tests - <a href="https://app.appsmith.com/applications/613868bedd7786286ddd4a6a/pages/63ec710e8e503f763651791a" target="_blank">Refer here</a>
@ -219,7 +219,7 @@ jobs:
body: |
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`.
Cypress dashboard url: `<a href="${{ steps.dashboard_url.outputs.dashboard_url }}" target="_blank">Click here!</a>`
Cypress dashboard url: <a href="${{ steps.dashboard_url.outputs.dashboard_url }}" target="_blank">Click here!</a>
All cypress tests have passed 🎉🎉🎉
# Update check run called "ci-test-result"