Skip to content

Commit

Permalink
ci: generate playwright report github artifacts for all e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyFriesenGitHub committed Sep 6, 2024
1 parent 6b44d03 commit 5396096
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions .github/workflows/TEST_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,37 @@ jobs:
- name: 🎭 Install Playwright Browsers
run: pnpm i; pnpm playwright install --with-deps

- name: πŸ’€ Run E2E Tests
run: pnpm nx run-many -t e2e -p docs-e2e website-e2e portal-e2e --parallel=false --verbose
- name: πŸ’€ Run Docs E2E Tests
run: pnpm nx run docs-e2e:e2e --reporter=html --verbose

- name: πŸ“„ Upload Artifact
- name: πŸ“„ Upload Docs E2E Playwright Report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
name: playwright-report-docs-e2e
path: playwright-report/**/*
retention-days: 30

- name: πŸ’€ Run Portal E2E Tests
run: pnpm nx run portal-e2e:e2e --reporter=html --verbose

- name: πŸ“„ Upload Portal E2E Playwright Report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report-portal-e2e
path: playwright-report/**/*
retention-days: 30

- name: πŸ’€ Run Website E2E Tests
run: pnpm nx run website-e2e:e2e --reporter=html --verbose

- name: πŸ“„ Upload Website E2E Playwright Report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report-website-e2e
path: playwright-report/**/*
retention-days: 30

- name: πŸ’° Profit
Expand Down

0 comments on commit 5396096

Please sign in to comment.