diff --git a/.github/workflows/test_e2e.yml b/.github/workflows/test_e2e.yml index 6fe500e09..dcb07b025 100644 --- a/.github/workflows/test_e2e.yml +++ b/.github/workflows/test_e2e.yml @@ -53,10 +53,16 @@ jobs: - name: End-to-end tests | run tests id: e2e-tests + if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }} run: | cd e2e-tests/ yarn run cypress run + - name: End-to-end tests | if tests failed, compile html report + run: | + cd e2e-tests/ + node create-cucumber-html-report.js + - name: End-to-end tests | if tests failed, upload report if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }} run: |