From 70d0e3b44cec426bba8150f11331066f5af5c7f3 Mon Sep 17 00:00:00 2001 From: mahula Date: Wed, 5 Jul 2023 20:06:54 +0200 Subject: [PATCH] move e2e test htmlreport creation to failure step --- .github/workflows/test_e2e.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_e2e.yml b/.github/workflows/test_e2e.yml index dcb07b025..79112da00 100644 --- a/.github/workflows/test_e2e.yml +++ b/.github/workflows/test_e2e.yml @@ -53,12 +53,12 @@ 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 + if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }} run: | cd e2e-tests/ node create-cucumber-html-report.js