playwright-test
Installation
SKILL.md
Playwright Testing Skill
End-to-end testing patterns with Playwright for Astro 5.16 + React 19 projects.
Project Context
- Framework: Check your project configuration for framework versions
- Testing: Playwright E2E testing
- Runtime: Dev server management (PM2 if available in Coder, check coder-environment skill)
- Headless mode: Tests run headless by default; check workspace for headed mode support
- Test utilities: Check your project for available test helpers
- Artifacts: Traces, videos, and screenshots saved to
test-results/on failure
Base URL Configuration
CRITICAL: Base URLs should be configured in the Playwright config file(s), never in test files.
Ideally, the base URL is set via use.baseURL in the config file, which may read from environment variables.