Skip to content

Commit

Permalink
Password protect playwright traces
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Oct 16, 2023
1 parent d2fd12a commit ccec50b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -66,4 +70,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: playwright-traces-${{ matrix.os }}
path: ./bin/playwright-traces
path: ./playwright-traces.7z

0 comments on commit ccec50b

Please sign in to comment.