From ccec50bc7c4b1f96bcaeb97a0e95b59a6dee8121 Mon Sep 17 00:00:00 2001 From: Tim Haasdyk Date: Mon, 16 Oct 2023 14:01:20 +0200 Subject: [PATCH] Password protect playwright traces --- .github/workflows/integration-test.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index d4babf1bd..47a0cbf8d 100644 --- a/.github/workflows/integration-test.yaml +++ b/.github/workflows/integration-test.yaml @@ -55,6 +55,10 @@ jobs: env: PLAYWRIGHT_SECRET_1: ${{ secrets.TEST_USER_PASSWORD }} run: pwsh backend/Testing/Browser/mask-playwright-traces.ps1 --traceDir ./bin/playwright-traces + - name: Password protect Playwright traces + env: + ZIP_PASSWORD: ${{ secrets.TEST_USER_PASSWORD }} + run: 7z a ./playwright-traces.7z ./bin/playwright-traces/*.* -p"$ZIP_PASSWORD" - name: Upload test results uses: EnricoMi/publish-unit-test-result-action/composite@v2 if: always() && !env.act @@ -66,4 +70,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: playwright-traces-${{ matrix.os }} - path: ./bin/playwright-traces + path: ./playwright-traces.7z