diff --git a/.github/workflows/e2e-validation.yml b/.github/workflows/e2e-validation.yml index 4200e9e736..c58aadf8bc 100644 --- a/.github/workflows/e2e-validation.yml +++ b/.github/workflows/e2e-validation.yml @@ -96,7 +96,7 @@ jobs: # Run the npx task and store exit code in a variable npx cypress run --spec "cypress/e2e/${{ matrix.tests }}/**" || exit_code=$? - if [[ "$(( ( RANDOM % 5 ) + 1 ))" == "3" ]]; then + if [[ "$(( ( RANDOM % 3 ) + 1 ))" == "3" ]]; then echo "generic kaboom" exit 53 fi @@ -136,7 +136,12 @@ jobs: - name: Download all artifacts uses: actions/download-artifact@v3 with: - path: app/web/cypress/videos/** + path: app/web/cypress/videos + strip-components: 1 + - name: List available artifacts + run: ls -R app/web/cypress/videos + - name: List available artifacts ii + run: ls ./ - run: | has_artifacts=false # Check for marker files