Skip to content

Commit

Permalink
Merge pull request #29 from currents-dev/feat/multiple-reporters-example
Browse files Browse the repository at this point in the history
[CSR-1446] feat: added blob report and merge
  • Loading branch information
miguelangaranocurrents authored Aug 20, 2024
2 parents 88367a8 + 9152232 commit 58bddc4
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 25 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/test-or8n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,12 @@ jobs:
CURRENTS_RECORD_KEY: ${{ secrets.CURRENTS_RECORD_KEY }}
CURRENTS_CI_BUILD_ID: reporter-${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }}
COMMIT_INFO_MESSAGE: "pwc-p: ${{ github.event.head_commit.message }}"
PWTEST_BLOB_DO_NOT_REMOVE: 1 # Add the env variable to not remove test blobs
# Add the blob reporter in the execution command
run: |
npx pwc-p
npx pwc-p --reporter blob
# Generate a report based on the blob with the merge-report command
- name: Generate HTML report from blob
run: |
npx playwright merge-reports --reporter=html ./blob-report
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@playwright/test": "^1.46.0",
"@playwright/test": "1.46.1",
"@types/express": "^4.17.13",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
Expand Down

0 comments on commit 58bddc4

Please sign in to comment.