Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Re-introduce: Upload failed e2e test artifacts for quarantined tests (#67600)

Nemanja Glumac0c2996b7dae2
diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml
index ab82551b044..f023ae4bd97 100644
--- a/.github/workflows/e2e-test.yml
+++ b/.github/workflows/e2e-test.yml
@@ -113,6 +113,7 @@ jobs:
run: node e2e/runner/run_cypress_ci.js snapshot
- name: Run auto-split Cypress tests on ${{ inputs.name }}
+ id: split-e2e
if: ${{ !inputs.specs }}
env:
SPLIT: ${{ inputs.total_chunks }}
@@ -136,6 +137,7 @@ jobs:
continue-on-error: true
- name: Run Tagged EE Cypress tests on ${{ inputs.name }}
+ id: tagged-e2e
if: ${{ inputs.specs }}
shell: bash
env:
@@ -168,7 +170,8 @@ jobs:
- name: Upload Cypress Artifacts upon failure
uses: actions/upload-artifact@v4
- if: failure()
+ if: |
+ !cancelled() && (steps.split-e2e.outcome == 'failure' || steps.tagged-e2e.outcome == 'failure')
with:
name: cypress-recording-${{ inputs.name }}-${{ inputs.edition }}
path: |
@@ -178,10 +181,12 @@ jobs:
- name: Upload Failed Tests
uses: actions/upload-artifact@v4
- if: failure()
+ if: |
+ !cancelled() && (steps.split-e2e.outcome == 'failure' || steps.tagged-e2e.outcome == 'failure')
with:
name: failed-tests-${{ inputs.name }}-${{ inputs.edition }}
path: ./cypress/test-results
+ if-no-files-found: ignore
- name: Extract chunk-specific changed timings
id: extract-timings