Skip to content

End-to-end Testing #369

End-to-end Testing

End-to-end Testing #369

Workflow file for this run

name: End-to-end Testing
on:
workflow_run:
workflows: ['pages-build-deployment']
types:
- completed
permissions:
contents: write
jobs:
run-e2e-testing:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node environment
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Tests
run: npx playwright test --reporter=html
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30