mini-qr icon indicating copy to clipboard operation
mini-qr copied to clipboard

Add Playwright E2E testing github action

Open lyqht opened this issue 9 months ago • 2 comments

Add Playwright E2E Testing Workflow

This PR adds a GitHub Actions workflow for running Playwright end-to-end tests. The workflow:

  • Runs on pushes to main and pull requests that modify relevant files (source code, tests, config)
  • Sets up Node.js 18 and pnpm 9
  • Installs dependencies and Playwright browsers
  • Updates test snapshots and uploads them as artifacts
  • Uploads Playwright reports when tests fail
  • Includes a 15-minute timeout to prevent hung workflows
  • Uses the latest versions of GitHub Actions (checkout v4, setup-node v4, etc.)

The workflow is configured to only trigger when changes are made to files that could affect the E2E tests, improving CI efficiency.

lyqht avatar Apr 05 '25 13:04 lyqht

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mini-qr-code-generator ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 5, 2025 1:57pm

vercel[bot] avatar Apr 05 '25 13:04 vercel[bot]

This stack of pull requests is managed by Graphite. Learn more about stacking.

lyqht avatar Apr 05 '25 13:04 lyqht