Add Playwright test for project creation workflow #535
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@2.0.0 | ||
with: | ||
working_dir: src/frontend | ||
e2e-tests: | ||
uses: hotosm/gh-workflows/.github/workflows/test_compose.yml@2.0.0 | ||
Check failure on line 22 in .github/workflows/pr_test_frontend.yml GitHub Actions / 🧪 PR Tests FrontendInvalid workflow file
|
||
with: | ||
image_name: mcr.microsoft.com/playwright:v1.44.1 | ||
build_img: false | ||
compose_file: docker-compose.yml -f contrib/playwright/docker-compose.yml | ||
compose_service: ui-test | ||
cache_extra_imgs: | | ||
"docker.io/postgis/postgis:${{ vars.POSTGIS_TAG }}" | ||
"docker.io/minio/minio:${{ vars.MINIO_TAG }}" | ||
secrets: inherit |