From afceba00fe40d73460c60a4d7b842e8405b69c74 Mon Sep 17 00:00:00 2001 From: Saroj <43822041+sarojsarab@users.noreply.github.com> Date: Thu, 16 Mar 2023 00:39:19 +0530 Subject: [PATCH] ci: Picking up the unique records from the specs from the failed specs in ci-test.yml (#21450) ## Description - Picking up the unique records from the specs from the failed specs in ci-test.yml ## Type of change - ci-test.yml ## How Has This Been Tested? - Manual ## Checklist: ### QA activity: - [ ] Test plan has been approved by relevant developers - [ ] Test plan has been peer reviewed by QA - [ ] Cypress test cases have been added and approved by either SDET or manual QA - [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA - [ ] Added Test Plan Approved label after reveiwing all Cypress test --- .github/workflows/ci-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index c2faf1e055..88c2f4d5fd 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -380,7 +380,7 @@ jobs: if: failure() run: | cd ${{ github.workspace }}/app/client/cypress/ - find screenshots -type f -iname "*\(attempt 2\).png" | sed 's/screenshots/cypress\/integration/g'| sed 's:/[^/]*$::' > ~/failed_spec_ci/failed_spec_ci-${{ matrix.job }} + find screenshots -type f -iname "*\(attempt 2\).png" | sed 's/screenshots/cypress\/integration/g'| sed 's:/[^/]*$::' | sort -u > ~/failed_spec_ci/failed_spec_ci-${{ matrix.job }} # Upload failed test list using common path for all matrix job - name: Upload failed test list artifact