diff --git a/.github/ci-cd-scripts/playwright-electron.sh b/.github/ci-cd-scripts/playwright-electron.sh index c7d8777c8..f447b5a88 100755 --- a/.github/ci-cd-scripts/playwright-electron.sh +++ b/.github/ci-cd-scripts/playwright-electron.sh @@ -19,7 +19,7 @@ if [[ ! -f "test-results/.last-run.json" ]]; then fi retry=1 -max_retrys=2 +max_retrys=4 # retry failed tests, doing our own retries because using inbuilt playwright retries causes connection issues while [[ $retry -le $max_retrys ]]; do diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index be5c33434..78daa5a1e 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -142,6 +142,7 @@ jobs: with: name: playwright-report-${{ matrix.os }}-snapshot-${{ matrix.shardIndex }}-${{ github.sha }} path: playwright-report/ + include-hidden-files: true retention-days: 30 overwrite: true - name: Clean up test-results @@ -177,6 +178,7 @@ jobs: with: name: playwright-report-${{ matrix.os }}-${{ matrix.shardIndex }}-${{ github.sha }} path: playwright-report/ + include-hidden-files: true retention-days: 30 - uses: actions/download-artifact@v4 if: ${{ !cancelled() && (success() || failure()) }} @@ -207,6 +209,7 @@ jobs: with: name: test-results-${{ matrix.os }}-${{ matrix.shardIndex }}-${{ github.sha }} path: test-results/ + include-hidden-files: true retention-days: 30 overwrite: true - uses: actions/upload-artifact@v4 @@ -214,6 +217,7 @@ jobs: with: name: playwright-report-${{ matrix.os }}-${{ matrix.shardIndex }}-${{ github.sha }} path: playwright-report/ + include-hidden-files: true retention-days: 30 overwrite: true @@ -313,7 +317,7 @@ jobs: if: ${{ !cancelled() && (success() || failure()) }} continue-on-error: true with: - name: test-results-${{ matrix.os }}-${{ github.sha }} + name: test-results-electron-${{ matrix.os }}-${{ github.sha }} path: test-results/ - name: Run electron tests (with retries) id: retry @@ -339,6 +343,7 @@ jobs: with: name: test-results-electron-${{ matrix.os }}-${{ github.sha }} path: test-results/ + include-hidden-files: true retention-days: 30 overwrite: true - uses: actions/upload-artifact@v4 @@ -346,5 +351,6 @@ jobs: with: name: playwright-report-electron-${{ matrix.os }}-${{ github.sha }} path: playwright-report/ + include-hidden-files: true retention-days: 30 overwrite: true