From 901b1c416e482df1681a99860716fcd9ac2a7f34 Mon Sep 17 00:00:00 2001 From: JK Date: Tue, 2 May 2023 20:09:45 +0600 Subject: [PATCH] Debug e2e not running --- .github/workflows/cypress.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 29fb6802..1e86578e 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -51,3 +51,21 @@ jobs: run: npm run env:start - name: Test run: npm run cypress:run + - name: Update summary + run: | + npx mochawesome-merge ./tests/cypress/reports/*.json -o tests/cypress/reports/mochawesome.json + rm -rf ./tests/cypress/reports/mochawesome-*.json + npx mochawesome-json-to-md -p ./tests/cypress/reports/mochawesome.json -o ./tests/cypress/reports/mochawesome.md + npx mochawesome-report-generator tests/cypress/reports/mochawesome.json -o tests/cypress/reports/ + cat ./tests/cypress/reports/mochawesome.md >> $GITHUB_STEP_SUMMARY + - name: Upload artifacts + uses: actions/upload-artifact@v2 + if: failure() + with: + name: cypress-artifact-safe-redirect-manager + retention-days: 7 + path: | + ${{ github.workspace }}/tests/cypress/screenshots/ + ${{ github.workspace }}/tests/cypress/videos/ + ${{ github.workspace }}/tests/cypress/logs/ + ${{ github.workspace }}/tests/cypress/reports/