What problem does it solve?
This Skill automates end-to-end testing for Vercel previews by deploying a preview and executing Playwright tests against a staging environment, ensuring that new changes meet quality gates before going live.
Core Features & Use Cases
- Deploy to a Vercel preview and capture the preview URL.
- Start and coordinate local worker and edge functions for test environments.
- Run Playwright test projects across multiple configurations (chromium variants) and report results.
- Use in CI or local development to validate changes quickly and reliably.
Quick Start
Deploy a Vercel preview, then run the full Playwright suite against the preview URL.
- npx vercel
- Use a captured PREVIEW_URL with:
- cross-env PLAYWRIGHT_BASE_URL="<preview-url>" npx playwright test --project=chromium --project=chromium-clean --project=chromium-admin --project=chromium-with-worker --project=chromium-with-edge-functions --retries=2