diff --git a/.github/workflows/e2e.run.tests.yml b/.github/workflows/e2e.run.tests.yml index dd0f532..6283639 100644 --- a/.github/workflows/e2e.run.tests.yml +++ b/.github/workflows/e2e.run.tests.yml @@ -11,18 +11,18 @@ jobs: uses: actions/checkout@master - name: E2E - Run all tests - id: e2e-tests + id: e2e-run uses: cypress-io/github-action@v6 - name: E2E | if tests failed, compile html report - if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }} + if: ${{ failure() && steps.e2e-run.conclusion == 'failure' }} run: | cd cypress/ node create-cucumber-html-report.js - name: E2E | if tests failed, upload report - if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }} + if: ${{ failure() && steps.e2e-run.conclusion == 'failure' }} uses: actions/upload-artifact@v4 with: - name: boilerplate-e2e-test-report-pr${{ needs.e2e-tests.outputs.pull_request.number }} + name: boilerplate-e2e-test-report-pr-${{ e2e-tests.outputs.pull_request.number }} path: /home/runner/work/boilerplate-e2e-cypress-cucumber/boilerplate-e2e-cypress-cucumber/cypress/reports/e2e_html_report