Skip to content

Add Playwright test for project creation workflow #533

Add Playwright test for project creation workflow

Add Playwright test for project creation workflow #533

name: 🧪 PR Tests Frontend
on:
pull_request:
branches:
- main
- staging
- development
# Workflow is triggered only if src/frontend changes
paths:
- src/frontend/**
# Allow manual trigger (workflow_dispatch)
workflow_dispatch:
jobs:
unit-tests:
uses: hotosm/gh-workflows/.github/workflows/test_pnpm.yml@1.6.0
with:
working_dir: src/frontend
e2e-tests:
uses: hotosm/gh-workflows/.github/workflows/test_pnpm.yml@main
with:
container_config: '{"image": "mcr.microsoft.com/playwright:v1.45.1"}'
working_dir: src/frontend
run_command: "test:e2e"