Skip to content

Commit

Permalink
Fix generate raport name before run tests in workflow (#5347)
Browse files Browse the repository at this point in the history
* Generate raport name before run tests

* Add changeset
  • Loading branch information
poulch committed Jan 10, 2025
1 parent 0be566e commit 752b988
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tender-boxes-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---

Playwright tests raport is generated even test failed
2 changes: 1 addition & 1 deletion .github/actions/run-pw-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ runs:
for PROJECT in "${PROJECTS[@]}"; do
PROJECT_PARAMS+="--project=${PROJECT} "
done
npx playwright test --grep @e2e $PROJECT_PARAMS --shard "$SHARD_NUMBER"
echo "reportName=all-blob-reports-${SHARD_NUMBER%%/*}" >> $GITHUB_ENV
npx playwright test --grep @e2e $PROJECT_PARAMS --shard "$SHARD_NUMBER"
- name: Upload blob report to GitHub Actions Artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 752b988

Please sign in to comment.