Skip to content

E2E Test

E2E Test #1341

Workflow file for this run

name: E2E Test
on:
deployment_status:
jobs:
e2e-test:
name: Playwright
runs-on: ubuntu-latest
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Install Playwright Dependencies
run: pnpm playwright install --with-deps
- name: Print BASE_URL
run: echo Running on ${{ github.event.deployment_status.target_url }}
- name: Run Playwright Test
run: pnpm test:e2e
env:
BASE_URL: ${{ github.event.deployment_status.target_url }}