From 0c83e91470549d86d72d37ff76e4495a593f5f62 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Mon, 17 Jun 2024 09:35:00 +0530 Subject: [PATCH] ci: Show tags in all Cypress reports (#34264) **/test sanity** ## Summary by CodeRabbit - **Style** - Improved clarity and formatting of messages related to Cypress dashboard links. - Enhanced information display for test failures, flaky tests, and successful test runs. --- .github/workflows/pr-cypress.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-cypress.yml b/.github/workflows/pr-cypress.yml index 35fb520683..8234f89507 100644 --- a/.github/workflows/pr-cypress.yml +++ b/.github/workflows/pr-cypress.yml @@ -189,10 +189,11 @@ jobs: > 🔴 🔴 🔴 Some tests have failed. > Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}> > Commit: ${{ github.event.pull_request.head.sha }} - > Cypress dashboard: Click here! + > Cypress dashboard. + > Tags: `${{ inputs.tags }}` > 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 - Refer here + > List of identified flaky tests. @@ -209,8 +210,9 @@ jobs: > [!WARNING] > Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}> > Commit: ${{ github.event.pull_request.head.sha }} - > Cypress dashboard url: Click here! - > It seems like **no tests ran** 😔. We are not able to recognize it, please check workflow here. + > Cypress dashboard. + > Tags: `${{ inputs.tags }}` + > It seems like **no tests ran** 😔. We are not able to recognize it, please check workflow here. @@ -228,7 +230,8 @@ jobs: > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}> > Commit: ${{ github.event.pull_request.head.sha }} - > Cypress dashboard url: Click here! + > Cypress dashboard. + > Tags: `${{ inputs.tags }}`