Skip to content

E2E Tests

E2E Tests #16693

Workflow file for this run

name: E2E Tests
on: [deployment_status]
jobs:
test:
if: github.event.deployment_status.state == 'success' && github.event.deployment.environment == 'preview' && github.event.sender.id == 35613825
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
- name: Install npm@8
run: npm install --global npm@8
- name: Install dependencies
run: npm ci
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npm run test:e2e
env:
E2E_BASE_URL: ${{ github.event.deployment_status.target_url }}
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30