Skip to content

Commit

Permalink
Added GH Summary for E2E tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Jun 23, 2023
1 parent 12a2b61 commit 6ba65a3
Show file tree
Hide file tree
Showing 5 changed files with 5,708 additions and 4,042 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,11 @@ jobs:
${{ github.workspace }}/tests/cypress/screenshots/
${{ github.workspace }}/tests/cypress/videos/
${{ github.workspace }}/tests/cypress/logs/
- name: Update summary
run: |
npx mochawesome-merge ./tests/cypress/reports/*.json -o tests/cypress/reports/mochawesome.json
rm -rf ./tests/cypress/reports/mochawesome-*.json
npx mochawesome-json-to-md -p ./tests/cypress/reports/mochawesome.json -o ./tests/cypress/reports/mochawesome.md
npx mochawesome-report-generator tests/cypress/reports/mochawesome.json -o tests/cypress/reports/
cat ./tests/cypress/reports/mochawesome.md >> $GITHUB_STEP_SUMMARY
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ vendor

tests/cypress/downloads
tests/cypress/screenshots
tests/cypress/videos
tests/cypress/videos
tests/cypress/reports
Loading

0 comments on commit 6ba65a3

Please sign in to comment.